Skip to content
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

Azure DevOps Agent running on https failed with TLS 1.2 Issue #91

Closed
DalpheSDC opened this issue Dec 19, 2019 · 5 comments · Fixed by #92
Closed

Azure DevOps Agent running on https failed with TLS 1.2 Issue #91

DalpheSDC opened this issue Dec 19, 2019 · 5 comments · Fixed by #92

Comments

@DalpheSDC
Copy link

Hi
Task TFVC - Check-in changes (Preview)

Version 2.25
When running on a agent using https to connect our on-premise instance behind a proxy. is failes with
"TF400324: Azure DevOps services are not available from server https://...-...--/tfs
Technical information (for administrator):
Anmodningen blev afslået: Der kunne ikke etableres en sikker kanal til SSL/TLS."
translate it can't established SSL/TLS save channel.
This is cause by missing upset of TLS 1.2 in the script

when I'm running this on the agent with port 8080 without SSL it work fine.
Sorry that i didn't give you feedback on the last issue I created, but had to much to do at work.

Regards
Peter

@jessehouwing
Copy link
Owner

jessehouwing commented Dec 19, 2019 via email

@DalpheSDC
Copy link
Author

Windows 10 and Windows 2012 R2,
.NET 4.7.2

Powershell
Major Minor Build Revision


5 1 17134 858

normallye this is the line missing in the PowerShell
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12;
There is a Cert trusted amd the hostname match it.
##[debug]Agent.ProxyUrl=http://...
##[debug]Agent.CAInfo=C:\TFS\A2\sdcca.pem
##[debug]Agent.ClientCert=undefined
##[debug]expose agent certificate configuration.
##[debug]Agent.SkipCertValidation=undefined
##[debug]Agent.ProxyUrl=http://...
##[debug]Agent.CAInfo=C:\TFS\A2\sdcca.pem
##[debug]Agent.ClientCert=undefined

Hope this give you some ideas.

@jessehouwing
Copy link
Owner

jessehouwing commented Dec 20, 2019 via email

@jessehouwing
Copy link
Owner

Fixed in: 2.2.6

@DalpheSDC
Copy link
Author

I can confirm that it works perfect. thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants