OPENSSL vs IPSEC

just a very general question, but can someone tell me when I use openSSL and when IPSEC provides data transfer over the Internet? Both of them seem to do the same, only at different levels of the network protocol. So I'm not quite sure why both of us.

Greetings for your help

+3
source share
3 answers

Yes, different levels of network protocol. One of them is implemented in the OS, and the other in the application.

So, the reason why both are necessary:

  • IPSEC , , . , IPSEC .

  • SSL . , .

+2

... IPSEC .

, , , (tcp/udp.. ..), IPSEC. , IPSEC.

openssl - encrytion/authentication.

.

, , , , . IPSEC.

C/Linux . openssl.

, , , openssl, .

... , !!! - , !!!

0

IPSec , . IP-, ( , , , ). IP- . , . , WHOLE ( , ). ( ) , ( ). , SSL (, OpenSSL).

SSL, on the other hand, encrypts the data, and then you can do whatever you want with it. You can put it on a USB drive and then transfer it to someone else or simply encrypt it locally to prevent data theft or send it via the Internet or the network (in this case, the packet itself will not be encrypted, but only the payload will be encrypted SSL).

0
source

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


All Articles