Typical error codes when using the Apple SSL implementation.
comm
The apple-err-ssl-…
constants are the typical error codes that you may get when using the Apple SSL implmentation. The error codes come from the underlying macOS implementation of SSL. The error code can be found using the reader ssl-condition-ssl-code on a ssl-condition that is signaled when an error is detected.
The following table lists the constant, the matching variable in C, the actual value, and the message associated with each variable:
Lisp constant | C name | Value | Associated message |
---|---|---|---|
|
| -9800 | SSL protocol error |
|
| -9801 | Cipher Suite negotiation failure |
|
| -9802 | Fatal alert |
|
| -9803 | I/O would block (not fatal) |
|
| -9804 | attempt to restore an unknown session |
|
| -9805 | connection closed gracefully |
|
| -9806 | connection closed via error |
|
| -9807 | invalid certificate chain |
|
| -9808 | bad certificate format |
|
| -9809 | underlying cryptographic error |
|
| -9810 | Internal error |
|
| -9811 | module attach failure |
|
| -9812 | valid cert chain, untrusted root |
|
| -9813 | cert chain not verified by root |
|
| -9814 | chain had an expired cert |
|
| -9815 | chain had a cert not yet valid |
|
| -9816 | server closed session with no notification |
|
| -9817 | insufficient buffer provided |
|
| -9818 | bad SSLCipherSuite |
|
| -9819 | unexpected message received |
|
| -9820 | bad MAC |
|
| -9821 | decryption failed |
|
| -9822 | record overflow |
|
| -9823 | decompression failure |
|
| -9824 | handshake failure |
|
| -9825 | misc. bad certificate |
|
| -9826 | bad unsupported cert format |
|
| -9827 | certificate revoked |
|
| -9828 | certificate expired |
|
| -9829 | unknown certificate |
|
| -9830 | illegal parameter |
|
| -9831 | unknown Cert Authority |
|
| -9832 | access denied |
|
| -9833 | decoding error |
|
| -9834 | decryption error |
|
| -9835 | export restriction |
|
| -9836 | bad protocol version |
|
| -9837 | insufficient security |
|
| -9838 | internal error |
|
| -9839 | user canceled |
|
| -9840 | no renegotiation allowed |
|
| -9841 | peer cert is valid, or was ignored if verification disabled |
|
| -9842 | server has requested a client cert |
|
| -9843 | peer host name mismatch |
|
| -9844 | peer dropped connection before responding |
|
| -9845 | decryption failure |
|
| -9846 | bad MAC |
|
| -9847 | record overflow |
|
| -9848 | configuration error |
|
| -9849 | unexpected (skipped) record in DTLS |
|
| -9850 | weak ephemeral dh key |
|
| -9851 | SNI |
apple-err-ssl-record-overflow
is what you typicaly get when the peer does not use SSL.
LispWorks® User Guide and Reference Manual - 18 Feb 2025 15:32:11