java - Tomcat certificate issue pfx file -
i want run tomcat https, there certificate issues.
what did: creating keystore self signed key paor und set connector port in tomcat keystore => works fine.
but want use trusted certificate. i've got pfx file including private key , password. converted pfx jks keystore command:
keytool -importkeystore -srckeystore mypfxfile.pfx -srcstoretype pkcs12 -destkeystore clientcert.jks -deststoretype jks
command line says "import 1 file successfully. 0 errors". added necessary trusted files, connected pfx certificate, cacerts keystore.
but don't https connection.
what tried: add trusted certificates same keystore contains converted pfx file. of course set truststore parameters in tomcat connector keystore, did not help.
has idea? there way more information why don't connection?
i got solution. keystore password , private key password have same! if not, tomcat can't private key because knows keystore password.
Comments
Post a Comment