Could not create SSL/TLS secure channel, despite setting ServerCertificateValidationCallback

后端 未结 8 1587
醉酒成梦
醉酒成梦 2020-12-04 17:29

I\'m trying to establish SSL/TLS connection to test server with self-signed certificate. Communication through unsecure channel worked without issues.

8条回答
  •  南笙
    南笙 (楼主)
    2020-12-04 18:05

    If you are using a new domain name, and you have done all the above and you are still getting the same error, check to see if you clear the DNS cache on your PC. Clear your DNS for more details.

    Windows® 8

    To clear your DNS cache if you use Windows 8, perform the following steps:

    On your keyboard, press Win+X to open the WinX Menu.

    Right-click Command Prompt and select Run as Administrator.

    Run the following command:

    ipconfig /flushdns

    If the command succeeds, the system returns the following message:

    Windows IP configuration successfully flushed the DNS Resolver Cache.

    Windows® 7

    To clear your DNS cache if you use Windows 7, perform the following steps:

    Click Start.

    Enter cmd in the Start menu search text box.

    Right-click Command Prompt and select Run as Administrator.

    Run the following command:

    ipconfig /flushdns

    If the command succeeds, the system returns the following message: Windows IP configuration successfully flushed the DNS Resolver Cache.

提交回复
热议问题