All Manuals > LispWorks® User Guide and Reference Manual > 32 The COMM Package

apple-err-ssl-protocol

apple-err-ssl-negotiation

apple-err-ssl-fatal-alert

apple-err-ssl-would-block

apple-err-ssl-session-not-found

apple-err-ssl-closed-graceful

apple-err-ssl-closed-abort

apple-err-ssl-x-cert-chain-invalid

apple-err-ssl-bad-cert

apple-err-ssl-crypto

apple-err-ssl-internal

apple-err-ssl-module-attach

apple-err-ssl-unknown-root-cert

apple-err-ssl-no-root-cert

apple-err-ssl-cert-expired

apple-err-ssl-cert-not-yet-valid

apple-err-ssl-closed-no-notify

apple-err-ssl-buffer-overflow

apple-err-ssl-bad-cipher-suite

apple-err-ssl-peer-unexpected-msg

apple-err-ssl-peer-bad-record-mac

apple-err-ssl-peer-decryption-fail

apple-err-ssl-peer-record-overflow

apple-err-ssl-peer-decompress-fail

apple-err-ssl-peer-handshake-fail

apple-err-ssl-peer-bad-cert

apple-err-ssl-peer-unsupported-cert

apple-err-ssl-peer-cert-revoked

apple-err-ssl-peer-cert-expired

apple-err-ssl-peer-cert-unknown

apple-err-ssl-illegal-param

apple-err-ssl-peer-unknown-ca

apple-err-ssl-peer-access-denied

apple-err-ssl-peer-decode-error

apple-err-ssl-peer-decrypt-error

apple-err-ssl-peer-export-restriction

apple-err-ssl-peer-protocol-version

apple-err-ssl-peer-insufficient-security

apple-err-ssl-peer-internal-error

apple-err-ssl-peer-user-cancelled

apple-err-ssl-peer-no-renegotiation

apple-err-ssl-peer-auth-completed

apple-err-ssl-client-cert-requested

apple-err-ssl-host-name-mismatch

apple-err-ssl-connection-refused

apple-err-ssl-decryption-fail

apple-err-ssl-bad-record-mac

apple-err-ssl-record-overflow

apple-err-ssl-bad-configuration

apple-err-ssl-unexpected-record

apple-err-ssl-weak-peer-ephemeral-dh-key

apple-err-ssl-client-hello-received Constants

Summary

Typical error codes when using the Apple SSL implementation.

Package

comm

Description

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:

APPLE SSL error codes
Lisp constantC nameValueAssociated message

apple-err-ssl-protocol

errSSLProtocol

-9800

SSL protocol error

apple-err-ssl-negotiation

errSSLNegotiation

-9801

Cipher Suite negotiation failure

apple-err-ssl-fatal-alert

errSSLFatalAlert

-9802

Fatal alert

apple-err-ssl-would-block

errSSLWouldBlock

-9803

I/O would block (not fatal)

apple-err-ssl-session-not-found

errSSLSessionNotFound

-9804

attempt to restore an unknown session

apple-err-ssl-closed-graceful

errSSLClosedGraceful

-9805

connection closed gracefully

apple-err-ssl-closed-abort

errSSLClosedAbort

-9806

connection closed via error

apple-err-ssl-x-cert-chain-invalid

errSSLXCertChainInvalid

-9807

invalid certificate chain

apple-err-ssl-bad-cert

errSSLBadCert

-9808

bad certificate format

apple-err-ssl-crypto

errSSLCrypto

-9809

underlying cryptographic error

apple-err-ssl-internal

errSSLInternal

-9810

Internal error

apple-err-ssl-module-attach

errSSLModuleAttach

-9811

module attach failure

apple-err-ssl-unknown-root-cert

errSSLUnknownRootCert

-9812

valid cert chain, untrusted root

apple-err-ssl-no-root-cert

errSSLNoRootCert

-9813

cert chain not verified by root

apple-err-ssl-cert-expired

errSSLCertExpired

-9814

chain had an expired cert

apple-err-ssl-cert-not-yet-valid

errSSLCertNotYetValid

-9815

chain had a cert not yet valid

apple-err-ssl-closed-no-notify

