Skip to content

Latest commit

 

History

History
158 lines (90 loc) · 4.96 KB

add-domain-certificate-4a44c35.md

File metadata and controls

158 lines (90 loc) · 4.96 KB

add-domain-certificate

Adds a certificate to the SSL host. The certificate must already be uploaded.

Remember:

SAP Business Technology Platform, Neo environment will sunset on December 31, 2028, subject to terms of customer or partner contracts.

For more information, see SAP Note 3351844.

Tip:

This documentation refers to SAP Business Technology Platform, Neo environment. If you are looking for documentation about other environments, see SAP Business Technology Platform ↗️.

neo add-domain-certificate --account <subaccount_technical_name> --user <e-mail_or_user> --host <host> --ssl-host <ssl_hostname> --certificate <certificate_name>

The add-domain-certificate command allows you to add an already uploaded certificate of another type to the SSL host. For example, if you already have an RSA certificate bound to the SSL host, you now also have the option to add an ECC certificate to that SSL host, and vice versa.

Recommendation:

SAP BTP, Neo environment offers you the possibility to use the most modern and secure cryptography algorithm for server-side certificates, elliptic curve (ECC). If you want to adapt to the latest cryptography recommendations, you should use ECC certificates.

Parameters

To list all parameters available for this command, execute neo help add-domain-certificate in the command line.

Required

-a, --account

Subaccount technical name

Type: string (up to 30 characters; lowercase letters and numbers, starting with a letter)

-h, --host

Enter a region host.

Type: URL. For acceptable values see Regions and Hosts Available for the Neo Environment

-p, --password

To protect your password, enter it only when prompted by the console client and not explicitly as a parameter in the properties file or the command line.

Type: string

-u, --user

Use your email, SAP ID, or username.

Type: string

--certificate

Name of the certificate that you add to the SSL host

The certificate must already be uploaded.

-l, --ssl-host

SSL host as defined with the--name parameter when created, or 'default' if not specified.

Example

neo add-domain-certificate --account mysubaccount --user [email protected] --host hana.ondemand.com --ssl-host mysslhostname --certificate mynewcert

To check all currently added certificates, run the set-ssl-host command. The certificates appear in the command output as Certificate 1 : <value1>(<type1>) and Certificate 2 : <value2>(<type2>).

Command output example:

Certificate 1 : myfirstcert (RSA)

Certificate 2 : mynewcert (ECC)

If you have two certificates in total, the most recently added certificate will be listed as Certificate 2 : <value2>(<type2>). In the provided output example, mynewcert is the certificate added with the add-domain-certificate command.

Related Information

Bind the Certificate to the SSL Host

Configuring Custom Domains

set-ssl-host