Skip to content

Commit b931827

Browse files
committed
add note about -k flag, remove from examples
1 parent 1bfd074 commit b931827

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

content/v3/enterprise/management_console.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ When using this endpoint, your Enterprise instance must have a password set. Thi
4747
1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.
4848
2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.
4949

50+
You may also need to use the `-k` flag, as GitHub Enterprise uses a self-signed certificate before you [enable your own SSL certificate](https://help.github.com/enterprise/admin/guides/installation/dns-hostname-subdomain-isolation-and-ssl/#ssl).
51+
5052
{{/warning}}
5153

5254
### Parameters
@@ -69,7 +71,7 @@ For a list of the available settings, see [the `/setup/api/settings` endpoint](#
6971
### Example
7072

7173
``` command-line
72-
$ curl -L -X POST -k 'https://<em>hostname</em>:<em>admin_port</em>/setup/api/start' -F license=@<em>/path/to/github-enterprise.ghl</em> -F "password=<em>your-amazing-password</em>" -F settings=&lt;<em>/path/to/settings.json</em>
74+
$ curl -L -X POST 'https://<em>hostname</em>:<em>admin_port</em>/setup/api/start' -F license=@<em>/path/to/github-enterprise.ghl</em> -F "password=<em>your-amazing-password</em>" -F settings=&lt;<em>/path/to/settings.json</em>
7375
```
7476

7577
## Upgrade a license
@@ -259,7 +261,7 @@ Name | Type | Description
259261
### Example
260262

261263
``` command-line
262-
$ curl -L -X POST -k 'https://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/settings/authorized-keys' -F authorized_key=@<em>/path/to/key.pub</em>
264+
$ curl -L -X POST 'https://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/settings/authorized-keys' -F authorized_key=@<em>/path/to/key.pub</em>
263265
```
264266

265267
## Remove an authorized SSH key

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy