aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Creat a certificate for tomcat with a file CSR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Creat a certificate for tomcat with a file CSR" Watch "Creat a certificate for tomcat with a file CSR" New topic
Author

Creat a certificate for tomcat with a file CSR

Afranio
Greenhorn

Joined: Jul 31, 2002
Posts: 3
I have a CSR file generated by tomcat and I want to create a certificate. can you help me?
Juanjo Bazan
Ranch Hand

Joined: Feb 04, 2002
Posts: 231
A csr file is created to obtain a certificate from a Certificate Authority like verisign.com or thawte.com.
So once you have your certreq.csr you have to buy your external certification and submit the csr file to the Certificate Authority. The submit process depends on the authority you choose and should consult their website.
From your Certificate Authority you will get:
.- A Root Certificate you have to import into you keystore with:
keytool -import -alias root -keystore <your_keystore_filename> -trustcacerts -file <root_cert_name>
.- And your new Certificate, you import with:
keytool -import -alias tomcat -keystore <your_keystore_filename> -trustcacerts -file <your_certificate_filename>

HTH
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creat a certificate for tomcat with a file CSR