Checks need to be performed:-
- CN name of the certificate imported in truststore.
- A certificate is used for multiple services with different endpoints/hostnames. check for subjectAltName in the certificate.
- If subjectAltName is configured, verify the subjectAltName with the endpoint/hostname.