IBM Cloud Docs
Creating Total TLS

Creating Total TLS

Total TLS allows CIS to issue individual certificates for your proxied hostnames. These certificates protect the proxied hostnames not covered by Universal certificates.

Total TLS certificates follow the Common Name (CN) restriction of 64 characters (RFC 5280). If you have a hostname that exceeds this length, you can create an Advanced Certificate through API to cover it.

The issued certificates have a type of Advanced - Total TLS, and their default validity period is 90 days.

Getting the Total TLS for API

Follow these steps to get the Total TLS:

  1. Set up your API environment with the correct variables.

  2. Store the following values in variables to be used in the API command:

    CRN: The full URL-encoded Cloud Resource Name (CRN) of the service instance.

    ZONE_ID: The domain ID.

  3. When all variables are initiated, get the Total TLS:

    curl --request GET \
      --url https://api.cis.cloud.ibm.com/v1/{CRN}/zones/{ZONE_ID}/acm/total_tls \
      --header 'Content-Type: application/json' \
      --header 'X-AUTH-USER-TOKEN: REDACTED'
    

Changing the Total TLS with API

Follow these steps to create the Total TLS:

  1. Set up your API environment with the correct variables.

  2. Store the following values in variables to be used in the API command:

    CRN: The full URL-encoded Cloud Resource Name (CRN) of the service instance.

    ZONE_ID: The domain ID.

  3. When all variables are initiated, create the Total TLS:

    curl --request POST \
      --url https://api.cis.cloud.ibm.com/v1/{CRN}/zones/{ZONE_ID}/acm/total_tls \
      --header 'Content-Type: application/json' \
      --header 'X-AUTH-USER-TOKEN: REDACTED' \
      --data '{
          "enabled": true,
          "certificate_authority": "google"
      }'
    

    To enable Total TLS with the API, send a POST request with the enabled parameter set to either true or false. You can also specify a certificate authority by providing a value for the certificate_authority parameter.

Limitations

Total TLS has the following limitations:

You can use other types of certificates or manually order advanced certificates for these hostnames.

Deleting certificates

After Total TLS is enabled, be cautious when deleting Total TLS-managed certificates associated with proxied hostnames. Doing so signals that the hostname should be excluded from future Total TLS issuance. The system will not automatically provision new certificates for that hostname, even if its DNS record is deleted and re-created later.