aptible endpoints:https:create
This command created a new HTTPS Endpoint.
Synopsis
Examples
In all the examples below, $SERVICE
represents the name of a Service for the app you are adding an Endpoint to.
📘 If your app is using an Implicit Service, the service name is always
cmd
.
Create a new Endpoint using a new Custom Certificate
In the example below, $CERTIFICATE_FILE
is the path to a file containing a PEM-formatted certificate bundle, and $PRIVATE_KEY_FILE
is the path to a file containing the matching private key (see Format for more information).
Create a new Endpoint using an existing Custom Certificate
In the example below, $CERTIFICATE_FINGERPRINT
is the SHA-256 fingerprint of a Custom Certificate that exist in the same Environment as the App you are adding an Endpoint for.
📘 Tip: Use the Dashboard to easily locate the Certificate Fingerprint for a given Certificate.
Create a new Endpoint using Managed TLS
In the example below, $YOUR_DOMAIN
is the domain you intend to use with your Endpoint.
After initial provisioning completes, the CLI will return the Managed HTTPS Validation Records you need to create in order to finalize the Endpoint.
Once you’ve created these records, use the aptible endpoints:renew
to complete provisioning.
Create a new Endpoint using a Default Domain
Create a new Endpoint using a custom Container Port and an existing Certificate
Was this page helpful?