When you create a domain with a load balancer, Oracle WebLogic Server for Oracle Cloud Infrastructure configures the load balancer to use Secure Socket Layer (SSL) and also adds a demonstration self-signed certificate. Oracle recommends you upload your own SSL certificate, and then associate the certificate with the HTTPS listener.
Note:This procedure applies only to domains that were created after June 2020. For domains created before June 2020, see Configure SSL for a Domain.
You can use a custom, self-signed SSL certificate, or a certificate that you’ve obtained from a Certificate Authority (CA). For production WebLogic Server environments, Oracle recommends that you use a CA-issued SSL certificate, which reduces the chances of experiencing a man-in-the-middle attack.
- Access the Oracle Cloud Infrastructure console.
- From the navigation menu, select Networking, and then click Load Balancers.
- Select the Compartment in which the network resources for your domain were created.Depending on how the stack was initially created, this might be the same compartment that contains the compute instances for the domain.
- Click the load balancer that was provisioned as part of your stack,
- Click Certificates.
- Click Add Certificate.
- Enter a name for your certificate.
- Either upload the certificate file, or paste its contents into the text area.
- If applicable, specify a CA certificate or a private key file.For example, if you are using a self-signed certificate, upload the corresponding private key file. See Managing SSL Certificates in the Oracle Cloud Infrastructure documentation.
- Click Add Certificate, and then click Close.
- After the certificate was successfully added, click Listeners.
- Edit the
- Select your new certificate.
- Click Save Changes, and then click Close.
You cannot modify an existing load balancer certificate. You must add a new certificate, and then associate the listener with the new certificate.