Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 2010 07:21:03 -0800 (PST)
From:      S Mathias <smathias1972@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   openssl chat
Message-ID:  <120051.16937.qm@web121405.mail.ne1.yahoo.com>

next in thread | raw e-mail | index | archive | help
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..


      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?120051.16937.qm>