Setting custom certificates
Use the APICUP installer certs
commands to set custom
certificates.
About this task
- Customization of public certificates and public user-facing certificates is recommended. Customization of internal certificates is strongly discouraged.
- To view a list of public, public user-facing, and internal certificates, see Certificate management: Read This First. For details on each certificate, see Certificate reference.
The APICUP installer can be used to set certificates for each subsystem during
installation. If certificates are not explicitly set by using the apicup certs set
command, then default certificates are generated by APICUP. The default certificates are
self-signed, so they might not provide a level of trust suitable for external communication.
- Requirements for custom certificates:
-
- Extended Key Usage (EKU), either serverAuth or clientAuth depending upon the type of certificate. Certificates of type Server must have an Extended Key Usage with serverAuth purpose. Certificates of type Client must have an Extended Key Usage with clientAuth purpose.
- Subject Alternative Name (SAN) for the required hosts
- Any custom common certificates that are being used must be set prior to setting any custom certificates for a subsystem.
- Certificates and identical endpoints:
-
The Management subsystem has four public endpoints: api-manager-ui, cloud-admin-ui, platform-api, and consumer-api. Distinct TLS certificates can be set for each endpoint. However, if any two endpoints are identical, only one TLS certificate will be effective. When 2 or more endpoints are set to the same host, the secrets associated with the endpoints should be the same or contain the same certificate files.
Note: Once API Connect has been installed (meaning that theapicup subsys install SUBSYS
command has been executed) with a given set of certificates, only the certificates for the public ingress endpoints (portal-www, api-manager-ui, cloud-admin-ui, platform-api, consumer-api) can be modified. The TLS certificates involved in mutual authentication (portal-admin-ingress, portal-client, analytics-ingestion-ingress, analytics-ingestion-client) cannot be modified after the install command has been executed.