Skip to content

srikanthmalipatel/Simple-Chat-Application-With-Authentication-Using-Openssl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I have used openssl for authentication. For which we need libssl-dev package installed on the machine

First we need to generate a key for authentication using openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout mycert.pem -out mycert.pem

Then start the server program which is used for authentication. Command: ./app s // 's' here implies server

Then start two clients. Command: ./app c // 'c' here implies client

The first message a client sends is a Register message Usage: register

Then it should connect to a client using connect command Usage: connect

Now both clients can chat by entering messages.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors