How to Handle Unicorn Sync API Exception On SSL


Are you using Self Signed certificate in server and trying to hit the Unicorn Sync https URL to sync from difference machine via powershell? then we might end up with network exception on accessing on secure URL.

How to Resolve it

Its Very Simple, just add below line before making the API call.

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

 

Have any Question or Comment?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discussion Topics