Verifying PostgreSQL Certficates
[email protected] ("Angus B. Atkins-Trimnell")
| Newsgroups | php.db |
|---|---|
| Message-ID | <[email protected]> |
Hello, I have been wondering if the resource object returned from a pg_connect() or pg_pconnect() call can be parsed for certain information. Specifically, I'm wondering if it contains information about the certificate and public key submitted by PostgreSQL when SSL is enabled. I've looked at pg_parameter_status(), but it doesn't seem to get the information I need. Ultimately, I would like to compare the signature on a certificate to a trusted certificate authority to determine the trustworthiness of the certificate. Thanks much in advance. --Angus Atkins-Trimnell