我如何能打动我的SSL证书从Tomcat到Apache [英] How can I move my SSL cert from Tomcat to Apache
问题描述
我从一个Tomcat实例,只动我的网站到Apache HTTD /的Apache Tomcat安装。我试图建立与apache httpd的mod_ssl的使用ssl。但我不知道该怎么对我的tomcat keystoreFile / keystorePass转换为apache httpd的了SSLCertificateFile /了SSLCertificateKeyFile格式。我浇过OpenSSL手册页,没有运气。我运行的网站上的Fedora 13有什么建议?
I am moving my site from a tomcat only instance to an apache httd/ apache tomcat setup. 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?
推荐答案
使用了Java 密钥工具-importkeystore
实用程序将JKS格式的密钥存储文件转换为标准PKCS#12的格式。然后使用OpenSSL的PKCS#12文件,你需要的任何格式转换。你可以看到在<完整详细信息href=\"http://stackoverflow.com/questions/652916/converting-a-java-keystore-into-pem-format/656559#656559\">this回答以重复的问题。
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.
这篇关于我如何能打动我的SSL证书从Tomcat到Apache的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!