Troubleshooting Tip: Unable to validate VM license - Certificate failed verification. Error: 18 (self-signed certificate)
| Description | This article describes how to resolve issues when FortiGate VM is unable to validate a license with FortiGuard Distribution Services (FDS) when using a web proxy. |
| Scope | FortiGate. |
| Solution | User will get the output below, indicating license validation failed.
upd_daemon[1980]-Received update request from pid=13496
Run the debug below to identify the reason why the VM is unable to validate the license.
diagnose debug reset
Output:
The log indicates that the license validation failure is caused by an SSL certificate verification error.
At the time of the connection attempt, the SSL handshake failed due to a self-signed certificate:
Error Code 18 – Self-signed certificate Depth 0 – The failure occurred at the server certificate level
This means the virtual machine does not trust the certificate presented by the server because it is self-signed and not issued by a trusted Certificate Authority (CA) in the VM’s trust store.
As a result, the SSL connection could not be established, leading to license validation failure.
If the certificate (check the certificate 'subject') originates from the proxy server or from any intermediate CA in the chain, these certificates must be properly imported into the FortiGate device.
Ensure that the entire certificate chain is loaded so that it is recognized and trusted during the SSL handshake. |
