tencent cloud

Certificate
Last updated: 2025-03-11 19:41:09
Certificate
Last updated: 2025-03-11 19:41:09
Certificate is the certificates configuration item in the configuration parameter TLSConfig.

Field

Field
Type
Description
cert
string
Certificate.
key
string
Private key.

Samples

Use Certificate:
export const option = {
tlsConfig: {
'localhost': {
insecureSkipVerify: false,
rootCAs: [open('tool/tls/twoway/ca.crt')],
certificates: [
{
cert: open('tool/tls/twoway/client.crt'),
key: open('tool/tls/twoway/client.key')
}
]
}
}
}

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback