开发者

How can I move my SSL cert from Tomcat to Apache

开发者 https://www.devze.com 2023-01-18 16:57 出处:网络
I am moving my site from a tomcat only instance to an apache httd/ apache tomcat setu开发者_开发百科p.I\'m trying to set up the ssl with mod_ssl on apache httpd.But I don\'t know how to convert my tom

I am moving my site from a tomcat only instance to an apache httd/ apache tomcat setu开发者_开发百科p. I'm trying to set up the ssl with mod_ssl on apache httpd. But I don't know how to convert my tomcat keystoreFile/keystorePass to the apache httpd SSLCertificateFile/SSLCertificateKeyFile format. I am pouring over the openssl man pages with no luck. I am running the site on Fedora 13. Any suggestions?


Use the Java keytool -importkeystore utility to convert the "JKS" format key store file to a standard "PKCS #12" format. Then use OpenSSL to convert the PKCS #12 file to whatever format you require. You can see full details in this answer to a duplicate question.

0

精彩评论

暂无评论...
验证码 换一张
取 消