I try to equip some corporate JDKs with certificates. For Java 8 it was done like this:
keytool -importcert -file cert.pem -keystore cacerts -storepass changeit -noprompt -alias alias
When I do this with Java 11 it is still working, but I get a warning:
Warnung: Verwenden Sie die Option -cacerts für den Zugriff auf den cacerts Keystore
Translation: Warning: Use the option -cacerts für access to cacerts keystore
But I don't know what to do with -cacerts option.
Just replace -keystore cacerts
with -cacerts
to avoid this warning. More info.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With