Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 517 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 517 Bytes

TCP-Connection-using-OPENSSL

Server and Client programs using the openssl libraries to establish a tcp connection

Generating a certificate

Execute this command: openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout mycert.pem -out mycert.pem #To run the Server Compile : gcc -Wall -o ssl-server SSL-Server.c -L/usr/lib -lssl -lcrypto Run : sudo ./ssl-server

#To run the Client Compile : gcc -Wall -o ssl-client SSL-Client.c -L/usr/lib -lssl -lcrypto Run : ./ssl-client