Menu

Issue with SSL/TLS on Miraheze farm's wiki

Luca Mauri
2020-08-16
2020-08-16
  • Luca Mauri

    Luca Mauri - 2020-08-16

    Trying to connect a wiki into Miraheze farm, DNWB returned the error:

    The request was aborted: Could not create SSL/TLS secure channel.

    I investigated the problem and it seems to me the reason is the one explained here on StackOverflow
    So, as suggested in that Question, I added the code

    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
    

    at row 708, right before

    HttpWebRequest webReq = (HttpWebRequest)WebRequest.Create(pageURL);
    

    This modification seemingly solved the issue for me, but I thought you might want to have a look at it.

    Have a nice day

    Luca

     
  • CodeDriller

    CodeDriller - 2020-08-16

    Thank you

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.