I developed a key management module to create keystore, import certificate and generate CSR by using keytool instead of using the openssl and keytool software to do this. The reason i do this is because i need to keep some of the information, for example; keystore name, certificate expiry date, alias and etc in the database. I develop the module by using the java keytool API. So, would like to check is there any different to import a certificate in PEM or CER/DER/CRT into the keystore to make sure it can be use by our application. There are two type of certificate that we going to import into two different keystore; client certificate using by the application to establish connection to external application and server certifcate which will be used by apache web server
Main Topics
Browse All Topics





by: JimUPosted on 2009-11-07 at 18:02:45ID: 25769075
Use PEM format (which is text based).
Note that CER/DER and probably CERT are all the same thing (binary encoded ASN.1 data).