Use OpenSSL with a custom channel

I developed (in CPP) a unique protocol over HTTP, and I use it to communicate with my server. Now I want to establish an SSL connection using my own protocol to transfer the data itself.

Can I do this using OpenSSL? I searched the Internet and everything I found was related to BIO, but I did not understand how to use it for my needs.

In any case, the best solution for me would be the way in which I can pass OpenSSL my own send and receive functions, so all communication will only go through my functions.

TNX ahead :)

+5
source share
2 answers

BIO. ssltest.c, bio_pair. , OpenSSL- .

:

  • , BIO- SSL.

  • SSL , BIO- SSL .

  • , , BIO SSL.

  • SSL , , JavaScript BIO.

OpenSSL , SSL BIO. , .

, , - - . , - , , JavaScript- SSL, SSL , . SSL , . "" SSL , , , , SSL , . , .

: SSL . . (Search " ", .) , , SSL- , TCP- ( , ).

+10

- , HTTP .

HTTP , OpenSSL SSL/TLS , HTTP.

HTTP, HTTPS ( ), OpenSSL . HTTPS HTTP. HTTPS .

0

All Articles