java -jar slave.jar -jnlpUrl https://<master_node>:443/computer/<slave_windows_hostname>/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?
Hi Patricia,
Does this help? https://issues.jenkins-ci.org/browse/JENKINS-12629 There’s a few suggestions on that page, including using the –noCertificateCheck option.
Terry
--
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.
For more options, visit https://groups.google.com/d/optout.
java -jar slave.jar -jnlpUrl https://<master_node>:443/computer/<slave_windows_hostname>/slave-agent.jnlp -secret <long_hex_string>
the <master_node> string was missing the domain, so I changed this information in:Would you have any hint concerning this issue?
Jenkins-> Configuration->Jenkins URL
and I added the domain name also to the master hostname input. I solved the problem SSLHandshakeException. However, there is still a problem while trying to launch the application from the web.
When I try to launch it still I get an exception:
java.lang.NullPointerException
at com.sun.deploy.security.DeployManifestChecker.verify(Unknown Source)
[.........]
On the other hand when execurting the command manually (java -jar slave.jar -jnplUrl https:.....) I get the message:
Failing to obtain https://<master_node>:443/computer/<slave_windows_hostname>/slave-agent.jnlp?encrypt=true
java.io.IOException:
https://<master_node>:443/computer/<slave_windows_hostname>/slave-agent.jnlp?encrypt=true doesn't look like a JNPL file; content
type was text/html; charset=utf-8
java -jar slave.jar -jnlpUrl https://<master_node>:443/computer/<slave_windows_hostname>/slave-agent.jnlp -secret <long_hex_string>
the <master_node> string was missing the domain, so I changed this information in:
Jenkins-> Configuration->Jenkins URL
and I added the domain name also to the master hostname input. I solved the problem SSLHandshakeException. However, there is still a problem while trying to launch the application from the web.
When I try to launch it still I get an exception:
java.lang.NullPointerException
at com.sun.deploy.security.DeployManifestChecker.verify(Unknown Source)
[.........]
On the other hand when execurting the command manually (java -jar slave.jar -jnplUrl https:.....) I get the message:
Failing to obtain https://<master_node>:443/computer/<slave_windows_hostname>/slave-agent.jnlp?encrypt=true
java.io.IOException:
https://<master_node>:443/computer/<slave_windows_hostname>/slave-agent.jnlp?encrypt=true doesn't look like a JNPL file; content
type was text/html; charset=utf-8
--
Hi Patricia,
First step: read:
https://issues.jenkins-ci.org/browse/JENKINS-12820
BR
Yossi
From: jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com]
On Behalf Of Patricia Mendez Lorenzo
Sent: Tuesday 18 November 2014 13:28
To: jenkins...@googlegroups.com
Subject: Adding Windows slaves to Jenkins
--
Hi Patricia,
Your master run on which os ?
Your batch file in the slave should run as administrator !!
The slave Configuration on Jenkins:

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