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
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.