tomcat: http://blog.csdn.net/buyaore_wo/article/details/5771470

apache: http://blog.mowd.tw/index.php?pl=950

Nginx: http://blog.nicky1605.com/the-free-ssl-configuration-startssl-on-nginx.html

 

简要:

apache:

SSLCertificateFile /etc/pki/tls/certs/ssl.crt 
SSLCertificateKeyFile /etc/pki/tls/private/ssl.key 
SSLCertificateChainFile /etc/pki/tls/sub.class1.server.ca.pem 
SSLCACertificateFile /etc/pki/tls /ca.pem

 

tomcat:

选Create PFX file。。。。。。。。。

输入之前保存的两个密文信息及密码

    <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
               maxThreads="150" scheme="https" secure="true"
               keystoreFile="证书路径 " keystorePass="密码  keystoreType="PKCS12" 
               clientAuth="false" sslProtocol="TLS" />

 

Nginx:

 listen       443;
 ssl    on;
 ssl_certificate    /usr/local/nginx/conf/Startssl.crt;   #你从StartSSL下载证书放的路径
 ssl_certificate_key     /usr/local/nginx/conf/nicky1605.key;  #openssl生成key路径
 ssl_session_timeout 5m;

相关文章:

  • 2022-01-16
  • 2021-08-25
  • 2021-06-07
  • 2022-02-14
  • 2022-01-12
  • 2021-07-30
  • 2022-12-23
猜你喜欢
  • 2021-08-20
  • 2022-01-06
  • 2022-12-23
  • 2021-06-04
  • 2021-12-03
  • 2021-11-10
  • 2021-05-05
相关资源
相似解决方案