luci: luci-app-acme: does not show the certificate list
Steps to reproduce:
- Go to the ACME app in luci.
Actual behavior:
The list of certificates is Empty.
Expected behavior:
The list of certificates must contain the certicates availables.
Additional Information:
Debugging the javascript, the problem seems to be here: https://github.com/openwrt/luci/blob/f51f52bfbb4fba77cc72548bc36908b2697c8c0a/applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js#L9
It seems the fs.list('/etc/ssl/acme/') is not returning the files of the folder. I think luci moved from server to javascript, maybe this is the culprit? There is some replacement for this method to execute the command in the router?
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Comments: 15 (14 by maintainers)
I think I understand what happens.
acmedownloads the certificates into folders with the name of the domain in/etc/acme. You list only/etc/ssl/acme, that are the certificates for the HTTPS server. I don’t use the HTTPS server, but I had here some old links that point to missing certs from one old test that I did.So the actual code will not show for me any certificate.
Thanks for your help and your time!!! At least now I understand the problem.