New-WebServiceProxy & SSL

If you’ve been working with New-WebServiceProxy in PowerShell and have insecure (hopefully) internal sites that you are working with, you’ve undoubtedly seen the following message: New-WebServiceProxy : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. At line:1 char:20 + New-WebServiceProxy <<<< -Uri https://[SERVERNAME]:[PORT]/[URLtoWSDL] + CategoryInfo : ObjectNotFound: (https://[SERVERNAME]:[PORT]/[URLtoWSDL]:Uri) … Read more