PAIS yaml deployment fails with the following error:
####-##-##T##:##:##.###+00:00 [1] [139827328015232] ERROR write_termination_message logs/use_termination_message_capturer - Unexpected program shutdown err=ConnectError('[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1006)') message=Unexpected error in program (<class 'httpx.ConnectError'>): [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1006)
vSphere 9.0.0
PAIS 2.0
The OIDC server is using a self signed certificate and the issuer is same as the root CA. PAIF is looking for CA issuer certificate in this case. PAIF uses a certify library of python which does not allow the current certificate which is not issued by CA /Root CA.
A self-signed certificate is acceptable, but it must be structured correctly. You need a self-signed root Certificate Authority (CA) that is explicitly marked as a CA. From this root CA, generate a server certificate that is signed by the root CA. Both the server certificate and the root CA certificate must then be exported together in the certificate bundle.
Reach out to VMware by Broadcom Technical Support for more information.