Guides & Tutorials7.7 Update TroubleshootingTroubleshooting Red SSL Monitoring Padlock Icons

Troubleshooting Red SSL Monitoring Padlock Icons

Symptoms

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.

Red Packlock Icon

Cause

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.

Troubleshooting

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 104.20.20.8... connected
* Connected to exampledomain.com (104.20.20.8) 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.

Solution

Please work with your server admin/hosting provider to resolve the cURL connection error between your WHMCS server and the hosting server.