Обсуждение: How to tell if a connection is SSL or not

Поиск
Список
Период
Сортировка

How to tell if a connection is SSL or not

От
Mike Nolan
Дата:
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

Re: How to tell if a connection is SSL or not

От
Tom Lane
Дата:
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