我只想更改 Tomcat SSL 证书。在 GoDaddy 上发布。我们运行这些命令:
keytool -import -alias root -keystore gvia.keystore -trustcacerts -file gdroot-g2.crt
keytool -import -alias intermed -keystore gvia.keystore -trustcacerts -file gdig2.crt
keytool -import -alias tomcat -keystore gvia.keystore -trustcacerts -file gvia.cert
很正常,我更改了 server.xml 并添加:
<Connector
port="8443" maxThreads="200"
scheme="https" secure="true" SSLEnabled="true"
keystoreFile="/home/gv14pr0d/ssl_helper/2019/gvia.keystore" keystorePass="*****"
clientAuth="false" sslProtocol="TLS" />
我重新启动服务器并在浏览器上得到:
no common encryption algorithm(s). (Error code: ssl_error_no_cypher_overlap)
我们只是按照面板的说明进行操作。
版本:
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-b04)
OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)