none
SSL self signed certificate connection with https sites RRS feed

  • Question

  • I want my c# program to catch GET and POST requests using port 443 from the browser to https sites using SSL and self signed certificate, the final output I need is the html source code of the site as a string.

    For example, when I type localhost:443/url=https://www.twitter.com in the url line of the browser, I need to get the html source code of twitter.com.

    For now, can't understand which objects should I use and how, help please.

    Thank you.

    Sunday, June 26, 2016 3:46 PM

Answers

  • I am not sure where you question touches self-signed certificates. Pages like twitter can afford to register thier certificate with at least one Zertificate server.
    Only small organisations (like my computer club) have to resort to self signed certificates.

    Another issue is that it appears that each browser has thier own Zertificate storage (same as with cookies and other cached data). For example:
    HTTPS connections can not be scanned for Viruses. Kasperksy worked around that with a benevolent man in the middle attack. But as a result they had to repalce the Zertificate with thier own.
    They did install thiers into the Zertificate cache for the IE. But forgot to also add it Firefox's cache, wich means thier security measure tripped that ones protection against man in the middle attacks.

    Sunday, June 26, 2016 5:54 PM