-
Notifications
You must be signed in to change notification settings - Fork 181
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] Let's Encrypt certs are Staging ones, so they're untrusted on browsers #61
Comments
@yeungalan Can you take a look at this real quick? |
Hi @Xpl0itU As you can see here, the link are hardcoded and embedded into the binary Line 40 in 83f574e
Which is referring to this link Line 3 in 83f574e
Might I know how you build this binary and what version of Zoraxy you are using? |
I used the Zoraxy script from here to setup my container |
Here's the output of zoraxy -info:
|
@Xpl0itU Can I see the public key of your cert? I am guessing you didn't setup your root domain TLS certificate correctly and zoraxy is loading its internal dummy cert. |
Here's some interesting output from the logs:
And here's the public key:
|
@Xpl0itU Thanks for the input. I think this is a much deeper bug in the acme module. I will let @yeungalan take over from here. |
Any Update here? i'm complete new to this. I got everything up and running, but cant use it, because the certificates are not trusted. |
@dexer12 Sadly no. None of our collaborator can reproduce this issue without further info. Can you give me the link to your website so I can take a look at it real quick? |
Sure, you can use mydomain for example right now. let me know if you need any further information |
@daluntw @yeungalan Can you guys help take a look at this? I think this might be issue caused by the acme section related to recent PRs. |
Wilco, looks like is json problem |
I have taken a look at the json files. It didn't have any recent change that might causes this issue. |
I redeployed the docker container let him pull the latest image and renewed the certificate for this domain. But it seems still the same problem. Or should i do it in some other way? |
@dexer12 Can you try run it natively in your host OS? I guess the docker routine is not updated as it is not a new release. |
Wow that solved it! I used your second advice, changing to "Custom ACME Server" and then selecting Lets Encrypt again, solved it. |
Cool! This is probably one of the most interesting bug fix method I ever discovered XD |
Thank you a lot for that fast help! I send you some Coffees :) |
Can confirm that the latest 2.6.6 fixes this issue, but now wildcard certificates aren't generated at all, just for the base domain |
I think this is normal as DNS challenge is still in @yeungalan's to-do list. In my personal setup, I apply a cert that contains all of the sub-domains instead of using a wildcard one. |
That's what I'm currently trying, but it seems to get stuck? No indication of any progress in the logs either |
Are there anything in the browser's JavaScript terminal? If no, then it is probably due to networking problems and it is really hard for me debug it remotely for you. |
No indications in the JS terminal, and I'm next to the router in a gigabit connection, so it's probably not a connection issue |
Maybe it is an outbound connection issue or other complex networking issues. If there are no error log from both front / backend terminal, I guess you really need to figure it yourself... |
Funny thing is, I can generate a single certificate just fine, I can't do multiple, is it done in parallel or sequentially the multi certificate generation? |
It generate one certificate that contains all of the subdomains instead of running the single generation thing in a loop. Can you show me your settings for multi-domain cert generation? |
Domains (I also tried with no spaces in the commas): |
I guess you gonna need to wait for @yeungalan, the original author of the ACME module, to figure it out. |
Had to generate a certificate for each domain separately as a workaround |
For the Let's Encrypt issue, is becuase UI will not send CA name when using placeholder default, and I also though the default acme server in backend will be production LE (but it actually is staging LE) Line 68 in 83f574e
we can fix it by changing frontend CA name to LE when not exist, or/and change backend default ACME server (it also related to #47), I can submit pr for frontend patch, and should can be merge into 2.6.7. before then, #61 (comment) workaround can temporary be used (another workaround can be use custom ACME server with LE production url) For the multidomain issue, is also UI issue, the logic seems not handle when input is multidomain, and it also not remove the button state when error zoraxy/src/web/snippet/acme.html Lines 329 to 340 in 83f574e
backend seems ok for multidomain |
since the pr merged, we should be ok the closed this one up ? |
Will close this after the next release 👍🏻 |
Describe the bug
When generating a Let's Encrypt certificate, they're generated in the staging server
To Reproduce
Steps to reproduce the behavior:
Generate a Let's Encrypt cert using Zoraxy
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Host Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: