Skip to content

Conversation

@tcuthbert
Copy link

@tcuthbert tcuthbert commented Apr 12, 2021

linuxserver.io


  • I have read the contributing guideline and understand that I have made the correct modifications

Description:

This change introduces a vultr DNS authentication plugin for certbot.

Benefits of this PR and context:

vultr is a popular VPS provider that supports dynamic dns, this PR may be useful to some of your users.

How Has This Been Tested?

Running the x86_64 build locally on my vultr instance. Confirmed valid LE certificate has been installed in my container.

In addition to this I have successfully built the arm64 image with the latest upstream docker image.

from my vultr instance.

git pull $MY_REPO; cd docker-swag
sudo docker build   --no-cache   --pull   -t ghcr.io/linuxserver/swag:latest .
sudo -u my_user docker run \
        --name=swag \
        --cap-add=NET_ADMIN \
        -e PUID=666 \
        -e PGID=666 \
        -e URL=mydomain.xyz \
        -e SUBDOMAINS=me \
        -e VALIDATION=dns \
        -e DNSPLUGIN=vultr \
        -p 127.0.0.1:443:443 \
        -v /srv/proxy/config:/config \
        ghcr.io/linuxserver/swag
sudo cat /srv/proxy/config/etc/letsencrypt/archive/*.xyz/cert1.pem | openssl x509 -noout -subject
subject=CN = me.mydomain.xyz

Source / References:

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for opening this pull request! Be sure to follow the pull request template!

@LinuxServer-CI
Copy link
Contributor

@aptalca aptalca merged commit ff56929 into linuxserver:master Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants