set_apim_host

By running the set_apim_host command, you can pair the Developer Portal site with API Manager, and create a new default TLS certificate.

CAUTION:
Changing the default Developer Portal APIs can introduce unexpected effects that are not documented.
The following help text is displayed when you run the command followed by -h:
Usage (standalone apim): cat apic_public_key | set_apim_host [-h] devportal_fqdn apic_fqdn[:port]
Usage (cluster of apim): cat apic_public_key | set_apim_host [-h] devportal_fqdn apic_balancer_fqdn[:port]

Pairs the IBM Developer Portal with an IBM API Manager and creates a new default SSL certificate.

To setup an IBM Developer Portal connected to a single IBM API Manager:

  devportal_fqdn is the fully qualified domain name of this developer portal machine.
  apic_fqdn is the fully qualified domain name or ip address of the IBM API Manager.
    The [:port] defaults to 443 or you can supply one by appending :port_number e.g. :6871

To setup an IBM Developer Portal connected to IBM API Manager cluster:

  devportal_fqdn is the fully qualified domain name of this developer portal machine.
  apic_balancer_fqdn is the fully qualified domain name or ip address of the load balancer for IBM API Manager.
    The [:port] defaults to :443 or you can supply one by appending :port_number e.g. :6871

The public ssh key (apic_public_key) generated by IBM API Connect to allow control of this IBM Developer Portal should be present on <stdin> when executing this script.

-h shows usage information
Note: If a :port_number is entered for this command, it must match the port number that is configured for the Developer Portal APIs in the TLS Profiles section of the Settings page of the Cloud Manager UI.