Keytool -import -trustcacerts -alias ca -file file.ca-bundle -keystore mykeystore. The CA bundle can be imported with this command: ca-bundle file, you can download it from your account. Importing the certificate files in PEM requires first importing the CA certificates (.ca-bundle file), and then importing the certificate itself. You can review the alias with this command: keytool -list -v -keystore mykeystore.jksīelow is a screenshot of an example import: The myalias value should be the same alias that was initially set for the keystore. You will be prompted to enter the keystore password that was set when creating the keystore. Keytool -import -trustcacerts -alias myalias -file file.p7b -keystore mykeystore. Importing the certificate in PKCS#7 is done with a single command: It is sufficient to import the certificate in only one of the following formats. The certificate files should be uploaded to your server so they can be imported into the keystore. cer) since this process is simpler however, they can be imported in PEM as well. We recommend importing the certificate files in PKCS#7 format (.p7b /. ca-bundle files), and in the PKCS#7 format (.p7b). zip archive downloaded from your account will contain your certificate and CA bundle in PEM format (.crt and. If you cannot retrieve the keystore, the certificate will need to be reissued with a new keystore.Ĭertificate files can be downloaded from your account or retrieved from the email sent by Comodo ( now Sectigo). This keystore is the only one that contains the private key for your certificate. For this, you will need to locate the keystore that was used to generate the CSR. jks files), the certificate files need to be imported into the keystore with the corresponding private key before installation. After your certificate is activated and issued, you can proceed with its installation on GlassFish.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |