mirror of
https://github.com/fleetdm/fleet
synced 2026-04-26 16:07:21 +00:00
UPDATE: @noahtalerman: I updated this PR to just include the contributor example. I assigned myself the guide update issue: - #34279 For the guide, we want to open a PR agains the `docs-v4.77.0` branch instead of main. --- **Related issue:** Wont resolve: #34279 --------- Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
21 lines
547 B
Markdown
21 lines
547 B
Markdown
# fetch_cert
|
|
|
|
Example client for fetching certificates via fleet's `/api/v1/fleet/certificate_authorities/{id}/request_certificate` endpoint, authenticated using TPM-backed HTTP Message Signing.
|
|
|
|
## Usage
|
|
|
|
```
|
|
Usage of ./fetch_cert:
|
|
-ca uint
|
|
certificate authority ID
|
|
-csr string
|
|
csr path
|
|
-debug
|
|
enable debug logging
|
|
-fleeturl string
|
|
fleet server base URL
|
|
-out string
|
|
output certificate path (default "certificate.pem")
|
|
-rootdir string
|
|
fleetd installation root (default "/opt/orbit")
|
|
```
|