0
How to communicate with ssl
I've tried to send an http request on port 443 of site, it was complaining it's not communicating with ssl, so here are my questions: how to ask server for certificate, how it looks and how I should use it to encrypt message (and answer with encrypted message if I can't just use my encrypet request)
4 odpowiedzi
+ 1
Here are the specs if you really want to write it yourself: https://tools.ietf.org/html/rfc8446
0
Unless you want to write thousands of lines of code yourself I'd recommend you to use a library like openssl or rustls to enable SSL.
0
I want milions of lines... but that's not point, I want to understand it all, so I can use it simply without libs in my app... And surely help people in future
I already found how it works in general, I even found some source (which didn't work to me). So I already know that client tells server some basic info, gets some certificate and encryption key... But still it's top of glacier with a lot more under water
0
Thanks, I found it too, by this as answer I gues I have to go trough to find out