简体   繁体   中英

SSL implementation in tomcat gives message as Server's certificate is not trusted

I am doing following settings in server.xml in tomcat 6.0.26 and my url is opening with the following message "Server's certificate is not trusted","The site's security certificate is not trusted!" in chrome and "This Connection is Untrusted" in firefox .

<Connector port="8443" maxThreads="200"
           scheme="https" secure="true" SSLEnabled="true"
           SSLCertificateFile="/home/hcl/10.10.105.76.crt" 
           SSLCertificateKeyFile="/home/hcl/keystore.jks"
           SSLCertificateChainFile="/home/hcl/ThawteServerCA.pem"
           SSLPassword="changeitssl"       
           keystoreFile="/home/hcl/keystore.jks" keystorePass="changeitssl"
       keyAlias="10.10.105.76"
       socketFactory="org.apache.tomcat.net.SSLSocketFactory"
           clientAuth="false" SSLProtocol="TLS"/>

How do i make SSL site using self signed and trusted certificates ?

What are the proper steps to create SSL enabled website in java-tomcat-jboss without prompting any certificate message ?

Basically you cannot make a self-signed SSL-certificate that is deemed trusted.

You can get free SSL-certificates though, that are trusted.

You can get one at: http://cert.startcom.org

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM