Git Product home page Git Product logo

certbot-dns-freenom's Introduction

PyPI version

freenom DNS Authenticator plugin for Certbot

A certbot dns plugin to obtain certificates using Freenom DNS.

Credentials File

credentials.ini

dns_freenom_username = username
dns_freenom_password = password
chmod 600 /path/to/credentials.ini

Obtaining certificate

This are examples to obtain wildcard certificate. Change domain, email and path/to/credential.ini file to your owns.

Using pip

pip install certbot certbot-dns-freenom
certbot certonly -a dns-freenom \
  --dns-freenom-credentials /path/to/credentials.ini \
  --dns-freenom-propagation-seconds 300 \
  -d "*.example.com" \
  -m [email protected] \
  --agree-tos -n

Using docker

docker run \
    -v /path/to/credentials.ini:/credentials.ini \
    -v /etc/letsencrypt:/etc/letsencrypt \
    -v /var/lib/letsencrypt:/var/lib/letsencrypt \
    -v /var/log/letsencrypt:/var/log/letsencrypt \
    shm013/certbot-dns-freenom:latest \
    certonly \
    -a dns-freenom \
    --dns-freenom-credentials /credentials.ini \
    --dns-freenom-propagation-seconds 300 \
    -d '*.example.com' \
    -m '[email protected]' \
    --agree-tos -n

Possible problems

It take up to 30 minutes to update dns record. You can rise parameter certbot-dns-freenom:dns-freenom-propagation-seconds if cause any trouble such as:

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: youdomain.com
   Type:   dns
   Detail: DNS problem: NXDOMAIN looking up TXT for
   _acme-challenge.youdomain.com - check that a DNS record exists for this
   domain

certbot-dns-freenom's People

Contributors

shm013 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.