Package org.fao.geonet.exceptions

Examples of org.fao.geonet.exceptions.BadServerCertificateEx


      req.setMethod(XmlRequest.Method.GET);
      Lib.net.setupProxy(context, req);

      xml = req.execute();
    } catch (SSLHandshakeException e) {
      throw new BadServerCertificateEx(
        "Most likely cause: The thredds catalog "+url+" does not have a "+
        "valid certificate. If you feel this is because the server may be "+
        "using a test certificate rather than a certificate from a well "+
        "known certification authority, then you can add this certificate "+
        "to the GeoNetwork keystore using bin/installCert");
View Full Code Here

TOP

Related Classes of org.fao.geonet.exceptions.BadServerCertificateEx

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.