I am unable to correctly configure Jenkins to use a StartSSL certificate. I\'m running it with command line arguments that specify paths to the private key and my certificate as
I had a similar problem and after some research what got everything to be trusted was :
Merged the intermediate authority certificate and
into 1 unified certificate called merged.cer
using the link you mentioned
(From: https://serverfault.com/questions/569866/jenkins-wont-serve-with-ca-signed-certificate)
openssl pkcs12 -inkey /location/to/key.pem -in /location/to/merged.cer -export -out keys.pkcs12
keytool -importkeystore -srckeystore keys.pkcs12 -srcstoretype pkcs12 -destkeystore jenkins.jks
NOTE: the key to use for the merged.cer
should be the same as
Then follow the Jenkins Wiki to use the KeyStore instead of the certificate
java -jar jenkins.war --httpPort=-1 --httpsPort=8080 --httpsKeyStore=/path/to/jenkins.jks --httpsPrivateKey=