[GH-ISSUE #632] Can not generate certs via letsencrypt. #7444

Closed
opened 2026-03-12 20:42:40 +03:00 by kerem · 4 comments
Owner

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?

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?
kerem closed this issue 2026-03-12 20:42:45 +03:00
Author
Owner

@0xJacky commented on GitHub (Oct 18, 2024):

Hi @tranthibichhlieu,
Please add this location block to your config.
image
image

Then save the config and try to obtain the certificate again.

<!-- gh-comment-id:2421256890 --> @0xJacky commented on GitHub (Oct 18, 2024): Hi @tranthibichhlieu, Please add this location block to your config. <img width="708" alt="image" src="https://github.com/user-attachments/assets/ea0f9518-3ad0-4d2e-bd3c-1080fb45229d"> <img width="545" alt="image" src="https://github.com/user-attachments/assets/143f84a4-0e36-4c94-a871-26d7bd1af37a"> Then save the config and try to obtain the certificate again.
Author
Owner

@tranthibichhlieu commented on GitHub (Oct 25, 2024):

hi, i did it but still get the same error.
image
As I checked, there is no process listen on port 9180, which is using for HTTP chalenger

<!-- gh-comment-id:2437177061 --> @tranthibichhlieu commented on GitHub (Oct 25, 2024): hi, i did it but still get the same error. <img width="800" alt="image" src="https://github.com/user-attachments/assets/6bac5f9e-f989-4fa2-bf6b-eb1a88b4c5ab"> As I checked, there is no process listen on port 9180, which is using for HTTP chalenger
Author
Owner

@0xJacky commented on GitHub (Oct 25, 2024):

9180 is only listened during http challenge

<!-- gh-comment-id:2437227722 --> @0xJacky commented on GitHub (Oct 25, 2024): 9180 is only listened during http challenge
Author
Owner

@caph1993 commented on GitHub (Feb 23, 2025):

For users having the same issue, this configuration exists as a template:

Image

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.

<!-- gh-comment-id:2677138491 --> @caph1993 commented on GitHub (Feb 23, 2025): For users having the same issue, this configuration exists as a template: ![Image](https://github.com/user-attachments/assets/19a5f466-2770-43b5-a8d4-c07e55a2a369) 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#7444
No description provided.