How to connect to external server using certificate?
-
Hi guys,
It is a bit of convoluted question, be patient with me please :)
There is a chat server in the Internet. It offers chatting through web browser. The thing is that it is flooded with commercials and it even shows videos next to a chatting window that can't be turned off or blocked. So I thought I will write a desktop application which will allow me to connect to their server and I will be chatting freely without these commercials. I've done this before for different chatting website. I've used different language then and it was unencrypted communication via http based on IRC protocol.
The difference here is that communication with the server goes through secure connection, so I can't sniff commands, I need to authenticate myself firstly. I have no idea how to do this. I see a certificate details in web browser. Could you point me to a C++ library that would allow me to download this certificate in the same way as Firefox does and then establish a connection with this chatting server?
Thanks for any help.