Creating instance 'bosh/0': Waiting until instance is ready: Post https://vcap:@10.193.119.11:6868/agent: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "Pivotal") Exit code 1
10.0.0.132 - - [05/Jan/2021:17:18:59 +0000] "POST /api/v0/certificate_authorities/generate HTTP/1.1" 200 2704 "-" "curl/7.47.0" 10.0.0.132 - - [05/Jan/2021:17:38:47 +0000] "POST /api/v0/certificate_authorities/560089ede69d239895ca/activate HTTP/1.1" 200 12 "-" "curl/7.47.0" 10.0.0.132 - - [05/Jan/2021:18:30:50 +0000] "POST /api/v0/certificate_authorities/active/regenerate HTTP/1.1" 422 135 "-" "Go-http-client/1.1" 10.0.0.132 - - [05/Jan/2021:18:56:51 +0000] "DELETE /api/v0/certificate_authorities/df81d4c583fb648500fa HTTP/1.1" 200 12 "-" "curl/7.47.0"
curl "https://OPS-MAN-FQDN/api/v0/certificate_authorities/active/regenerate" \ -X POST \ -H "Authorization: Bearer YOUR-UAA-ACCESS-TOKEN" \ -H "Content-Type: application/json" \ -d '{}' -v
HTTP/1.1 200 OK
For more details, please refer to Rotate non-configurable leaf certificates in the Tanzu Application Service documentation.
If you experience a "Safety Violation" please consult the following documentation https://docs.vmware.com/en/VMware-Tanzu-Operations-Manager/3.0/vmware-tanzu-ops-manager/security-pcf-infrastructure-troubleshoot-cert-errors.html
If you are unable to get past the safety violation please open a case with Tanzu support