-->

DEVOPSZONES

  • Recent blogs

    website Certificate Error: SSL_ERROR_BAD_CERT_DOMAIN

    Issue:
    in.example.com uses an invalid security certificate. The certificate is only valid for the following names: *.secure.example.com, secure.example.com Error code: SSL_ERROR_BAD_CERT_DOMAIN 

    https://in.example.com/WebsiteFiles/Lead/leadform-iframe.php

    Unable to communicate securely with peer: requested domain name does not match the server's certificate.

    HTTP Strict Transport Security: false
    HTTP Public Key Pinning: false

    Solution:

    1. Login to the webserver and check following things.
    a. Certificate validity.
    root@example tmp]# openssl x509 -in example.com.pem -text -noout
    Certificate:
        Data:
            Version: 3 (0x2)
            Serial Number:
                xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
            Signature Algorithm: 
            Issuer: C=US, O=GeoTrust Inc., CN=GeoTrust SSL CA - G3
            Validity
                Not Before: Sep 27 00:00:00 2015 GMT
                Not After : Nov 25 23:59:59 2017 GMT --> Expire Date
    b. Certificate validity for domain. The certificate should have been valid for following Domain.

    Subject: C=LU, ST=Luxembourg, L=Luxembourg, O=Example Commercial, CN=*.example.com




    No comments