Getting Information About a Server Certificate

You can get information about one of your server certificates uploaded in EIM, like its ID or OUTSCALE Resource Name.

Using AWS CLI, you can also get information about the content of a server certificate like its certificate body or certification chain.

Getting Information About a Server Certificate Using Cockpit

  1. Click Services > Load Balancers.

  2. Click Manage Certificates .
    The list of uploaded server certificates appears with information about each of them.

Getting Information About a Server Certificate Using AWS CLI

To get information about a server certificate, use the get-server-certificate command following this syntax:

Request sample
$ aws iam get-server-certificate \
    --profile YOUR_PROFILE \
    --server-certificate-name my-server-certificate \
    --endpoint https://eim.eu-west-2.outscale.com

This command contains the following attributes that you need to specify:

  • (optional) profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.

  • server-certificate-name: The name of the certificate.

  • endpoint: The endpoint corresponding to the Region you want to send the request to.

The get-server-certificate command returns the following elements:

  • ServerCertificate: Information about the server certificate. This element contains the following information:

    • CertificateBody: The PEM-encoded x509 certificate.

    • CertificateChain: The PEM-encoded chain of intermediate certification authorities.

    • ServerCertificateMetadata: The metadata of the server certificate. This element contains the following information:

      • Arn: The OUTSCALE Resource Name (ORN) of the server certificate.

      • Path: The path to the server certificate.

      • ServerCertificateId: The ID of the server certificate, generated by EIM.

      • ServerCertificateName: The name of the server certificate.

Result sample
{
   "ServerCertificate":
                       {
                         "CertificateBody": "...",
                         "CertificateChain": "...",
                         "ServiceCertificateMetadata":
                                                      {
                                                       "Arn": "my_load_balancer_1234567890.lbu.eu-west-2.outscale.com",
                                                       "Path": "/division/subdivision",
                                                       "ServerCertificateId": "ABCDEFGHIJK1L2MNOPQRS",
                                                       "ServerCertificateName": "my-server-certificate",
                                                      }
                      }
}

Related Pages

Corresponding API Method

AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.