Use this command to verify the SSL certificate for the domain www.somedomain.com
openssl s_client -showcerts -connect www.somedomain.com:443
If the certificate is correctly installed the result should contain at the end:
Verify return code: 0 (ok)
That’s it