Generate valid SSL file to use on Tomcat

0

I received from the SECNET certifier an SSL certificate www_meusite_com_br.crt created by COMODO and together in this zip came another file named www_meusite_com_br.ca-bundle. I have tried every way to use this certificate and nothing works, I already generated .jks file, .keystore .p12 and none works. I used the following settings in tomcat:

<Connector port="443" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" proxy="443"disableUploadTimeout="true" acceptCount="100" scheme="https" secure="true" SSLEnabled="true" clientAuth="false" sslProtocol="TLS" keyAlias="root" keystoreFile="/conf/www_meusite_com_br.p12" keystoreType="PKCS12" keystorePass="1234567" />

I've also changed my NAT to point to HTTPS

Aswellasmyproxytoo

Whencreatingthe.crtfilenexttothevendorIusedaCSRgeneratortoolwhichprovidedmewithakeyandIuseditalongwithfillinginthecompanydata,thensentmethefilecrt....

WhatshouldIdo?NothingItriedworkedout!I'musingtomcat9

Inthistutorial link tells you to run the following command

  

keytool -import -trustcacerts -alias server -file www_meusite_com_br.p7b   -keystore www_meusite_com_br.jks

But the error reported is an exception of the FileNotFound java in the p7b file ... This was already expected because I do not have this file -p7b nor .jks!

    
asked by anonymous 25.09.2018 / 14:09

0 answers