Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

SSL Error #19

Open
colutti opened this issue Oct 20, 2015 · 0 comments
Open

SSL Error #19

colutti opened this issue Oct 20, 2015 · 0 comments

Comments

@colutti
Copy link

colutti commented Oct 20, 2015

If you have a proxy that has some issues when downloading files from SSL you may need to import the SSL Certificates or you can end up having the error:

The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

To avoid that, you can add this line at the beginning of the download.ps1.erb template:

[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}

That happened to me and this line fixed this issue.

Could you please add this line in the template to avoid this error in the future?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant