본문 바로가기
BackEnd FrontEnd/C , C++

openssl 사용하여 개발하기 전 설치할 것 -lssl

by forkballpitch 2019. 7. 29.
반응형

sudo apt-get install libssl-dev

sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libcurl4-gnutls-dev

 

컴파일 시 아래와 같이 사용

SSL = -L/usr/local/ssl/lib -lssl -lcrypto

 

[참고한 링크]
https://aticleworld.com/ssl-server-client-using-openssl-in-c/

[인증서 만들기]
openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout mycert.pem -out mycert.pem



 

ssl server client programming using openssl in c - AticleWorld

An SSL is the standard security protocol used to establish an encrypted connection between a server and a client.SSL ensures data will be secured and intact

aticleworld.com

 

반응형