SSL Cert generation with certbot #3489
Replies: 12 comments 10 replies
-
|
I had the some issues above getting my local SSL set up, gave up and did it through Cloudflare instead. |
Beta Was this translation helpful? Give feedback.
-
|
I know we can do it with other methods but the goal is to succeed it and update the documentation 😉 For me, this is because of a bad configuration in lighttpd, just maybe because the 443 port is not opened by default or something else to verify with .well-known folder |
Beta Was this translation helpful? Give feedback.
-
|
I have done this a few times, if you give me a few days I will get you some notes. Certbot doesn't support lighttpd very well, at least it didn't last time I looked Cheers Alex |
Beta Was this translation helpful? Give feedback.
-
|
ok i have find it. |
Beta Was this translation helpful? Give feedback.
-
|
it's seems all good ! sudo apt update sudo systemctl restart lighttpd.service sudo certbot certonly --webroot -w allsky/config/ssl/allsky02.my-cosi.info -d allsky02.my-cosi.info -m xxxxxx@xxx.fr --agree-tos sudo cat /etc/letsencrypt/live/allsky02.my-cosi.info/cert.pem /etc/letsencrypt/live/allsky02.my-cosi.info/privkey.pem | sudo tee /etc/letsencrypt/live/allsky02.my-cosi.info/fullchain.pem sudo nano /etc/lighttpd/conf-enabled/98-allsky02.my-cosi.info.conf cd ~ sudo systemctl restart lighttpd.service |
Beta Was this translation helpful? Give feedback.
-
|
Yes will do but I will help once I have finished making all of the changes for the revised overlay system, I would like to concentrate on getting that done before doing anything else as its pretty complex :-) Cheers Alex |
Beta Was this translation helpful? Give feedback.
-
|
@troublestarter, @custard2022, did you initially try the "SSL" documentation page? I created it based on someone else's notes. I have never tried it - I'm too scared to hose something up, and I have a remote Website so don't really need to make my Pi Internet accessible. If you have better instructions, if you detail them, i.e., step-by-step, I can replace the current instructions. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
ok works better with that ! Then changed settings with HTTPS in allsky webui |
Beta Was this translation helpful? Give feedback.
-
|
Updated documentation: it's seems all good ! Works on allsky map too. Replace by your home directory Replace by your domain name sudo apt update sudo systemctl restart lighttpd.service sudo certbot certonly --webroot -w allsky/config/ssl/allsky02.my-cosi.info -d allsky02.my-cosi.info -m xxxxxx@xxx.fr --agree-tos sudo cat /etc/letsencrypt/live/allsky02.my-cosi.info/cert.pem /etc/letsencrypt/live/allsky02.my-cosi.info/privkey.pem | sudo tee /etc/letsencrypt/live/allsky02.my-cosi.info/fullchain.pem sudo nano /etc/lighttpd/conf-enabled/98-allsky02.my-cosi.info.conf cd ~ sudo systemctl restart lighttpd.service |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Hello guys! Does anyone see anything wrong? Step 1
Step 2 Step 3 |
Beta Was this translation helpful? Give feedback.








Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all
Can someone give me a little help with the configuration of lighttpd for make the cert generation working ?
I have made this setup with apache, haproxy and other stuff but don't succeed to do it with lighthttpd...
The documentation is not up2date on this actually. (add-apt-repository ppa:certbot/certbot do not work on my side.)
Here is the commands use in CLI in debug mode and dry-run mode
Here is the result:
Beta Was this translation helpful? Give feedback.
All reactions