Troubleshooting
Problem
When trying to import an SSL certificate into a Java keystore, the following error is encountered:
Keytool error: java.lang.Exception: Certificate not imported, alias <mykey> already exists
Symptom
C:\work>keytool -importcert -file uat_slc_cm02.cert -keystore C:\work\.keystore
Picked up _JAVA_OPTIONS: -Xmx512M
Enter keystore password:
keytool error: java.lang.Exception: Certificate not imported, alias <mykey> already exists
C:\work>
Picked up _JAVA_OPTIONS: -Xmx512M
Enter keystore password:
keytool error: java.lang.Exception: Certificate not imported, alias <mykey> already exists
C:\work>
Document Location
Worldwide
[{"Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVRDQ","label":"Informix JDBC"},"ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
10 November 2020
UID
ibm16366079