On 30 Jun 2022, at 10:43, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com> wrote:
> I wrote that pg_stat_ssl uses the *issuer* plus serial number to identify a certificate. What your patch shows is the subject and the serial number, which isn't the same thing. Let's get that sorted out one way or the other.
Quick observation on this one, the string format of an issuer and serial number is defined as a “Certificate Exact Assertion” in RFC 4523.
I added this to httpd a while back:
SSL_CLIENT_CERT_RFC4523_CEA
It would be good to interoperate.
Regards,
Graham
—