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.