modules icon indicating copy to clipboard operation
modules copied to clipboard

TLS needs to be set to 1.2 for CloudFlareDynDns

Open SCUR0 opened this issue 6 years ago • 3 comments

I was getting https 426 errors while running this module. This is due to invoke-restmethod defaulting to TLS 1.0.

You can set this by adding this line of code into your module:

#Set TLS Verson
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

SCUR0 avatar Jun 05 '18 16:06 SCUR0

Worth noting that it requires restarting the Powershell window to start working again after making this change, at least it did for me.

jundis avatar Jun 05 '18 16:06 jundis

I noticed a pull request to fix this issue.

npab19 avatar Aug 26 '18 15:08 npab19

That pull request was merged in two days ago by @potatoqualitee

withdave avatar Jan 20 '19 13:01 withdave