Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL issuer Hash API #2084

Open
FabioPetry18 opened this issue Nov 19, 2024 · 3 comments
Open

SSL issuer Hash API #2084

FabioPetry18 opened this issue Nov 19, 2024 · 3 comments

Comments

@FabioPetry18
Copy link

image

SSL issuer hash
Where is this call in the api?

@FabioPetry18
Copy link
Author

Im trying in /rest/v1/system/configs but i dont think so

@avgustinmm
Copy link
Contributor

Hi @FabioPetry18,
what are you up on? Are you trying to implement a UI with rest API? Just out of curiosity :-)
Regarding the question, just after a short look, it seems (not sure - may be wrong) to me that:

  • You are on the write api - tenant configuration
  • SSL Issuer Hash is "authentication.header.authority"
  • and allow targets to authenticate "authentication.header.enabled"

@avgustinmm
Copy link
Contributor

Just checked - it seems like it is so.
I set:

  • authentication.header.authority = myauth
  • authentication.header.enable = true

(via Simple UI).

Then I am able to poll using:

curl -X 'GET' -v \
  'http://127.0.0.1:8080/DEFAULT/controller/v1/1' \
  -H 'accept: application/json' \
  -H 'X-Ssl-Issuer-Hash-1: myauth' \
  -H 'X-Ssl-Client-Cn: 1'  

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants