TlsConfigCaCert
import type { TlsConfigCaCert } from "https://googleapis.deno.dev/v1/ces:v1.ts";The CA certificate.
interface TlsConfigCaCert {
cert?: Uint8Array;
displayName?: string;
}§Properties
§
cert?: Uint8Array
[src]Required. The allowed custom CA certificates (in DER format) for HTTPS
verification. This overrides the default SSL trust store. If this is empty
or unspecified, CES will use Google's default trust store to verify
certificates. N.B. Make sure the HTTPS server certificates are signed with
"subject alt name". For instance a certificate can be self-signed using the
following command, openssl x509 -req -days 200 -in example.com.csr
-signkey example.com.key \ -out example.com.crt \ -extfile <(printf
"\nsubjectAltName='DNS:www.example.com'")