SSL warning is seen when accessing a wordpress application hosted on Openshift
Issue
- When trying to login Wordpress admin it always connects through https instead of http as no SSL certificate is configured for application why does it gives ssl warning message to trust.
- Curl command shows the below output:
curl --head -v https://www.abc.com/wp-login.php
* About to connect() to www.abc.com port 443 (#0)
* Trying 10.10.10.10... connected
* Connected to www.abc.com (10.10.10.10) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* Unable to initialize NSS database
* Initializing NSS with certpath: none
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* SSL: certificate subject name '*.rhcloud.com' does not match target host name 'www.abc.com'
* NSS error -12276
* Closing connection #0
curl: (51) SSL: certificate subject name '*.rhcloud.com' does not match target host name 'www.abc.com'
Environment
- Openshift Online
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.