Skip to content

Helper DigitalOcean Certbot for Generating LetsEncrypt

License

Notifications You must be signed in to change notification settings

devboxid/docert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

     _____          ___           ___           ___           ___
    /  /::\        /  /\         /  /\         /  /\         /  /\          ___
   /  /:/\:\      /  /::\       /  /:/        /  /:/_       /  /::\        /  /\
  /  /:/  \:\    /  /:/\:\     /  /:/        /  /:/ /\     /  /:/\:\      /  /:/
 /__/:/ \__\:|  /  /:/  \:\   /  /:/  ___   /  /:/ /:/_   /  /:/~/:/     /  /:/
 \  \:\ /  /:/ /__/:/ \__\:\ /__/:/  /  /\ /__/:/ /:/ /\ /__/:/ /:/___  /  /::\
  \  \:\  /:/  \  \:\ /  /:/ \  \:\ /  /:/ \  \:\/:/ /:/ \  \:\/:::::/ /__/:/\:\
   \  \:\/:/    \  \:\  /:/   \  \:\  /:/   \  \::/ /:/   \  \::/~~~~  \__\/  \:\
    \  \::/      \  \:\/:/     \  \:\/:/     \  \:\/:/     \  \:\           \  \:\
     \__\/        \  \::/       \  \::/       \  \::/       \  \:\           \__\/
                   \__\/         \__\/         \__\/         \__\/

	         Digitalocean Certificate Letsencrypt Generator

Description

docert is certbot helper script for generating letsencrypt using digitalocean plugin. It can be usefull for automation or manual creation. Personally we use this for generating ssl letsencrypt certificate on development.

How to use

Using this script is quite simple, but required docker. We already used this on Mac or Linux.

  1. Clone this repository, then build your docker image.
cd docert
docker build -t devboxid/docert:latest .
  1. Generate your digitalocean personal access token.
  2. Save in ./secrets/config.ini same as your working/cloned repository.
## config.ini
dns_digitalocean_token = deb15a2a06**************************************
  1. If you change tag docker build in step-1. Don't forget to change docker tag in docert.sh
  2. Run it.
./docert.sh

+-----------------------------------+
|  TASK    |   TASK USAGE FOR       |
+-----------------------------------+
|   list   |   list certificate     |
|   new    |   create certificate   |
|   renew  |   renew certificate    |
+-----------------------------------+

Type your task :

About

Helper DigitalOcean Certbot for Generating LetsEncrypt

Resources

License

Stars

Watchers

Forks

Packages

No packages published