How to tell if a connection is SSL or not

Started by Mike Nolanabout 22 years ago2 messagesgeneral
Jump to latest
#1Mike Nolan
nolan@gw.tssi.com

Is there an easy way to tell from the server side which active
connections are using SSL?

Specifically, I'm trying to determine if I have PHP connecting with SSL,
but unlike psql it doesn't give back any information about the cipher strength.

It doesn't appear that any of the connection logging options include
that information.
--
Mike Nolan

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Mike Nolan (#1)
Re: How to tell if a connection is SSL or not

Mike Nolan <nolan@gw.tssi.com> writes:

Is there an easy way to tell from the server side which active
connections are using SSL?

I'd suggest sniffing the connection traffic (eg, with tcpdump) and
seeing if you see any readable ASCII in it. That's the only way to
be absolutely certain ...

regards, tom lane