My question is whether it is possible to add SSL to a Windows Server with Tomcat 7 installed using only a .cer file.
I have a client that uses SSL in your applications with ISS and whenever you need to install SSL on your ISS server only install this .cer file: But as I did an application with Tomcat for it and I need to protect that application with HTTPS I asked for a certificate and it I sent this .cer file.
I have already tried to generate the .JKS file and add it to Tomcat in some ways and with none I was successful. Ex:
keytool -import -alias root -keystore example.jks -trustcacerts -file certificate.cer
With this I generate the jks file and map it to tomcat and it happens that it does not work. I know the Tomcat settings are fine because I did a test generating the file using genkey which returns me a .keystore file and with that it works.
Edit:
Connector in server.xml:
    <Connector
       protocol="org.apache.coyote.http11.Http11NioProtocol"
       port="443" 
       maxThreads="200"
       scheme="https" 
       secure="true" 
       SSLEnabled="true"
       keystoreFile="C:/path/example.jks" 
       keystorePass="password"
       clientAuth="false"
       sslProtocol="TLS"
       keyAlias="root" />
Should I request this certificate in another format?
Has anyone gone through this and can you give me some hint at least?
Thank you.
 
    