openssl chat

S Mathias smathias1972 at
Sun Dec 12 15:21:04 UTC 2010

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 - "" is the IP of the server
openssl s_client -connect

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..


More information about the freebsd-questions mailing list