Symptoms:
This article is applicable when you observe the following symptoms:
To view the logs for the identity-service-app pod on the vRealize Automation appliance:
kubectl get pods -n prelude | grep identity-service-app
kubectl logs identity-service-app-#########-##### -n prelude
YYYY-MM-DD HH:MM:SS.xxx+0000 WARN 29 --- [ctor-http-nio-2] r.netty.http.client.HttpClientConnect : [id: 0x1676876c, L:/<INTERNAL_IP>.:46894 ! R:[vIDM_FQDN]/[vIDM_IP]:443] The connection observed an error
io.netty.handler.codec.DecoderException: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_221]
Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
VMware Aria Automation 8.x
This is due to the identity-service-app pod having the old vIDM certificate in its Java keystore. Connections to the vIDM must be trusted explicitly by the vIDM certificate, and not by the issuing Certificate Authorities.
NOTE : Before proceeding with the below procedure, ensure that the vIDM LB certificate is valid and not in an expired state. For replacing the vIDM LB certificate follow KB 372708 .
We can use the vracli command to update the vIDM certificate information.
echo | openssl s_client -connect [vIDM_FQDN]:443 2>/dev/null | openssl x509 -fingerprint -sha256 -noout | awk -F'=' '{print $2}' | tr -d ':' | awk '{print tolower($0)}'
vracli vidm
vi /tmp/admin-password.txt
vracli vidm set https://[vIDM_FQDN] admin /tmp/admin-password.txt [user] -f [sha256_thumbprint]
/opt/scripts/deploy.sh
rm /tmp/admin-password.txt
The Aria Automation portal will also report a Bad Gateway message if you try to connect to the Aria Automation portal when the VA restart procedure is started as per Starting and stopping vRealize Automation