Documentation for a client-server program with OpenSSL

I have a client / server program in TCP written in C, and I would like to provide data exchange with OpenSSL, this is completely new to me, and I could not find examples on the network ...

Could you point out some googd documentation about this?

Thank!

+3
source share
2 answers

Step1 create a server certificate using

openssl req -new -x509 -out server.pem -nodes -keyout privkey.pem -subj /CN=localhost

Step2 Start the server

openssl s_server -www -ssl3 -cipher AES256-SHA -key privkey.pem

Step3 Testing the server

-

+2

Source: https://habr.com/ru/post/1736459/


All Articles