Re: pgjdbc is not working with PKCS8 certificates with password

2024-02-07 Thread just madhu
I see that the generated certificate is not working in pgAdmin and psql. So I wanted a way by which I could make it work there as well. As ANS.1 DER is a supported format for libpq, I suppose that this certificate should work here as well. Also as suggested checking in pgjdbc as well. On Wed, Feb

Re: pgjdbc is not working with PKCS8 certificates with password

2024-02-07 Thread just madhu
On further investigation, *With certificate generated as below. JDBC connection is successful.openssl pkcs8 -topk8 -inform PEM -in client.key -outform DER -out client.pk8 -passout pass:foobar * -v1 PBE-MD5-DES But a connection from pgAdmin (connection failed: \SSLCerts\pk8_pass\client_pass_PBE.

Re: pgjdbc is not working with PKCS8 certificates with password

2024-02-07 Thread Joe Conway
On 2/7/24 06:42, just madhu wrote: On further investigation, /With certificate generated as below. JDBC connection is successful./ openssl pkcs8 -topk8 -inform PEM -in client.key -outform DER -out client.pk8  -passout pass:foobar / -v1 PBE-MD5-DES But a connection from pgAdmin (connection fail