I am trying to register a corporate certificate for https connection in OpenJDK
I ran the following command in OpenJDK
verion 8. It asked me to enter in the password. The default password for Oracle JDK is "changeit", but it doesn't work with OpenJDK
I have tried to use the password changeit
but it didn't work.
OpenJDK 8:
D:\java8\bin\keytool.exe -keystore "D:\java8\jre\lib\security\cacerts" -importcert -alias sds -file C:\Users\SDS\SDS.crt
OpenJDK version 11:
D:\jdk-11.0.2\lib\security>D:\jdk-11.0.2\bin\keytool.exe -keystore D:\jdk-11.0.2\lib\security\cacerts -importcert -alias sds -file C:\Users\SDS\SDS.crt
OpenJDK 8 :
keytool 오류: java.io.IOException: Keystore was tampered with, or password was incorrect
OpenJDK version 11, the same problem occurs:
Warning: use -cacerts option to access cacerts keystore
Enter keystore password:
keytool error: java.io.IOException: Keystore was tampered with, or password was
changeit
to heart and changed it. You might be able to find the password in the configuration/properties file of any installed Java supporting web server. – Witch