SSL certificate error in Tomcat: ERR_CERT_AUTHORITY_INVALID

0

Good morning, cordial greeting.

Again I use this medium (as I always do when "I can not find any more solution") to present a problem I am having when installing an SSL certificate on the tomcat server.

I bought a few days ago an SSL certificate on the Comodo platform which sent me 4 compressed files in a .zip.

  • AddTrustExternalCARoot.crt
  • COMODORSAAdtrustCA.crt
  • COMODORSADomainValidationSecureServerCA.crt
  • www_mydomain_com.crt
  • I have added the four certificates mentioned above to the keystore with which I created the CSR code and finally this is the code that I have placed in the server.xml file:

    <Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
               maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" alias="mialias" 
        keystoreFile="/conf/mikeystore" 
        keystorePass="micontrasena"/>
    

    However, I still receive from the browsers that the certificate is not reliable. It should be noted that on previous occasions I had a time my domain linked with cloudflare which worked perfectly until I decided to acquire a certificate with different provider.

    I thank in advance who can help me with this problem because it is for a server in production which I could not restore your service for the problem presented.

        
    asked by Jesus Escorcia 20.09.2018 в 09:21
    source

    0 answers