Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions flyctl/cmd/fly_certs.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ fly certs [command] [flags]
## Available Commands
* [add](/docs/flyctl/certs-add/) - Add a certificate for an app
* [check](/docs/flyctl/certs-check/) - Show certificate and DNS status
* [import](/docs/flyctl/certs-import/) - Import a custom certificate
* [list](/docs/flyctl/certs-list/) - List certificates for an app
* [remove](/docs/flyctl/certs-remove/) - Removes a certificate from an app
* [setup](/docs/flyctl/certs-setup/) - Shows certificate setup instructions
Expand Down
33 changes: 33 additions & 0 deletions flyctl/cmd/fly_certs_import.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Import a custom TLS certificate for a hostname.

Upload your own certificate and private key in PEM format. Requires domain
ownership verification via DNS before the certificate becomes active.

## Usage
~~~
fly certs import <hostname> [flags]
~~~

## Options

~~~
-a, --app string Application name
-c, --config string Path to application configuration file
--fullchain string Path to certificate chain file (PEM format)
-h, --help help for import
-j, --json JSON output
--private-key string Path to private key file (PEM format)
~~~

## Global Options

~~~
-t, --access-token string Fly API Access Token
--debug Print additional logs and traces
--verbose Verbose output
~~~

## See Also

* [fly certs](/docs/flyctl/certs/) - Manage certificates

5 changes: 5 additions & 0 deletions flyctl/cmd/fly_certs_remove.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Removes a certificate from an application. Takes hostname
as a parameter to locate the certificate.

Use --custom to remove only the custom certificate while keeping ACME certificates.
Use --acme to stop ACME certificate issuance while keeping custom certificates.

## Usage
~~~
fly certs remove <hostname> [flags]
Expand All @@ -9,8 +12,10 @@ fly certs remove <hostname> [flags]
## Options

~~~
--acme Stop ACME certificate issuance, keeping custom certificates
-a, --app string Application name
-c, --config string Path to application configuration file
--custom Remove only the custom certificate, keeping ACME certificates
-h, --help help for remove
-y, --yes Accept all confirmations
~~~
Expand Down