To initiate secure communications with an external server, the Teradata Query Service must trust the certificate authority that issued the certificate of the external server. You can install one or more trusted root certificates that are issued by a trusted certificate authority (CA).
curl -k -X POST 'https://<QS_HOSTNAME>:1443/certificates/authorities?certificateAlias=teradata&alias=teradata' \ --header 'Authorization: Basic <ADMIN_TOKEN>' \ -F 'file=@"example.ca"'
Where:
- alias is the name given to the certificate and can be up to 30 characters.
- file is the certificate you want to install.