Create a Self-Signed Certificate | Teradata Query Service - Creating a Self-Signed Certificate - Teradata Query Service

Teradata® Query Service Installation, Configuration, and Usage Guide for Customers

Product
Teradata Query Service
Release Number
4.01.03.01
Published
April 2022
Language
English (United States)
Last Update
2022-06-20
dita:mapPath
xnt1648539781334.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-2700
Product Category
Analytical Ecosystem
A self-signed certificate (SSC) provides security for an internal site or serves as a temporary measure while a fully authenticated certificate is obtained from a CA. Installing a certificate replaces the existing certificate. After a certificate is replaced, it cannot be reinstalled. Restart Query Service to load the new certificate.

Run the following sample request to create a self-signed certificate:

curl -k -X POST 'https://<QS_HOSTNAME>:1443/certificates/selfsigned' \
--header 'Authorization: Basic <ADMIN_TOKEN>' \
--header 'Content-Type: text/plain' \
--data-raw '{
    "expiration": 12,
    "commonName": "<QS_HOSTNAME>",
    "organizationalUnit": "Teradata Corporation",
    "organization": "UDA",
    "city": "San Diego",
    "state": "California",
    "country": "US",
    "email": "john.doe@teradata.com",
    "san1": "TD",
    "san2": "TD Inc",
    "san3": "Teradata"
}'
Where:
Parameter Description
commonName Domain name which is <QS_HOSTNAME>
organizationalUnit Business unit
organization Company name
city City or locality of the organization
state State or province of the organization
country Country code where the organization is located
email [Optional] Email address of the requester
expiration Select an expiration period