tencent cloud

All product documents
Tencent Cloud Observability Platform
TLSConfig
Last updated: 2025-03-11 19:41:09
TLSConfig
Last updated: 2025-03-11 19:41:09
TLSConfig is the tlsConfig configuration item in the global parameter configuration Option.

Field

Field
Type
Description
insecureSkipVerify
boolean
Control whether the client verifies the server's certificate chain and host name; if true, crypto/tls accepts any certificate from the server as well as any host name within that certificate.
rootCAs
Array
Root certificates.
certificates
Array
The list of client certificates.
serverName
string
Match the host name in the certificate.

Samples

Use TLSConfig:
export const option = {
tlsConfig: {
'localhost': {
insecureSkipVerify: false,
rootCAs: [open('ca.crt')],
certificates: [
{
cert: open('client.crt'),
key: open('client.key')
}
]
serverName: "xxx.com"
}
}
}

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

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon