Skip to content

Commit

Permalink
Add code to handle TLS 1.2 SSL issues on ArcMap 10.6
Browse files Browse the repository at this point in the history
  • Loading branch information
robblis committed Oct 12, 2020
1 parent 9b67773 commit b08ec48
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/OSMGeoProcessing/OSMGPDownload.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ public OSMGPDownload()

m_editorConfigurationSettings = OSMGPFactory.ReadOSMEditorSettings();

// Used to handle SSL/TLS 1.2
ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

}

#region "IGPFunction2 Implementations"
Expand Down

0 comments on commit b08ec48

Please sign in to comment.