tencent cloud

Performance Testing Service

Certificate

PDF
Focus Mode
Font Size
Last updated: 2025-03-10 17:04:45
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')
}
]
}
}
}


Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback