Examples of CertificateInstaller


Examples of railo.runtime.net.http.CertificateInstaller

   
    public static void updateSSLCertificate(Config config,String host, int port) throws PageException {
      Resource cacerts=config.getSecurityDirectory();
      
      try {
      CertificateInstaller installer = new CertificateInstaller(cacerts,host,port);
      installer.installAll();
    } catch (Exception e) {
      throw Caster.toPageException(e);
    }
    }
View Full Code Here

Examples of railo.runtime.net.http.CertificateInstaller

      pageContext.setVariable(getString("admin",action,"returnVariable"),getSSLCertificate(config,host,port));
    }
   
    public static Query getSSLCertificate(Config config,String host, int port) throws PageException {
      Resource cacerts=config.getSecurityDirectory();
      CertificateInstaller installer;
    try {
      installer = new CertificateInstaller(cacerts,host,port);
    } catch (Exception e) {
      throw Caster.toPageException(e);
    }
      X509Certificate[] certs = installer.getCertificates();
      X509Certificate cert;
     
      Query qry=new QueryImpl(new String[]{"subject","issuer"},certs.length,"certificates");
      for(int i=0;i<certs.length;i++){
        cert=certs[i];
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.