Uses the pinned certificates to validate the server trust. The server trust is considered valid if one of the pinned certificates match one of the server certificates. By validating both the certificate chain and host, certificate pinning provides a very secure form of server trust validation mitigating most, if not all, MITM attacks. Applications are encouraged to always validate the host and require a valid certificate chain in production environments.

Property

Property

Property

Only DER format accepted.

Property

Property

Ios

Since

4.3.4

Hierarchy

  • HttpIOSProps

Properties

Properties

sslPinning?: { host: string; certificates: string[]; validateCertificateChain?: boolean; validateHost?: boolean }[]

Determines whether to use the pinned certificates to validate the server trust.

Generated using TypeDoc