Configuring a Hostname for Oracle API Platform Cloud Service - Classic

Configuring a hostname allows you to use a domain name instead of an IP address to access an Oracle API Platform Cloud Service - Classic instance.

how to get the certificate, how to apply the certificate, and then make the OTD use it as the named server

  • Register your domain name through a third-party domain registration vendor, such as verisign.com, register.com and namecheap.com.

    Note:

    Get a CA (certificate authority)-issued certificate, not an SSL (self-signed) certificate.

  • Resolve your domain name to the IP address of the Oracle API Platform Cloud Service - Classic load balancer, using the third-party domain registration vendor console.

  • Import the certificate to the load balancer. Once the certificate authority has validated the certificate, import the certificate through the Load Balancer. See Importing a CA-Issued SSL Certificate to the Load Balancer in Administering Oracle SOA Cloud Service in a Customer-Managed Environment.

  • Associate the certificate to the HTTPS listeners in the load balancer’s configuration. The load balancer then presents the SSL certificate while processing any new HTTPS requests. See Associating the SSL Certificate With the Load Balancer

  • Update the managed servers to use the domain name rather than redirect to the OTD IP address. Log in to the Admin server where Oracle API Platform Cloud Service - Classic is installed and follow these steps:

    • Under Environment, click Clusters and click the cluster name.

    • On the Configuration tab, click the HTTP tab and select Frontend Host.

    • Enter the domain name you used when you created the certificate and click Save.

    • Activate the changes and restart the managed servers.

    Note:

    Once the new hostname is configured, the gateway installer (gateway-props.json file) should always use the hostname in the managementServiceURL property.