Mais

Java

Installing SSL Certificate: Java Based (Tomcat) Web Servers
  1. Import Root Certificate
    -> keytool -import -trustcacerts -alias AddTrustExternalCARoot -file AddTrustExternalCARoot.crt -keystore domain.keystore
  2. Import Intermediate(s)
    -> keytool -import -trustcacerts -alias UTNAddTrust -file UTNAddTrustSGCCA.crt -keystore domain.keystore Note: Depending on the type of certificate that was purchased, there may be more than one Intermediate certificate in the chain of trust. Please install all intermediates in numberical order until you get to the domain/end entity certificate.
  3. Import Entity/Domain certificate
    -> keytool -import -trustcacerts -alias yyy -file yourDomainName.crt -keystore domain.keystore Note: If no alias was specified upon creation of the CSR then please use the alias of mykey.
    Note: Tomcat will first need a SSL Connector configured before it can accept secure connections.

    Tomcat will first need a SSL Connector configured before it can accept secure connections.
  4. Restart the Web Server Service.