[pgpool-general: 8478] How to find out if TLS connection is used

Matej Hasul matej.hasul at gooddata.com
Fri Nov 4 20:34:31 JST 2022


Hi there,
I'm curious if there is any way to check if the frontend connection is
using TLS or not. Sofar I've found out that "ssl_key" is used in the log
message:

2022-11-04 11:21:25.954: ssl_key pid 159: LOG:  new connection received
2022-11-04 11:21:25.954: ssl_key pid 159: DETAIL:  connecting host=[local]
2022-11-04 11:21:35.123: ssl_key pid 150: LOG:  new connection received
2022-11-04 11:21:35.123: ssl_key pid 150: DETAIL:  connecting host=[local]
2022-11-04 11:21:45.151: ssl_key pid 156: LOG:  new connection received
2022-11-04 11:21:45.151: ssl_key pid 156: DETAIL:  connecting host=[local]
2022-11-04 11:21:57.399: psql pid 155: LOG:  pool_ssl: "SSL_read": "no SSL
error reported"
2022-11-04 11:22:45.257: ssl_key pid 154: LOG:  new connection received
2022-11-04 11:22:45.257: ssl_key pid 154: DETAIL:  connecting host=[local]

Is there a better way to check if the connection is secured by TLS or not?

Thanks.

Matej Hasul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pgpool.net/pipermail/pgpool-general/attachments/20221104/fbd30008/attachment.htm>


More information about the pgpool-general mailing list