Skip to content

Commit 7187ab8

Browse files
noahtalermanmna
authored andcommitted
[Guide update] Fix typos (#34435)
1 parent 7bb717d commit 7187ab8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/connect-end-user-to-wifi-with-certificate.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,12 +424,12 @@ The flow for Hydrant differs from the other certificate authorities (CA's). Whil
424424

425425
### Step 3: Create a custom script
426426

427-
To automatically deploy certificates to Linux hosts when they ernoll, we'll create a custom script to write a certificate to a location. This script will be triggered by a policy that checks for the existence of a certificate.
427+
To automatically deploy certificates to Linux hosts when they enroll, we'll create a custom script to write a certificate to a location. This script will be triggered by a policy that checks for the existence of a certificate.
428428

429429
This custom script will create a certificate signing request (CSR) and make a request to Fleet's "Request certificate" API endpoint.
430430

431431
1. Create an API-only user with the global maintainer role. Learn more how to create an API-only user in the [API-only user guide](https://fleetdm.com/guides/fleetctl#create-api-only-user).
432-
2. In Fleet, head to **Controls > Variables** to and create a Fleet variable called REQUEST_CERTIFICATE_API_TOKEN. Add the API-only user's API token as the value. You'll use this variable in your script.
432+
2. In Fleet, head to **Controls > Variables** and create a Fleet variable called REQUEST_CERTIFICATE_API_TOKEN. Add the API-only user's API token as the value. You'll use this variable in your script.
433433
3. Make a request to Fleet's [`GET /certificate_authorities` API endpoint](https://fleetdm.com/docs/rest-api/rest-api#list-certificate-authorities-cas) to get the `id` for your Hydrant CA. You'll use this `id` in your script.
434434
4. In Fleet, head to **Controls > Scripts**, and add a script like the one below, plugging in your own filesystem locations, Fleet server URL and IdP information. For this script to work, the host it's run on has to have openssl, sed, curl and jq installed.
435435

0 commit comments

Comments
 (0)