Sign inSign up

schoeffm/rpi-dehydrated

By schoeffm

•Updated over 9 years ago

Encapsulates the dehydrated cli tool which can be used to request letsencrypt certificates.

Image
0

467

schoeffm/rpi-dehydrated repository overview

Pretty much the same as schoeffm/dehydrated⁠ but this one's for usage on a RaspberryPi

⁠Useful Commands

This docker-image encapsulates the dehydrated⁠ cli tool which can be used to request letsencrypt⁠ certificates. Just pull the image using:

docker pull schoeffm/rpi-dehydrated

After importing the image just execute the followin':

docker run --rm -ti schoeffm/rpi-dehydrated

which will print dehydrateds help.

Next, there is a more realistic command which uses a local config-file (which has to contain a WELLKNOWN-path that is under the control of your web-server). The resulting certificate is written to your local directory (which is also mounted as volume within the container).

docker run --rm -ti \                                
        -v $(pwd):/cfg \                                 # mounts the current dir in the container
        --volumes-from <webContainer> \                  # also mount all dirs from the webserver
        schoeffm/dehydrated \ 
        -c -f /cfg/config -d <yourDomain> -o /cfg        # pass in all necessary arguments

Tag summary

Content type

Image

Digest

Size

64.7 MB

Last updated

over 9 years ago

docker pull schoeffm/rpi-dehydrated