Hi Kernel,

I think you have create a keystore from the cert, please follow these
instruction and ket me know.

Create store with temporary key inside:

keytool -genkey -alias <alias name> -keystore yourkeystore.jks -storepass
Hello1
Then delete existing entry:

keytool -delete -alias temp -keystore yourkeystore.jks -storepass Hello1
Now you've got empty store. You can check that it's empty:

keytool -list -keystore yourkeystore.jks -storepass Hello1
Then import your certificate to the store:

keytool -import -alias <alias name>  -file cert_file.crt -keypass keypass
-keystore yourkeystore.jks -storepass Hello1


Thanks
Niranjan


On Mon, Nov 24, 2014 at 10:13 AM, Kernel freak <kernelfr...@gmail.com>
wrote:

> Hello friends,
>
> I am using apache tomcat and I would like to deploy a Spring-MVC
> application which I am working on. In that, via Spring-Security I have
> specified to use https which requires to install the SSL certificate on the
> server.
> I am running a Debian Wheezy server, and I have certificate files with
> extension as .crt and .ca-bundle. Unfortunately I cannot find any resources
> which mention where and how to install these files. What I found was these
> files are meant for webserver. Is that correct? If yes, can I use them to
> deploy these 2 files? Kindly let me know. Also if anyone can help me with
> one more problem I have posted on StackOverflow  :
>
> http://stackoverflow.com/questions/27106983/configuring-apache-tomcat-to-start-webapp-by-default
>
> Regards,
> Kernel
>



-- 
*Thanks*
*Niranjan*
*+1 781.956.6900*

Reply via email to