pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
SSL/TLS encryption without
2+ messages / 2 participants
[nested] [flat]

* SSL/TLS encryption without
@ 2022-11-01 16:13  Ron <ronljohnsonjr@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Ron @ 2022-11-01 16:13 UTC (permalink / raw)
  To: pgsql-general

AWS RDS Postgresql 12.11

sides=> select * from pg_stat_ssl where pid = 362;
-[ RECORD 1 ]-+----------------------------
pid           | 362
ssl           | t
version       | TLSv1.2
cipher        | ECDHE-RSA-AES256-GCM-SHA384
bits          | 256
compression   | f
client_dn     |
client_serial |
issuer_dn     |

I've got 85 connections where ssl='t'. How can connections be encrypted 
using SSL/TLS without a client certificate?

-- 
Angular momentum makes the world go 'round.





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: SSL/TLS encryption without
@ 2022-11-01 17:55  Peter J. Holzer <hjp-pgsql@hjp.at>
  parent: Ron <ronljohnsonjr@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter J. Holzer @ 2022-11-01 17:55 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

On 2022-11-01 11:13:01 -0500, Ron wrote:
> sides=> select * from pg_stat_ssl where pid = 362;
> -[ RECORD 1 ]-+----------------------------
> pid           | 362
> ssl           | t
> version       | TLSv1.2
> cipher        | ECDHE-RSA-AES256-GCM-SHA384
> bits          | 256
> compression   | f
> client_dn     |
> client_serial |
> issuer_dn     |
> 
> I've got 85 connections where ssl='t'. How can connections be encrypted
> using SSL/TLS without a client certificate?

Given that you probably never generated a client certificate for your
browser: How could HTTPS work?

The certificates are used for authentication, not for encryption. The
public key(s) included in the certificates may be used during key
exchange, but there are key exchange algorithms which don't need that
(in fact I think ECDHE is one of them) at all, and even those that do
need only one key, so it is sufficient that only the server has a
certificate.

        hp

-- 
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Attachments:

  signature.asc (application/pgp-signature, 832B) download

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2022-11-01 17:55 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-11-01 16:13 SSL/TLS encryption without Ron <ronljohnsonjr@gmail.com>
2022-11-01 17:55 ` Peter J. Holzer <hjp-pgsql@hjp.at>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox