Self-signed trusted certificate does not work anymore #2751
jbauer opened 2 months ago

After upgrading to 15.0.1 the agent cannot access onedev anymore because it somehow does not use the self-signed CA certificate anymore. The CA certificate ca.crt is valid and exists in /opt/onedev/conf/trust-certs as well as /agent/conf/trust-certs.

Build says (line breaks for readability):

Command execution failed (
   command: 
      git 
      -c http.sslCAInfo="/agent/work/temp/onedev-build-17-3373-5/trust-certs.pem" 
      -c "http.extraHeader=OneDevAuthorization: Bearer *****" 
      -c safe.directory=* fetch https://onedev/repo.git 
      --force 
      --quiet 0152750bf07856186d2bf73eb324124cf7d0cd4c, 
   exit code: 128
)
1/1
Type
Bug
Priority
Normal
Assignee
Affected Versions
15.0.1
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
OD-2751
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover