# Tutorials

# Jenkins local

# Jenkins PVE

## Import into JVM keystore

# Import certificate openssl s_client -showcerts -connect https://dvsdnet2.devoteam.de\ < /dev/null 2> /dev/null | openssl x509 -outform PEM > ~/root_ca.pem

# Duplicate Java Keystore file and move into Jenkins… mkdir $JENKINS_HOME/keystore/ cp $JAVA_HOME/jre/lib/security/cacerts $JENKINS_HOME/keystore/

# Add Certificate to Keystore keytool -import -alias $ALIAS -keystore $JENKINS_HOME/keystore/cacerts -file ~/root_ca.pem

# Add -Djavax.net.ssl.trustStore=$JENKINS_HOME/keystore/cacerts to the # Jenkins startup parameters. For Debian/Ubuntu, this is /etc/default/jenkins echo 'JAVA_ARGS="$JAVA_ARGS -Djavax.net.ssl.trustStore=$JENKINS_HOME/keystore/cacerts"'\

/etc/default/jenkins

sudo service jenkins restart