Hi Patricia, Your master run on which os ?
Your batch file in the slave should run as administrator !! The slave Configuration on Jenkins: [cid:image002.png@01D004C9.F5D99780] Check if you are admin: echo off echo USERNAME: %USERNAME% NET FILE 1>NUL 2>NUL echo %ERRORLEVEL% IF %ERRORLEVEL% EQU 0 ( ECHO this script run as Administrator ) ELSE ( ECHO this script run as NO Administrator.!!!!!! ) AT > NUL IF %ERRORLEVEL% EQU 0 ( ECHO this script run as Administrator ) ELSE ( ECHO this script run as NO Administrator.!!!!!! ) BR Yossi From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Patricia Mendez Lorenzo Sent: Thursday 20 November 2014 11:38 To: jenkinsci-users@googlegroups.com Subject: Re: Adding Windows slaves to Jenkins Hi Yossi, I've already followed all instructions included in the link you sent me and they do not work. The problem has appeared after the following actions: 1. We've installed a SSO front-end for login purposes into the master 2. We've passed to a https protocol for the master 3. We've intalled a trusted certificate also in the master After these 3 actions, no way to restart the windows slaves and I do not know which one is making the mess and providing this IOException. wget works, i can get the slave.jnlp file, the http address works... but this jnlp file is creating a exception where it was not triggered before these 3 actions. Thanks so much, BR Patricia El miércoles, 19 de noviembre de 2014 15:54:19 UTC+1, Brosh, Yossi escribió: Hi Patricia, First step: read: Unable to start Jenkins Service in Windows 7 Slave machine<https://issues.jenkins-ci.org/browse/JENKINS-12820> https://issues.jenkins-ci.org/browse/JENKINS-12820 BR Yossi From: jenkins...@googlegroups.com<javascript:> [mailto:jenkins...@googlegroups.com<javascript:>] On Behalf Of Patricia Mendez Lorenzo Sent: Tuesday 18 November 2014 13:28 To: jenkins...@googlegroups.com<javascript:> Subject: Adding Windows slaves to Jenkins Hello all, just arriving to this forum, nice to be here. I have a quetion, maybe you can help me. I am trying to add a windows slave to my jenkins instance. I am following the instructions included in "Launch Java Web Start slave agent via Windows Scheduler". The master node has a proper SSL certificate, however when lauching the command: java -jar slave.jar -jnlpUrl https://<master_node>:443/computer/<slave_windows_hostname>/slave-agent.jnlp<https://%3cmaster_node%3e:443/computer/%3cslave_windows_hostname%3e/slave-agent.jnlp> -secret <long_hex_string> (executed inside the windows slave) it tells me: Exception in thread "main" javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative DNS name matching <master server name> found would you have an indea about what's going worng and how to solve this issue? Thanks so much! Best Patricia -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com<javascript:>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.