Unrecognized SSL message, plaintext connection? on Jenkins

We were building a Maven project using Broadleaf Demosite Github repository,
it was building fine and we were facing issues only on deploying it on a slave until 30th Dec 2014.

After that we started receiving the below error:

Caused by: hudson.plugins.git.GitException: Unrecognized SSL message, plaintext connection?

Please let us know when and how to change the SSL RSA keys? It will be helpful for us to proceed further.

FATAL: Failed to fetch from https://github.com/BroadleafCommerce/DemoSite
hudson.plugins.git.GitException: Failed to fetch from https://github.com/BroadleafCommerce/DemoSite
    at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:627)
    at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:865)
    at hudson.plugins.git.GitSCM.checkout(GitSCM.java:890)
    at hudson.model.AbstractProject.checkout(AbstractProject.java:1252)
    at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:624)
    at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:530)
    at hudson.model.Run.execute(Run.java:1732)
    at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
    at hudson.model.ResourceController.execute(ResourceController.java:88)
    at hudson.model.Executor.run(Executor.java:234)
Caused by: hudson.plugins.git.GitException: Unrecognized SSL message, plaintext connection?
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkCredentials(CliGitAPIImpl.java:2198)

  • git unable to find certificate in keychain after updating to macOS Sierra
  • “SSL is required” while uploading a patchset to gerrit
  • git cloning fails with libcurl was built with SSL disabled
  • Git stopped working over SSL on Windows
  • SSL works with browser, wget, and curl, but fails with git
  • SVN, OSX10.7: SSL handshake failed: SSL error code -1/1/336032856
  • SSL certificate issue while creating git clone with TortoiseGit
  • How to get Git accept my self signed SSL certificate?
  • One Solution collect form web for “Unrecognized SSL message, plaintext connection? on Jenkins”

    That might be a bug of the 1.14.0 release if the git-client-plugin, since gitclient/CliGitAPIImpl.java is no longer supposed to call checkCredentials.

    See commit 097e68b by Ivo Bellin Salarin (nilleb):

    Do not interactively ask for a password

    Replace the checkCredentials function with the native core.askpass=true git config variable.

    Try and upgrade to 1.14.1 to see if the issue persists.

    Note that, using an https url, any SSL setting should not matter.

    Git Baby is a git and github fan, let's start git clone.