Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Protocol.Security.CertificateSecurityState
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { CertificateSecurityState } = Protocol.Security;

Details about the security state of the page certificate.

Properties

protocol: string

Protocol name (e.g. "TLS 1.2" or "QUIC").

keyExchange: string

Key Exchange used by the connection, or the empty string if not applicable.

optional
keyExchangeGroup: string

(EC)DH group used by the connection, if applicable.

cipher: string

Cipher name.

optional
mac: string

TLS MAC. Note that AEAD ciphers do not have separate MACs.

certificate: string[]

Page certificate.

subjectName: string

Certificate subject name.

issuer: string

Name of the issuing CA.

Certificate valid from date.

Certificate valid to (expiration) date

optional
certificateNetworkError: string

The highest priority network error code, if the certificate has an error.

certificateHasWeakSignature: boolean

True if the certificate uses a weak signature aglorithm.

certificateHasSha1Signature: boolean

True if the certificate has a SHA1 signature in the chain.

modernSSL: boolean

True if modern SSL

obsoleteSslProtocol: boolean

True if the connection is using an obsolete SSL protocol.

obsoleteSslKeyExchange: boolean

True if the connection is using an obsolete SSL key exchange.

obsoleteSslCipher: boolean

True if the connection is using an obsolete SSL cipher.

obsoleteSslSignature: boolean

True if the connection is using an obsolete SSL signature.