errSSLClosedNoNotify

-9816

server closed session with no notification

apple-err-ssl-buffer-overflow

errSSLBufferOverflow

-9817

insufficient buffer provided

apple-err-ssl-bad-cipher-suite

errSSLBadCipherSuite

-9818

bad SSLCipherSuite

apple-err-ssl-peer-unexpected-msg

errSSLPeerUnexpectedMsg

-9819

unexpected message received

apple-err-ssl-peer-bad-record-mac

errSSLPeerBadRecordMac

-9820

bad MAC

apple-err-ssl-peer-decryption-fail

errSSLPeerDecryptionFail

-9821

decryption failed

apple-err-ssl-peer-record-overflow

errSSLPeerRecordOverflow

-9822

record overflow

apple-err-ssl-peer-decompress-fail

errSSLPeerDecompressFail

-9823

decompression failure

apple-err-ssl-peer-handshake-fail

errSSLPeerHandshakeFail

-9824

handshake failure

apple-err-ssl-peer-bad-cert

errSSLPeerBadCert

-9825

misc. bad certificate

apple-err-ssl-peer-unsupported-cert

errSSLPeerUnsupportedCert

-9826

bad unsupported cert format

apple-err-ssl-peer-cert-revoked

errSSLPeerCertRevoked

-9827

certificate revoked

apple-err-ssl-peer-cert-expired

errSSLPeerCertExpired

-9828

certificate expired

apple-err-ssl-peer-cert-unknown

errSSLPeerCertUnknown

-9829

unknown certificate

apple-err-ssl-illegal-param

errSSLIllegalParam

-9830

illegal parameter

apple-err-ssl-peer-unknown-ca

errSSLPeerUnknownCa

-9831

unknown Cert Authority

apple-err-ssl-peer-access-denied

errSSLPeerAccessDenied

-9832

access denied

apple-err-ssl-peer-decode-error

errSSLPeerDecodeError

-9833

decoding error

apple-err-ssl-peer-decrypt-error

errSSLPeerDecryptError

-9834

decryption error

apple-err-ssl-peer-export-restriction

errSSLPeerExportRestriction

-9835

export restriction

apple-err-ssl-peer-protocol-version

errSSLPeerProtocolVersion

-9836

bad protocol version

apple-err-ssl-peer-insufficient-security

errSSLPeerInsufficientSecurity

-9837

insufficient security

apple-err-ssl-peer-internal-error

errSSLPeerInternalError

-9838

internal error

apple-err-ssl-peer-user-cancelled

errSSLPeerUserCancelled

-9839

user canceled

apple-err-ssl-peer-no-renegotiation

errSSLPeerNoRenegotiation

-9840

no renegotiation allowed

apple-err-ssl-peer-auth-completed

errSSLPeerAuthCompleted

-9841

peer cert is valid, or was ignored if verification disabled

apple-err-ssl-client-cert-requested

errSSLClientCertRequested

-9842

server has requested a client cert

apple-err-ssl-host-name-mismatch

errSSLHostNameMismatch

-9843

peer host name mismatch

apple-err-ssl-connection-refused

errSSLConnectionRefused

-9844

peer dropped connection before responding

apple-err-ssl-decryption-fail

errSSLDecryptionFail

-9845

decryption failure

apple-err-ssl-bad-record-mac

errSSLBadRecordMac

-9846

bad MAC

apple-err-ssl-record-overflow

errSSLRecordOverflow

-9847

record overflow

apple-err-ssl-bad-configuration

errSSLBadConfiguration

-9848

configuration error

apple-err-ssl-unexpected-record

errSSLUnexpectedRecord

-9849

unexpected (skipped) record in DTLS

apple-err-ssl-weak-peer-ephemeral-dh-key

errSSLWeakPeerEphemeralDhKey

-9850

weak ephemeral dh key

apple-err-ssl-client-hello-received

errSSLClientHelloReceived

-9851

SNI

Notes

apple-err-ssl-record-overflow is what you typicaly get when the peer does not use SSL.

See also

ssl-condition


LispWorks® User Guide and Reference Manual - 18 Feb 2025 15:32:11