I'm trying to set up a Jenkins slave on Windows 2012. I can launch the
slave agent using Java Web Start fine, but it fails to work when
installed as a service.
The problem shows up in c:\buildslave\jenkins-slave.err.log:
Failed to validate a server certificate. If you are using a
self-signed certificate, you can use the -noCertificateCheck option to
bypass this check.
-- full log at
https://dpaste.de/dMtE
This is probably caused by Oracle not shipping StartSSL CA certs. So
what I did was launch the Java control panel, find the certificates, and
install the StartSSL ones as user certificates (all five of them, twice:
once in the "Signer CA" list, and once in the "Secure Site CA" list).
This had one effect: when I use Java Web Start, it no longer shows a SSL
certificate trust dialog. Unfortunately it didn't affect the service.
I tried changing the service to run as my user account.
I tried running the script from
https://github.com/haron/startssl-java
in case my manual SSL cert installation procedure was wrong.
Nothing worked.
Help?
Marius Gedminas
--
I can barely exit nano.
-- Christian Neukirchen