I am facing a problem that I must retrieve a website content via a TcpClient socket (I cannot use HttpWebRequest as well as HttpWebResponse because some other issues). I can successfully request to web server using HTTP protocol. But there some webs only accept HTTP SSL requ开发者_如何学JAVAest, not the HTTP. My question is: How can I send HTTP SSL request to the host server and retrieve back the content?
Any advices are really appreciated.
Thanks and best regards
Check this Secure Socket Library and this class
SslStream class in .NET framework, or the SSL/TLS components of SecureBlackbox, which my company maintains, if you need advanced functionality and complete control.
精彩评论