Pinning the certificate
Firewalls usually have a self-signed certificate whose name does not match the address. Instead of switching off verification, OPNexus pins the certificate:
- When creating, or under Hosts › Edit, click Fetch certificate.
- Compare the displayed SHA-256 fingerprint with the one in OPNsense (System › Trust › Certificates).
- If it matches, confirm.
From then on OPNexus trusts only this certificate before credentials are sent, regardless of whether the firewall is reached by IP or name. If the firewall renews its certificate, the host reports "Certificate does not match the pinned one". Then fetch and confirm again. The fingerprint comparison is the step that secures pinning.