Importing a TLS Certificate

TLS API Call Examples

Fields in tls_info

Field

Description

Required or Not

tlsCert

Server certificate

Yes

tlsCaPath

Path for storing the CA certificate

Yes

tlsCaFile

CA certificate list

Yes

tlsCrlPath

Path for storing the CRL

No

tlsCrlFile

CRL

No

tlsPk

Private key

Yes

tlsPkPwd

Private key password

Yes

packagePath

OpenSSL library path

Yes

Certificate security requirements:

  • Use industry-recognized secure and reliable asymmetric encryption algorithms, key exchange algorithms, key lengths, hash algorithms, and certificate formats.
  • Certificates must be within their valid periods.