Try below steps Choose a single format and start the uploading process. If you choose PEM, follow the steps mentioned in Scenario 1 or directly move to Scenario 2 if you have selected the PKCS#7 format. Scenario1 Step1: Import the Root and Intermediate Certificates (CA bundle) by using the command given below: keytool -import -trustcacerts -alias ca -file file.ca-bundle -keystore mykeystore.jks Note: The alias name and keystore alias names should not be the same. Step 2: Utilize the below-written code to upload the files after importing the SSL certificate: keytool -import -trustcacerts -alias myalias -file file.crt -keystore mykeystore.jks Note: The alias and keystore alias names should be the same. Scenario2: Step 1: Use the command given below to upload every single file in one go: keytool -import -trustcacerts -alias myalias -file file.p7b -keystore mykeystore.jks The alias attribute must match the alias set for your keystore. Note: You will be prompted to enter the keystore password and ensure that the attribute – myalias, matches the alias set for your keystore. (If you have doubts, use this command: “keytool -list -v -keystore mykeystore.jks” to see the alias name.) Check this one https://cheapsslweb.com/resources/how-to-install-an-ssl-certificate-on-glassfish if you still facing the issues
... View more