Two Laptop Bag
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Creat a certificate for tomcat with a file CSR
 
Similar Threads
Self Signed CA Certificate with Keytool and Client Certificate with BouncyCastle
problem with nokia develkoper's suit
keytool - import CA reply certificate error
new keystore old certificate
weblogic 8.1 SSL configuration.