The reason might be that the host in the URL (https://example.com/ => example.com) doesn’t match the ServerName setting in the SSL host for your web server. You might not have configured this, so for Apache add:

Thanks dude for the solution.You guys really helped me a lot.We were suddenly getting this error and unable to find a proper solution as the error message leaves nothing to resolve the issue and our’s is not at all the server using the SSL protocol which led us confused.