Troubleshooting remote services connection
Problem
After you update your certificates, the server cannot connect to the remote server, and the remote services check fails for the Appliance manager. There is a message in the log file that is similar to:
2023-08-07 13:16:40,025 WARN c.a.a.services.RemoteServiceService -
Cannot check remote service url : https://remoteservices.example.com:443/am
org.apache.wink.client.ClientRuntimeException:
java.lang.RuntimeException: javax.net.ssl.SSLHandshakeException: PKIX
path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
.............................:
Caused by: java.lang.RuntimeException:
javax.net.ssl.SSLHandshakeException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
Solution
Check the connection from your Abiquo server to the remote services.
Use the OpenSSL command to check the connection from the Abiquo server
[root@ABIQUOSERVER logs]# openssl s_client -connect https://remoteservices.example.com:443/am
If there are issues with the SSL certificate verification, the output will have some messages about the certificate like these ones.
verify error:num=20:unable to get local issuer certificate verify return:1 verify error:num=21:unable to verify the first certificate verify return:1
Check that you have added the certificate following the steps. Check the status of the intermediate certificate from the certificate authority (CA) that issued the SSL certificate.
Related articles
Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved