Skip to main content
X509Certificate.prototype.serialNumber - crypto - Node documentation
property X509Certificate.prototype.serialNumber

Usage in Deno

import { X509Certificate } from "node:crypto";

The serial number of this certificate.

Serial numbers are assigned by certificate authorities and do not uniquely identify certificates. Consider using x509.fingerprint256 as a unique identifier instead.

Type

string