File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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
 
Don't get me started about those stupid light bulbs.
 
subject: Creat a certificate for tomcat with a file CSR
 
Similar Threads
new keystore old certificate
weblogic 8.1 SSL configuration.
Self Signed CA Certificate with Keytool and Client Certificate with BouncyCastle
problem with nokia develkoper's suit
keytool - import CA reply certificate error