mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 16:55:56 +03:00
[GH-ISSUE #632] Can not generate certs via letsencrypt. #1670
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#1670
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tranthibichhlieu on GitHub (Oct 18, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/632
Hi
I can not generate letsencrypt certificate for my site. The log said :
nginx-ui[23175]: [admin.xxx] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized ::xx.xx.xx.xx: Invalid response from http://admin.xxx/.well-known/acme-challenge/a06FHfyvjHkCAa2O6w4fD0xhwesPcs_aYQOt0A2_F_c: 403
I checked and see that the port : 9180 is not listening.
Can u help?
@0xJacky commented on GitHub (Oct 18, 2024):
Hi @tranthibichhlieu,


Please add this location block to your config.
Then save the config and try to obtain the certificate again.
@tranthibichhlieu commented on GitHub (Oct 25, 2024):
hi, i did it but still get the same error.

As I checked, there is no process listen on port 9180, which is using for HTTP chalenger
@0xJacky commented on GitHub (Oct 25, 2024):
9180 is only listened during http challenge
@caph1993 commented on GitHub (Feb 23, 2025):
For users having the same issue, this configuration exists as a template:
I was desperately typing manually and copying-pasting configurations from https://github.com/0xJacky/nginx-ui/issues/167 without success. Then I used the template and it just worked.