On Sat, Nov 23, 2013 at 03:55:44PM +0200, Marius Gedminas wrote: > 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. ... > I tried running the script from https://github.com/haron/startssl-java > in case my manual SSL cert installation procedure was wrong. > > Nothing worked.
Turns out the script from the startssl-java repository looked for the system CA cert keystore in the wrong place. Once I fixed it and ran it again (protip: don't run ./run.bat from Git Bash, it'll get interpreted as a Bourne shell script, and fail to work), my Jenkins service startup problem went away. https://github.com/haron/startssl-java/pull/1 Marius Gedminas -- Two Ineluctable Facts of Project Planning: 1. If you don’t know what you’re going to build, you can’t know how long it will take to build it. 2. You only really know what you’re going to build when you finish it.
signature.asc
Description: Digital signature
