-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fc708d6
commit 4c83911
Showing
1 changed file
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
||
|
@@ -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: | ||
|
@@ -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: | ||
|