Jenkins configuring SVN Error: javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name

Recently, I was learning Jenkins. When configuring SVN, I found that there are always errors

 

javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_ name

 

This error was encountered when using the SVN plug-in of idea. Just add the following code to the Java parameter:

-Djsse.enableSNIExtension=false

 

In Jenkins, use the following method to solve the problem:

1. If you start from the command line, add the following (brilliant part) at startup:

@echo off
set JENKINS_ HOME=D:\jenkins
D:\jdk1.7.0_ 40\bin\java -Djsse.enableSNIExtension=false -jar %JENKINS_ HOME%\jenkins.war –httpPort=8000

2. Open jenkins.xml file in Jenkins directory when starting windows service, and add it in the following parts:

< arguments>- Djsse.enableSNIExtension=false -Xrs -Xmx256m -jar “%BASE%\jenkins.war” –httpPort=8000 -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle</ arguments>

 

Similar Posts: