Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to shut down or terminate openSSL server other than ctrl-c.

873 views
Skip to first unread message

Sri Ramya

unread,
Dec 6, 2013, 3:44:37 AM12/6/13
to
hi all,

How can i stop running opesSSL server with out pressing ctrl-c.
Is there a way to terminate it like the way we did for openSSL client preeing "Q".

Please help me in this regards.


Thank you

Dave Thompson

unread,
Dec 6, 2013, 7:12:03 PM12/6/13
to

Assuming you mean the commandline server ‘openssl s_server’

(there are lots of other things that could be described as ‘openssl server’):

 

man s_server or http://www.openssl.org/docs/apps/s_server.html#CONNECTED_COMMANDS

except just now when I tried to confirm I got flaky DNS results so if necessary use 185.9.166.106 .

 

Although I notice that the manpage says ‘neither –www nor –WWW’ but the code also disables

this logic if –quiet (apparently because this is considered ‘session’ output?).

Sri Ramya

unread,
Dec 8, 2013, 9:20:36 AM12/8/13
to
Thanks for your reply.

What ever u sent is for the openssl s_client.

I need commands to stop the openssl s_server other than ctrl+c

Jeremy Farrell

unread,
Dec 8, 2013, 7:52:17 PM12/8/13
to

In what way is the s_server documentation page "for the openssl s_client"?

 

You can exit s_server by sending it a command over a connection from any client, as described in the s_server documentation section which Dave linked to below; or you can use any ordinary local method to kill the s_server process (such as hitting control-c in common configurations on many OSes).

 

What problem are you trying to solve? Why would typing Shift-Q on the keyboard be acceptable when typing Ctrl-C isn't?

Sri Ramya

unread,
Dec 9, 2013, 9:26:55 AM12/9/13
to
Thank you for ur response.  For killing openssl s_server i am using ctrl+c, because of that my program giving me some key leakages.
so i need a graceful command to stop openssl s_server.
0 new messages