Apache tomcat 9x的SSL / TLS问题

时间:2019-03-26 16:06:36

标签: openssl

为Apache tomcat 9x创建的自签名证书。它只能通过本地或远程PC上的Web浏览器工作。

首先,我在Server1上安装了带有webdav目录的Apache tomcat 9x。已创建SSL自签名证书。安装在tomcat 9x上。通过浏览器可以正常工作。 其次,我有一台装有AMDS(Affymetrix分子诊断软件)的计算机。我可以在此PC上安装.p12证书,但是在此PC上安装ASM软件的过程中,我看到错误:基础连接已关闭:无法建立SSL / TLS安全通道的信任关系。

使用OpenSSL

openssl req -newkey rsa:4096 -nodes -keyout key.pem -x509 -days 356 -sha256 -out certificate.pem
openssl x509 -text -noout -in certificate.pem
openssl pkcs12 -inkey key.pem -in certificate.pem -export -out certificate.p12
openssl pkcs12 -in certificate.p12 -noout -info

0 个答案:

没有答案