[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: openssl chat



S Mathias wrote:
> i can use "natively" openssl for anonymous chat: 

Yes.  But it just connects your keyboard and handles the ssl
encryption part.  It doesn't really know about the chat protocol.

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

That would be within the realm of a chat client.  Using the openssl
program like that is rather like using telnet to connect to the smtp
port to send email.  It can do it as long as you type in all of the
right commands but that isn't the intended purpose.

> 2) how can i transfer files with openssl? [again: with username/password?]

Your best direction is to use a chat client that has been written to
those things.

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: