## 6.2.5.1.3.2.2  Extended Cloud Foundry Commands of Custom Domains
The Custom Domain plugin includes commands that you can use to configure and manage your custom domains.
Commands for the Custom Domain CLI Plugin
| Command                      | Alias   | Usage                                                                   | Options                                     |                                                                                                                  | Description                                                          |
|------------------------------|---------|-------------------------------------------------------------------------|---------------------------------------------|------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------|
| cf custom-domain- create-key | cdck    | cf custom- domain- create-key KEY SUBJECT DOMAIN [DOMAIN ...] [options] | -ski p- ssl- vali dati on -ver bose -for ce | Do not at- tempt to vali- date SSL certifi- cate. Show ver- bose infor- mat- ion. Force key crea- tion with- out | Generate a new private and public key pair.                          |
| cf custom-domain- get-csr    | cdgc    | cf custom- domain-get- csr KEY [FILE] [options]                         | -ski p- ssl- vali dati on                   | Do not at- tempt to vali- date SSL certifi- cate.                                                                | Download the certificate signing request corresponding to a new key. |
| Command                                     | Alias   | Usage                                                            | Options                                     |                                                                                                                                         | Description                                            |
|---------------------------------------------|---------|------------------------------------------------------------------|---------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------|
| cf custom-domain- upload-certificate- chain | cducc   | cf custom- domain- upload- certificate- chain KEY FILE [options] | -ski p- ssl- vali dati on -ver bose -for ce | Do not at- tempt to vali- date SSL certifi- cate. Show ver- bose infor- mat- ion. Force up- load- ing the certifi- cate chain with- out | Upload a certificate chain for a given key.            |
| cf custom-domain- activate                  | cda     | cf custom- domain- activate KEY DOMAIN [DOMAIN ...] [options]    | -ski p- ssl- vali dati on -ver bose         | Do not at- tempt to vali- date SSL certifi- cate. Show ver- bose infor- mat-                                                            | Activate the server certificate for specified domains. |
| Command                             | Alias   | Usage                                                     | Options                             |                                                                                   | Description                                    |
|-------------------------------------|---------|-----------------------------------------------------------|-------------------------------------|-----------------------------------------------------------------------------------|------------------------------------------------|
| cf custom-domain- list              | cdl     | cf custom- domain-list                                    | -ski p- ssl- vali dati on -ver bose | Do not at- tempt to vali- date SSL certifi- cate. Show ver- bose infor- mat- ion. | List domains and their configura- tion status. |
| cf custom-domain- show-certificates | cdsc    | cf custom- domain-show- certificates KEY [FILE] [options] | -dum p                              | Dump the certifi- cates in PEM for- mat.                                          | Show certificates for a specified key.         |
|                                     |         |                                                           | -ski p- ssl- vali dati on           | Do not at- tempt to vali- date SSL certifi- cate.                                 |                                                |
|                                     |         |                                                           | -ver bose                           | Show ver- bose infor- mat- ion.                                                   |                                                |
| Command                                          | Alias   | Usage                                                                                 | Options                             |                                                                                    | Description                                           |
|--------------------------------------------------|---------|---------------------------------------------------------------------------------------|-------------------------------------|------------------------------------------------------------------------------------|-------------------------------------------------------|
| cf custom-domain- enable-client- authentication  | cdeca   | cf custom- domain- enable- client- authenticatio n FILE DOMAIN [DOMAIN ...] [options] | -ski p- ssl- vali dati on -ver bose | Do not at- tempt to vali- date SSL certifi- cate. Show ver- bose infor- mat-       | Activate client authentication for specified domains. |
| cf custom-domain- disable-client- authentication | cddca   | cf custom- domain- disable- client- authenticatio n DOMAIN [options]                  | -ski p- ssl- vali dati on -ver      | Do not at- tempt to vali- date SSL certifi- cate. Show                             | Disable client authentication for a domain.           |
|                                                  |         |                                                                                       | bose                                | ver- bose infor- mat- ion. Force deac- tiva- tion client au- cation with- out mat- |                                                       |
|                                                  |         |                                                                                       | -for ce                             | of thenti- confir- ion.                                                            |                                                       |
| Command                                      | Alias   | Usage                                                                 | Options                             |                                                                  | Description                                        |
|----------------------------------------------|---------|-----------------------------------------------------------------------|-------------------------------------|------------------------------------------------------------------|----------------------------------------------------|
| cf custom- domain-show-trusted- certificates | cdstc   | cf custom- domain-show- trusted- certificates DOMAIN [FILE] [options] | -dum p                              | Dump the certifi- cates in PEM for- mat. Do not                  | Show the trusted certificates for a domain.        |
|                                              |         |                                                                       | -ski p- ssl- vali dati on -ver bose | at- tempt to vali- date SSL certifi- cate. Show ver- bose infor- |                                                    |
| cf custom-domain- deactivate                 | cdd     | cf custom- domain- deactivate DOMAIN [options]                        | -ski p- ssl- vali dati on           | Do not at- tempt to vali- date SSL certifi- cate.                | Deactivate the certificate for a specified domain. |
|                                              |         |                                                                       | -ver bose                           | Show ver- bose infor- mat- ion.                                  |                                                    |
|                                              |         |                                                                       | -for ce                             | Force deac- tiva- tion with- out confir- mat- ion.               |                                                    |
| Command                      | Alias   | Usage                                       | Options                                     |                                                                                                                          | Description                                    |
|------------------------------|---------|---------------------------------------------|---------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|------------------------------------------------|
| cf custom-domain- delete-key | cddk    | cf custom- domain- delete-key KEY [options] | -ski p- ssl- vali dati on -ver bose -for ce | Do not at- tempt to vali- date SSL certifi- cate. Show ver- bose infor- mat- ion. Force key dele- tion with- out confir- | Delete the private key and its certif- icates. |
| cf custom-domain- version    | cdv     | cf custom- domain- version                  | -ski p- ssl- vali dati on -ver bose         | Do not at- tempt to vali- date SSL certifi- cate. Show ver- bose infor- mat-                                             | Show the Custom Domain plugin version.         |
| Command                       | Alias   | Usage                                                     | Options                             |                                                                                   | Description                                                          |
|-------------------------------|---------|-----------------------------------------------------------|-------------------------------------|-----------------------------------------------------------------------------------|----------------------------------------------------------------------|
| cf custom-domain- map-route   | cdmr    | cf custom- domain-map- route STANDARD_ROUT E CUSTOM_ROUTE | -ski p- ssl- vali dati on -ver bose | Do not at- tempt to vali- date SSL certifi- cate. Show ver- bose infor- mat-      | Map a custom domain route to a SaaS application.                     |
| cf custom-domain- unmap-route | cdur    | cf custom- domain-unmap- route CUSTOM_ROUTE               | -ski p- ssl- vali dati on -ver bose | Do not at- tempt to vali- date SSL certifi- cate. Show ver- bose infor- mat- ion. | Unmap a custom domain route from a SaaS application.                 |
| cf custom-domain- routes      | cdr     | cf custom- domain-routes                                  | -ski p- ssl- vali dati on -ver bose | Do not at- tempt to vali- date SSL certifi- cate. Show ver- bose infor- mat-      | List all configured routes of SaaS applications with custom domains. |
## Related Information
Configuring Custom Domains Managing Custom Domains