Cannot install new certificates (command not found)

Verify the subject alternate names you’re including when issuing a certificate. Be aware that the production environment has strict rate limits and while testing you should be using the staging environment.

$ echo | openssl s_client -connect beluxin.com:443 -servername beluxin.com -verify_hostname beluxin.com 2>/dev/null | grep Verification
Verification error: Hostname mismatch

$ echo | openssl s_client -connect beluxin.com:443 -servername beluxin.com -verify_hostname beluxin.com 2>/dev/null | openssl x509 -noout -text | grep -oP '(?<=DNS:)[^,]+'
kentivo.com

$ echo | openssl s_client -connect kentivo.com:443 -servername kentivo.com -verify_hostname kentivo.com 2>/dev/null | openssl x509 -noout -text | grep -oP '(?<=DNS:)[^,]+'
kentivo.com
2 Likes