Skip to main content
TLSSocket.prototype.authorizationError - tls - Node documentation
property TLSSocket.prototype.authorizationError

Usage in Deno

import { TLSSocket } from "node:tls";

Returns the reason why the peer's certificate was not been verified. This property is set only when tlsSocket.authorized === false.

Type

Error