Managing TLS Server Certificates via the Command Line
You can use the datasphere command line interface to list, upload, and delete TLS server certificates.
Prerequisites
-
Data Warehouse General (-R------) - To access SAP Datasphere.
-
System Information (-RU-----) - To access the System tool.
-
Install the datasphere command line interface (see Install or Update the SAP Datasphere Command Line Interface).
-
Log in to your SAP Datasphere tenant (see Log into the Command Line Interface via an OAuth Client).
datasphere configuration certificates
For information about managing certificates in SAP Datasphere, see Manage Certificates.
List TLS Certificates
You can list all TLS server certificates uploaded to SAP Datasphere.
datasphere configuration certificates list
Upload TLS Certificates
You can upload a TLS server certificate.
datasphere configuration certificates upload
--description <description>
--file-path<path> | --input <input>
|
Parameter |
Description |
|---|---|
|
--description <description> |
Enter a description to provide intelligible information on the certificate, for example to point out to which connection type the certificate applies. |
|
--file-path<path> |
[optional] Enter a path to a certificate file with a supported file extension - .pem (privacy-enhanced mail), .crt, or .cer. |
|
--input <input> |
[optional] Provide your certificate definition in stringified json format instead of via the --file-path option. |
datasphere configuration certificates upload --description SAP Success Factors --file-path MySAPSuccssFactorsCertificate.pem
Delete TLS Certificates
You can delete a certificate.
datasphere configuration certificates delete
--fingerprint <fingerprint>
|
Parameter |
Description |
|---|---|
|
--fingerprint <fingerprint> |
Enter the fingerprint of the certificate that you want to delete. You can retrieve the fingerprint via the command datasphere configuration certificates list. |