我只想更改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)