Download cluster certificate

Last Updated: Jun 26, 2017

With the downloaded certificate, you can connect to the endpoint exposed from the cluster through Docker Swarm API or Docker Client.

Operating procedure

  1. Obtain the access address.

    1. Log on to the Container Service console.
    2. Click Clusters in the left navigation pane.

    3. Select a cluster in the cluster list and click Manage.

      The cluster details page is displayed, showing the cluster connection information.


  2. Download and save the certificate.

    Configure a TLS certificate before you use the preceding service address to access the Docker cluster.

    Click Download Certificate in the cluster details page to download the certificate which is contained in the file. In the following example, the downloaded certificate is saved to the ~/.acs/certs/ClusterName/ directory. ClusterName indicates the name of your cluster. You can save the certificate to a different directory, but the ~/.acs/certs/ClusterName/ directory is recommended for easy management.

    1. mkdir ~/.acs/certs/ClusterName/ #Replace ClusterName with your cluster name
    2. cd ~/.acs/certs/ClusterName/
    3. cp /path/to/ .
    4. unzip

    The file contains ca.pem, cert.pem, and key.pem files.

Thank you! We've received your feedback.