Vault Version: Vault Enterprise v1.21.2
Issue Summary: We are attempting to perform a DR failback operation to demote our DC cluster to secondary using the sys/replication/dr/secondary/update-primary command.
Exact Error Output:
Plaintext
URL: PUT https://192.168.152.165:8200/v1/sys/replication/dr/secondary/update-primary
Code: 500. Errors:
* error unwrapping secondary token: Post “https://HVAULTDRAPP2:8200/v1/sys/wrapping/unwrap”: tls: failed to verify certificate: x509: certificate signed by unknown authority
Troubleshooting Already Performed:
-
Certificate Validity: We have verified that the DR server presents the complete certificate chain, and the SAN correctly matches
HVAULTDRAPP2. Both clusters use the exact same Root CA. -
CLI Parameter: We passed
primary_ca_file="/vault/vault.d/tls/vault-ca.crt"in the CLI command
Service Restarts: Vault services on old DC nodes have been cleanly restarted with no change in behavior.
please help me with the solution