Skip to content

JDK

Install

Install Java using SDKMAN with the following command:

sdk install java 21.0.2-tem

Configuration

Certificates

To list the certificates in the keystore, use the following command:

keytool -list -keystore [keystore] -storepass [storepass]

To add a certificate to the keystore, use the following command:

keytool -import -alias [alias] -keystore [keystore] \ 
        -storepass [storepass] -file [certificate]
Back to top