Troubleshooting Red SSL Monitoring Padlock Icons
After applying the WHMCS 7.7 update, a red padlock icon is displayed on the Products/Services tab in the administration area, and in the client area product list.
The new SSL Monitoring feature did not detect a valid SSL certificate on this domain.
- Upon page load, WHMCS performs a cURL connection to https://exampledomain.com
- Where exampledomain.com is the value from the Domain field.
- A cURL error was returned by the server, meaning the SSL could not be validated, and a red padlock icon displayed.
1. Connect to the command line of the WHMCS server and run the following command:
curl -v https://exampledomain.com
Where exampledomain.com is the value from the Domain field.
2. Examine the response and look for an error code at the end. for example:
[[email protected] ~]# curl -v https://exampledomain.com * About to connect() to exampledomain.com port 443 (#0) * Trying 184.108.40.206... connected * Connected to exampledomain.com (220.127.116.11) port 443 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none * SSL: certificate subject name '*.whmcs.com' does not match target host name 'exampledomain.com' * NSS error -12276 * Closing connection #0 curl: (51) SSL: certificate subject name '*.whmcs.com' does not match target host name 'exampledomain.com'
3. In this case, curl error 51 is returned, so the SSL Status for the exampledomain.com hosting account in WHMCS would be red.
Please work with your server admin/hosting provider to resolve the cURL connection error between your WHMCS server and the hosting server.