Skip to content

Commit

Permalink
Update Readme with comments
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLydonKing committed Oct 21, 2024
1 parent fc708d6 commit 4c83911
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,17 @@ The `krb5.ini` file should include the correct realm and KDC settings. An exampl
#### 3) Check Kerberos Tickets:

- Use the `klist` command in the Command Prompt or use MIT Kerberos to verify the presence of a valid Kerberos ticket.
```
Credentials cache: API:1000
Principal: [email protected]
Cache version: 5
Ticket cache: /tmp/krb5cc_1000
Default principal: [email protected]
Valid starting Expires Service principal
10/20/2024 10:00:00 10/20/2024 20:00:00 krbtgt/[email protected]
10/20/2024 10:00:00 10/20/2024 20:00:00 host/[email protected]
```

#### 4) Environment Setup:

Expand All @@ -285,7 +296,7 @@ The `krb5.ini` file should include the correct realm and KDC settings. An exampl
- Construct a POST request to the desired endpoint.
- Example using Curl:
```
curl -i --negotiate -u : -X POST <endpoint-url>
curl -i --negotiate -u : -X POST <endpoint-url>/token/generate
```

#### 6) Receive the JWT:
Expand Down Expand Up @@ -329,7 +340,7 @@ kinit [email protected]

- Use a tool like Curl to send a POST request:
```
curl -i --negotiate -u : -X POST <endpoint-url>
curl -i --negotiate -u : -X POST <endpoint-url>/token/generate
```

#### 5) Receive the JWT:
Expand Down

0 comments on commit 4c83911

Please sign in to comment.