my goal is to be able to easily access the web interface (Luci) of Turris https secured by a let’s encrypt certificate from the local network.
The acme from the OpenWrt repo in combination with uhttpd offers exactly that. I get the certificate automatically via DNS-API.
Since the implementation with lighttpd seems too complicated to me (certificates have to be converted at least) I would like to replace lighttpd with uhttpd.
Are there any problems here (e.g. with Foris) or is it simply a package swap?
Then I have the following documentation with the corresponding certificate conversion because lighttpd apparently expects .pem certificates.
How did you implement it?
Where in the lighttpd config do I refer to the acme dir? I only have the certificates as .cer .csr and the key.
Greetings
Addendum:
This is a wildcard certificate which I also want to use on other OpenWrt devices. That’s why uhttpd would be the right choice and there is an option in acme to use the certificate for uttpd. Then I would have it directly in the correct format for the other devices.
Nothing more, nothing less. Don’t forget to run the pkgupdate to remove lighttpd-https-cert and install lighttpd-mod-openssl, and in the end restart the lighttpd.
Do you happen to have any tips on how I can get the certificates onto the other three OpenWrt devices? A blunt script which copies the data daily via SCP and restarts the web server…
Somehow that seems like a sledgehammer to me.
Or does it make more sense to run a separate acme on each device and then get one certificate per subdomain rather than wildcard?