diff --git a/Functions/Setup/Set-NetboxCipherSSL.ps1 b/Functions/Setup/Set-NetboxCipherSSL.ps1 new file mode 100644 index 0000000..bad4402 --- /dev/null +++ b/Functions/Setup/Set-NetboxCipherSSL.ps1 @@ -0,0 +1,8 @@ +Function Set-NetboxCipherSSL { + [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseShouldProcessforStateChangingFunctions", "")] + Param( ) + # Hack for allowing TLS 1.1 and TLS 1.2 (by default it is only SSL3 and TLS (1.0)) + $AllProtocols = [System.Net.SecurityProtocolType]'Ssl3,Tls,Tls11,Tls12' + [System.Net.ServicePointManager]::SecurityProtocol = $AllProtocols + +} \ No newline at end of file