206003 - pfSense TLS/SSL Certificate Error
Agent error code #206003 indicates that the agent could not verify the TLS certificate presented by pfSense. The TLS handshake failed before any API request could be sent.
This error is distinct from connection refused or timeout errors (#206000, #206004). Error #206003 means the network path to pfSense is working but the certificate is not trusted by the agent.
Common causes include:
- pfSense is presenting its default self-signed certificate
- The certificate is signed by an internal CA that the agent host does not trust
- The certificate has expired
- The hostname configured in the Knocknoc backend does not match the certificate's Subject or SAN
Steps to Resolve
Install a Trusted Certificate on pfSense
Confirm the Hostname Matches the Certificate
- In the Knocknoc backend configuration, confirm the pfSense URL uses the name on the certificate (not an IP address, unless the certificate also has an IP SAN)
- If you need to use a different hostname, reissue the certificate to include it as a SAN
Use the Insecure Option (Lab Only)
If the pfSense host genuinely cannot present a trusted certificate (for example, a lab environment), enable Insecure in the Knocknoc backend configuration to skip TLS verification.
Skipping verification means an attacker on the network between the agent and pfSense could intercept the API key. Only use this when the agent and pfSense share a trusted segment.