When launching a slave agent from a slave machine using the \"Launch agent from browser on slave\" option, it fails. It opens a window for slave-agent.jnlp and when opened with
After installing the Jenkins slave as a service, go to the configured "Remote root directory" on your slave, open the jenkins-slave.xml
file in a text editor, add -noCertificateCheck
to the end of the <arguments>
tag, and restart the service. That should get rid of the certificate exception.
First, from the control panel select "Java". Select "Advanced" tab. Extend "Security". Ensure "Enable online certificate validation", and "Enable online certificate validation for publisher certificate only" are unchecked.
Then run the JNLP file. You need to create the Jenkins root directory if it does not exist.
Finally, follow @sschuberth's answer.