-
Notifications
You must be signed in to change notification settings - Fork 264
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
[Bug]: renew not working with reverse-proxy and mtls=false #1344
Comments
Hey @juju4, Can you try As for the |
One location where |
I did use mtls=false too. forgot to include in the list and it returns same error "error renewing certificate: failed decoding CA error response: invalid character '<' looking for beginning of value". I would want to debug with curl as /renew needs a POST but I don't know the syntax needed. Browser /renew returns blank page with HTTP 405 status code. while on above server logs a 400 status code.
|
Can you try it with It's possible to use |
even with the extra trace, I don't see where error comes from. |
Can you try that with the manual invocation instead? |
same
|
Interesting. Seeing the same behavior, specifically, no HTTP debug output using I think for the test you could maybe just try a POST request to |
how different from those? |
Try it with |
|
Steps to Reproduce
I setup a certificate server (step 0.28.2 on ubuntu 24.04.1) and a nginx reverse proxy.
Issuing certificate works fine from step service or nginx.
But renewal does not work when using nginx ca-url (port 443). It works if accessing directly step service (port 8443).
"mtls=false" was used. "--mtls false" as described in docs did not work with step-cli for me.
It does not seem there is any debug/verbose option to check where getting invalid character which is probably the start of a html page.
From cert-renewer systemd unit
Manual testing
Thanks
Your Environment
step
CLI Version - 0.28.2Expected Behavior
Renewal to work
Actual Behavior
Renewal fails
Additional Context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: