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

Proxy broken on 0.10.0 ? #186

Open
lukikr1 opened this issue Nov 25, 2024 · 0 comments
Open

Proxy broken on 0.10.0 ? #186

lukikr1 opened this issue Nov 25, 2024 · 0 comments

Comments

@lukikr1
Copy link

lukikr1 commented Nov 25, 2024

It seems there is some problem with proxy in version 0.10.0
When run like this:
sscep enroll -t 5 -T 4 -R -p 10.1.69.95:8080 -u http://demo.one.digicert.com/mpki/api/(...)
sscep: starting sscep, version 0.10.0
sscep: new transaction
sscep: transaction id: D41D8CD98F00B204E9800998ECF8427E
sscep: hostname: 10.1.69.95
sscep: directory: 10.1.69.95
sscep: port: 8080
sscep: SCEP_OPERATION_GETCAPS
sscep: scep request:
GET 10.1.69.95?operation=GetCACaps HTTP/1.1
Host: 10.1.69.95:8080
Connection: close
(..)
sscep: applying base64 encoding
sscep: base64 encoded payload size: 3458 bytes
sscep: scep request:
GET 10.1.69.95?operation=PKIOperation&message=(...encoded...) HTTP/1.1
Host: 10.1.69.95:8080

And proxy error: The following error was encountered while trying to retrieve the URL: 10.1.69.95?operation=GetCACaps

Without proxy option:
sscep enroll -t 5 -T 4 -R -u http://demo.one.digicert.com/mpki/api/(...)
sscep: starting sscep, version 0.10.0
sscep: new transaction
sscep: transaction id: D41D8CD98F00B204E9800998ECF8427E
sscep: hostname: demo.one.digicert.com
sscep: directory: mpki/api/v1/scep/2d6b9358-47be-4a9c-95ec-59ffbc1a6096/cgi-bin/pkiclient.exe
sscep: port: 80
sscep: SCEP_OPERATION_GETCAPS
sscep: scep request:
GET /mpki/api/v1/scep/2d6b9358-47be-4a9c-95ec-59ffbc1a6096/cgi-bin/pkiclient.exe?operation=GetCACaps HTTP/1.1
Host: demo.one.digicert.com
Connection: close

Similar request with 0.6.1 works ok.

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

1 participant