Adding a Load Balancer Certificate

Add an SSL certificate to a load balancer.

For prerequisite information, see SSL Certificates for Load Balancers.

    1. Open the navigation menu, click Networking, and then click Load balancers. Click Load balancer. The Load balancers page appears.

    2. Select the Compartment from the list. All load balancers in that compartment are listed in tabular form.

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

    4. Select the load balancer whose rule set you want to delete. The load balancer's Details page appears.

    5. Click Certificates under Resources. The Certificates list appears. All certificates are listed in tabular form.

    6. Select the Load balancer managed certificate certificate resource type from the Certificate resource list. The load balancer managed certificates are displayed.

    7. Click Add certificate. The Add certificate dialog box appears.

    8. Complete the following:

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

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

        You can also 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: (Recommended for backend SSL termination configurations.) Select to provide a CA certificate.

        • Choose CA certificate file: Drag the CA certificate file, in PEM format, into the CA certificate field.

          You can also choose the Paste CA certificate option to paste a certificate directly into this field.

      • Specify private key: (Required for SSL termination.) Select to provide a private key for the certificate.

        • Choose private key file: Drag the private key, in PEM¬†format, into the Private key field.

          You can also choose the Paste private key option to paste a private key directly into this field.

        • Enter private key passphrase: Enter the private key passphrase.

    9. Click Add certificate.

  • 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 parameters and values for CLI commands, see the CLI Command Reference.

  • Run the CreateCertificate method to add a certificate to a load balancer.