Informix Error -28022: A trusted connection was not established because the encryption requirement for the connection was not met.
Cause and resolution
A trusted connection was not established because the encryption requirement for the connection was not met.
Ensure that the encryption requirement for the trusted context is correctly defined and that the port is correctly encrypted.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-28022 fires when a trusted context's encryption requirement isn't satisfied by the connection — per the official guidance.
- The connection's port not correctly encrypted to meet the trusted context's requirement, per the official guidance — the direct, only cause.
Solutions / Resolution
- Ensure the encryption requirement for the trusted context is correctly defined, per the official guidance.
- Ensure the port is correctly encrypted, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an unmet encryption requirement.
Diagnostic Checks
- Check the trusted context's encryption requirement, and the connecting port's actual encryption.
Related Errors / Related Topics
- -28021 — "A trusted connection was not established because a trusted context is not defined or not enabled for the specified authorization ID." A related trusted-connection error, on context definition/enablement rather than encryption.
A trusted context's encryption requirement wasn't met — check the requirement and the port's actual encryption.