انتقل إلى المحتوى الرئيسي

Interface: TlsOptions

Defined in: packages/identity/src/transport.ts:57

How to reach a provider whose certificate is not in the system store.

Properties​

ca?​

readonly optional ca?: string

Defined in: packages/identity/src/transport.ts:63

PEM certificate (or chain) to trust. Node's ca replaces the trust store: when it is set the system roots are not consulted, so a certificate for the right name from any other authority is refused. This is how WSO2's self-signed certificate is pinned.


insecureSkipVerify?​

readonly optional insecureSkipVerify?: boolean

Defined in: packages/identity/src/transport.ts:74

Skips certificate verification. Local development against a self-signed certificate only; it is a way to be intercepted anywhere else. Prefer ca.


serverName?​

readonly optional serverName?: string

Defined in: packages/identity/src/transport.ts:69

The name the certificate is verified against, and sent as SNI, when the host in the URL is another name. WSO2's shipped certificate is for localhost and compose reaches the server as wso2.