abot icon indicating copy to clipboard operation
abot copied to clipboard

Abot AbotX TLS 1.2 Support, Could not create SSL/TLS secure channel

Open wpkramer opened this issue 7 years ago • 3 comments

The crawl of a site supporting only TLS 1.2 was failing. Modifying the constructors of the PageRequester assigning the default security protocol resolves the problem for us. This may not be the best home for assigning the SecurityProtocol setting. Also does not future proof for TLS 1.3.

        System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;

wpkramer avatar Dec 11 '17 17:12 wpkramer

Thanks for reporting this. I agree that Abot may not be the best initializer of this setting. I will leave this issue open so others have a workaround.

sjdirect avatar Dec 11 '17 18:12 sjdirect

Thanks for leaving the issue open @sjdirect !!!

Took me a while to find it though. Adding the error text I was getting: "Could not create SSL/TLS secure channel" (just so Google indexes it and brings more people to the workaround.)

alex-jitbit avatar Mar 13 '19 17:03 alex-jitbit

agreed @alex-jitbit , changed the subject for better phrase indexing

sjdirect avatar Mar 13 '19 18:03 sjdirect