Adding a Load Balancer Certificate

Describes how to add a certificate to a load balancer.

Using the Console

  1. Open the navigation menu, click Networking, and then click Load Balancers.

  2. Select the Compartment from the list.

    All load balancers and network load balancers in that compartment are listed in tabular form.

  3. (optional) Select a State from the list to limit the load balancers displayed to that state.

  4. (optional) Uncheck Load Balancer under Type to only display load balancers.

  5. Select the load balancer whose rule set you want to delete.

    The Load Balancer Details dialog box appears.

  6. Click Certificates under Resources.

    The Certificates list appears. All certificates are listed in tabular form.

  7. Select the Load Balancer Managed Certificate certificate resource type from the Certificate Resource list

    The load balancer managed certificates are displayed.

  8. Click Add Certificate.

    The Add Certificate dialog box appears.

  9. Enter the following:

    • Certificate Name: Required. Specify a friendly name for the certificate bundle. It must be unique within the load balancer, and it cannot be changed in the Console. (It can be changed using the API.)

    • Choose SSL Certificate File: Required. Drag and drop the certificate file, in PEM format, into the SSL Certificate field.

      Alternatively, you can choose the Paste SSL Certificate option to paste a certificate directly into this field.

      Important

      If you submit a self-signed certificate for backend SSL, you must submit the same certificate in the corresponding CA Certificate field.

    • Specify CA Certificate: Optional. (Recommended for backend SSL termination configurations.) Select (check) this box if you want to provide a CA certificate.

      • Choose CA Certificate File: Drag and drop the CA certificate file, in PEM format, into the CA Certificate field.

        Alternatively, you can choose the Paste CA Certificate option to paste a certificate directly into this field.

    • Specify Private Key: Optional. (Required for SSL termination.) Select (check) this box if you want to provide a private key for the certificate.

      • Choose Private Key File: Drag and drop the private key, in PEM¬†format, into the Private Key field.

        Alternatively, you can choose the Paste Private Key option to paste a private key directly into this field.

      • Enter Private Key Passphrase: Optional. Specify the private key passphrase.

  10. Click Add Certificate.

Using the CLI

Use the oci lb certificate create command and required parameters to add a certificate to a load balancer:

oci lb certificate create --certificate-name certificate_name --load-balancer-id load_balancer_id --items items [OPTIONS]

For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

Using the API

Run the CreateCertificate method to create a certificate for a load balancer.