I have a CSR file generated by tomcat and I want to create a certificate. can you help me?
posted 15 years ago
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>