"[ERROR] DB connection failure: x509: certificate has expired or is not yet valid. Retrying in 15 seconds.."

Symptoms

When starting PrivX or during upgrade, you got error message
[ERROR] DB connection failure: x509: certificate has expired or is not yet valid. Retrying in 15 seconds..

Solutions

This error means the certificate deployed on your database server is no longer valid. Please contact your database admin to renew or fix the certificate.

If you are running a POC environment with local database, you may fix this by recreating a new certificate.

# /opt/privx/scripts/init_db.sh recreate-local-db-cert


Did this page help you?