Skip to content

Commit

Permalink
Cert auth method examples need to use https (#6961)
Browse files Browse the repository at this point in the history
In order to present a client certificate to use the certificate
auth method, you must use https.
  • Loading branch information
thomashashi authored and jefferai committed Jun 27, 2019
1 parent a46b596 commit 755fde7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/source/api/auth/cert/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ https://tools.ietf.org/html/rfc6125#section-2.3)
$ curl \
--request POST \
--data @payload.json \
http://127.0.0.1:8200/v1/auth/cert/login
https://127.0.0.1:8200/v1/auth/cert/login
```

### Sample Response
Expand Down
2 changes: 1 addition & 1 deletion website/source/docs/auth/cert.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ $ curl \
--cert cert.pem \
--key key.pem \
--data '{"name": "web"}' \
http://127.0.0.1:8200/v1/auth/cert/login
https://127.0.0.1:8200/v1/auth/cert/login
```

## Configuration
Expand Down

0 comments on commit 755fde7

Please sign in to comment.