docs icon indicating copy to clipboard operation
docs copied to clipboard

Alpine ssl

Open DavidTanner opened this issue 5 months ago • 6 comments

Thank you for your contribution to the Pi-hole Community!

Please read the comments below to help us consider your Pull Request.

We are all volunteers and completing the process outlined will help us review your commits quicker.

Please make sure you

  1. Base your code and PRs against the repositories developmental branch.
  2. Sign Off all commits as we enforce the DCO for all contributions
  3. Sign all your commits as they must have verified signatures
  4. File a pull request for any change that requires changes to our documentation at our documentation repo

What does this PR aim to accomplish?:

I recently set up pihole on Alpine linux bare metal with an SSL certificate signed by LetsEncrypt. The process took a bit of effort to put everything together, and I want to share what I learned with others.

How does this PR accomplish the above?:

Using the instructions here, users should be able to set up Dehydrated for Alpine, and CloudFlare for DNS, to get SSL certificates for their PiHole running on Alpine baremetal

Link documentation PRs if any are needed to support this PR:

N/A


By submitting this pull request, I confirm the following:

  1. I have read and understood the contributors guide, as well as this entire template. I understand which branch to base my commits and Pull Requests against.
  2. I have commented my proposed changes within the code and I have tested my changes.
  3. I am willing to help maintain this change if there are issues with it later.
  4. It is compatible with the EUPL 1.2 license
  5. I have squashed any insignificant commits. (git rebase)
  6. I have checked that another pull request for this purpose does not exist.
  7. I have considered, and confirmed that this submission will be valuable to others.
  8. I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  9. I give this submission freely, and claim no ownership to its content.

  • [x] I have read the above and my PR is ready for review. Check this box to confirm

DavidTanner avatar Jul 02 '25 14:07 DavidTanner

Deploy Preview for pihole-docs ready!

Name Link
Latest commit a20dbc2fd34f3d9a8884fbddbdd6e492bd39f336
Latest deploy log https://app.netlify.com/projects/pihole-docs/deploys/686ec7c082751000081b39aa
Deploy Preview https://deploy-preview-1256--pihole-docs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Jul 02 '25 14:07 netlify[bot]

@rrobgill or @yubiuser what do I need to do to get a code review?

DavidTanner avatar Jul 28 '25 20:07 DavidTanner

I have no special insight on when reviews happen, I'm just another contributor.

But I'm happy to give my input here.

My concern would be that although dehydrated is listed on the Let's encrypt ACME Client Implementations page, cfhookbash is not.

cfhokbash seems to be quite a small project and also has not updated for some time (last code change was 18 months ago, last issue was raised in 2021). If users run into problems with it are they going to be able to get assistance?

rrobgill avatar Jul 28 '25 21:07 rrobgill

As for the hook being small, it really is small. For support I'm not really sure. This is how I got things set up, and it has been working. Version 4.9.0 was a PR that was merged last year. It doesn't feel right to me to say that because a project hasn't had issues means it isn't supported or can't be fixed. What would be your recommendation?

DavidTanner avatar Jul 30 '25 20:07 DavidTanner

Should we really include and maintain such a guide?

It's a good point. We used to have some guides for alternative webservers - which I guess kinda sorta loosely falls under the same category.

IIRC those guides were removed when we transitioned from v5->v6 because they were outdated and we haven't rewritten them.

Personally I think I would prefer a much more generic guide on how to auto generate SSL certs on multiple distros (and even how to just stick it behind a reverse proxy with SSL generation built into it)

PromoFaux avatar Aug 11 '25 16:08 PromoFaux

Personally I think I would prefer a much more generic guide ...

I agree.

Currently no member of the development team uses Alpine Linux (which is probably why it took us so long to review this PR).

If an Alpine update changes something that breaks Pi-hole, we won't know right away and probably won't be able to fix/maintain the guide.

rdwebdesign avatar Aug 11 '25 21:08 rdwebdesign