# Convert it into pkcs12 format openssl pkcs12 -export -out jenkins.p12 -inkey certificate.key -in certificate.crt -name "jenkins-cert" # Create keystore if not exist https://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html # Import keytool -importkeystore -srckeystore jenkins.p12 -srcstoretype pkcs12 -destkeystore keystore.jks