I can’t for the life of me get pgbackrest to create a stanza, I keep getting “Unable to verify certificate present by…” errors. Can anyone help?
root@pgBackRest:/# sudo -iu postgres pgbackrest --stanza=cluster_1 stanza-create
2025-02-11 21:07:20.786 P00 WARN: unable to open log file '/var/log/pgbackrest/cluster_1-stanza-create.log': Permission denied
NOTE: process will continue without log file.
2025-02-11 21:07:20.799 P00 INFO: stanza-create command begin 2.54.0: --exec-id=40369-51090cac --lock-path=/var/tmp/pgbackrest --log-level-console=info --log-level-file=off --pg1-host=node1 --pg2-host=node2 --pg3-host=node3 --pg1-host-ca-file=/etc/ssl/certs/pg_ha/ca.crt --pg2-host-ca-file=/etc/ssl/certs/pg_ha/ca.crt --pg3-host-ca-file=/etc/ssl/certs/pg_ha/ca.crt --pg1-host-cert-file=/etc/ssl/certs/pg_ha/pgBackRest.crt --pg2-host-cert-file=/etc/ssl/certs/pg_ha/pgBackRest.crt --pg3-host-cert-file=/etc/ssl/certs/pg_ha/pgBackRest.crt --pg1-host-key-file=/etc/ssl/certs/pg_ha/pgBackRest.key --pg2-host-key-file=/etc/ssl/certs/pg_ha/pgBackRest.key --pg3-host-key-file=/etc/ssl/certs/pg_ha/pgBackRest.key --pg1-host-port=8432 --pg2-host-port=8432 --pg3-host-port=8432 --pg1-host-type=tls --pg2-host-type=tls --pg3-host-type=tls --pg1-path=/var/lib/postgresql/17/main --pg2-path=/var/lib/postgresql/17/main --pg3-path=/var/lib/postgresql/17/main --pg1-port=5432 --pg2-port=5432 --pg3-port=5432 --pg1-socket-path=/var/run/postgresql --pg2-socket-path=/var/run/postgresql --pg3-socket-path=/var/run/postgresql --repo1-path=/var/lib/pgbackrest --no-repo1-storage-verify-tls --stanza=cluster_1
2025-02-11 21:07:20.839 P00 WARN: unable to check pg1: [CryptoError] unable to verify certificate presented by 'node1:8432 (10.25.0.97)': [7] certificate signature failure
2025-02-11 21:07:20.851 P00 WARN: unable to check pg2: [CryptoError] unable to verify certificate presented by 'node2:8432 (10.25.0.98)': [7] certificate signature failure
2025-02-11 21:07:20.864 P00 WARN: unable to check pg3: [CryptoError] unable to verify certificate presented by 'node3:8432 (10.25.0.99)': [7] certificate signature failure
2025-02-11 21:07:20.864 P00 ERROR: [056]: unable to find primary cluster - cannot proceed
HINT: are all available clusters in recovery?
2025-02-11 21:07:20.864 P00 INFO: stanza-create command end: aborted with exception [056]
The certs are self-signed