VMware Postgres

 I'm trying to backup my postgres instance on OSE (Object Storage Extension). The ose's self signed certificate is reject by postgresbackup. How I can inform my self signed certificate to postgresbackup solution?

Rogerio Oliveira's profile image
Rogerio Oliveira posted Jul 17, 2023 02:41 PM

With SSL = true:

 

kubectl -n vcd-ds-workloads describe postgresbackup backup-e4-pgsql

 

[...]

WARN: environment contains invalid option 'config-version'. ERROR: [095]: unable to load info file '/e4-pgsql/archive/vcd-ds-workloads-lab-pgsql-9da6e8b6-5db6-4f1c-ae87-858110048e96/archive.info' or '/e4-pgsql/archive/vcd-ds-workloads-lab-pgsql-9da6e8b6-5db6-4f1c-ae87-858110048e96/archive.info.copy':.    CryptoError: unable to verify certificate presented by 'e4-pgsql.s3.spo.one.labcloud:443': [18] self-signed certificate.    HINT: is or was the repo encrypted?.    CryptoError: unable to verify certificate presented by 'e4-pgsql.s3.spo.one.labcloud:443': [18] self-signed certificate.    HINT: is or was the repo encrypted?.    HINT: archive.info cannot be opened but is required to push/get WAL segments..    HINT: is archive_command configured correctly in postgresql.conf?.    HINT: has a stanza-create been performed?.    HINT: use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme.