-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed in getBuild with error: Error: self signed certificate in certificate chain #7214
Comments
solved it! Had to configure the agent on the target server - which I already read on another issue but when I ran the .\config.cmd - it said to remove the agent since the configuration cannot be changed while it exists/runs. Then to re-create the agent, I just got the script from the VSTS and it didn't have the cert param - so was confounded on how to mention the cert in the params for the configuration for the agent. Finally figured it out.
(Let me know if you have issues getting this to work - via comments here maybe?) |
|
Hi there,
As mentioned in the blog post, you need to copy the certificate ie .pem
file to the root of your build agent directory (where you have the config ,
run files). Then run the config command with sslcacert param. It should
work. I did this just yesterday on vsts (azure devops).
Feel free to contact me if you have any further questions. Hope this helps.
Good luck!!
Sent from Pixel 2 XL
…On Mon, Dec 10, 2018, 3:35 PM AnshulMehta187 ***@***.*** wrote:
Hi
I did this but the system is not able to find the certificate file in the
root folder and I am still getting this issue.
I tried skip the SSL certificate validation as well in the cmd but still
it gave me the same error while fetching the build artifacts.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#7214 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AkH39SCG6zYCcXihWhQu_TY6xwCJ8ls2ks5u3u_PgaJpZM4UAVrU>
.
|
VSTS Online
Private agent: Win 2012 R2 Datacenter, Agent v 2.133.3
The automated CD deployment is failing on the Release since this morning. It was working fine earlier.
The error is:
2018-05-15T19:16:29.5467063Z ==============================================================================
2018-05-15T19:16:29.5467201Z Task : Download Build Artifacts
2018-05-15T19:16:29.5467283Z Description : Download Build Artifacts
2018-05-15T19:16:29.5467360Z Version : 0.133.4
2018-05-15T19:16:29.5467468Z Author : Microsoft Corporation
2018-05-15T19:16:29.5467540Z Help :
2018-05-15T19:16:29.5467637Z ==============================================================================
2018-05-15T19:16:30.5523744Z Error : in getBuild, so retrying => retries pending : 4
2018-05-15T19:16:34.2060897Z Error : in getBuild, so retrying => retries pending : 3
2018-05-15T19:16:38.2212775Z Error : in getBuild, so retrying => retries pending : 2
2018-05-15T19:16:42.2213719Z Error : in getBuild, so retrying => retries pending : 1
2018-05-15T19:16:46.2409057Z ##[error]Failed in getBuild with error: Error: self signed certificate in certificate chain
2018-05-15T19:16:46.2595096Z ##[error]Error: self signed certificate in certificate chain
The text was updated successfully, but these errors were encountered: