website icon indicating copy to clipboard operation
website copied to clipboard

Add Apline to OS list

Open bmw opened this issue 9 years ago • 2 comments

Requested at certbot/certbot#4063.

bmw avatar Jan 17 '17 17:01 bmw

Hi, @bmw , I found this issue during my search for info on how to set up Let's Encrypt on my local Alpine Unix + Apache + WordPress docker environment.

Is there a workaround for this issue in the meantime that will allow me to install certbot on Alpine?

Or will the certbot-auto instructions (for 'other' UNIX) on your website work https://certbot.eff.org/#pip-apache?

I could also use a self signed cert for local development using https://zerossl.com/free-ssl/#self... Perhaps that is a better alternative than using Let's Encrypt locally...

henscu avatar Oct 16 '17 14:10 henscu

certbot-auto unfortunately won't work on Alpine. Probably the best approach for running Certbot on Alpine linux in Docker is to use our Docker image.

If you want to install it in your own image not based on ours though, you can use the process used in our Dockerfile. You don't need copy anything in from our repo, but you should instead replace the pip install lines with a simple pip install certbot.

If you want to use the Apache plugin described here, you can use pip install certbot-apache instead, however, you need to have Apache running from within the same Docker image. If you're not doing this, after installing Certbot, you should use the methods that work for an arbitrary webserver and install the resulting certificates in Apache yourself.

I hope this helps!

bmw avatar Oct 16 '17 20:10 bmw