[CentOS] openssl chat

Sun Dec 12 15:21:07 UTC 2010
S Mathias <smathias1972 at yahoo.com>

i can use "natively" openssl for anonymous chat: 

# Chat: 
# server side:
openssl req -x509 -nodes -days 365 -newkey rsa:8192 -keyout mycert.pem -out mycert.pem

# server side - generate a self-signed cert.
openssl s_server -accept 52310 -cert mycert.pem

# client side - "127.0.0.1" is the IP of the server
openssl s_client -connect 127.0.0.1:52310


1) but how can i set it to require username/password? it would be a great chat tool
2) how can i transfer files with openssl? [again: with username/password?]

thank you for any ideas :\

p.s.: or it will be a firewall rule, to restrict to ip addresses in a list? those, who are only allowed to connect..


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20101212/3be0f0f4/attachment-0003.html>