We recently upgraded Jenkins from 2.332.3 to 2.375.1. We have jobs configured to access our local Git repository running on Azure Devops which has been running fine prior to the upgrade. After the upgrade and reboot of the server, we are getting the following errors:
- ERROR: Error fetching remote repo ‘origin’
- stderr: fatal: unable to access ‘(Local GIT URL Masked)##########’: schannel: next InitializeSecurityContext failed: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted.
Not sure if there is anything that changes in the upgrade that would affect this. We noted that there were updates to Winstone and Jetty that refer to changes in flags, but not sure if that’s pertinent. Also note that jobs configured to run on Agent servers seem to resolve, but when looking at the configuration on the Jenkins primary server, we see the following failures:
- Failed to connect to repository : Command “git.exe ls-remote -h – https://xxx.xxx.xxx/DefaultCollection/The%20Cloud%20Team/_git/Jenkins HEAD” returned status code 128:
stdout:
stderr: fatal: unable to access ‘https://xxx.xxx.xxx/DefaultCollection/The%20Cloud%20Team/_git/Jenkins/’: schannel: next InitializeSecurityContext failed: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted.
We’re running on Tomcat using Java 11.0.17.1 with a cacert containing our root certs. Again, everything was running fine after the upgrade until we rebooted the server.
Any assistance is appreciated.