java中添加证书
echo | openssl s_client -connect smtp.exmail.qq.com:465 2>/dev/null | openssl x509 > exmail.cert ./keytool -importcert -noprompt -trustcacerts -alias exmail -file ~/exmail.cert -keystore ~/mykeystore ./keytool -importkeystore -srckeystore ~/mykeystore -destkeystore /usr/java/latest/jre/lib/security/cacerts systemctl restart java_service