Skip to content

mbland/certbot-webroot-setup

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 

Certbot Webroot Setup

NOTE: Right now this program is untested and incomplete, very much in the Exploration phase.

Source: https://github.com/mbland/certbot-webroot-setup

License

This program encapsulates the steps needed to set up Certbot to use the Webroot plugin to install and renew Let's Encrypt SSL certificates.

It is written using the go-script-bash framework.

Table of contents

Introduction

To get a copy of the repo and view the online help:

$ git clone https://github.com/mbland/certbot-webroot-setup
$ cd certbot-webroot-setup
$ ./certbot-webroot-setup -h

It's recommended you alias the certbot-webroot-setup script using certbot-webroot-setup env to create the cws alias per the following:

$ eval "$(./certbot-webroot-setup env cws)"

To try to install certbot, generate a private key and Certificate Signing Request, and fetch a Let's Encrypt certificate all at once:

$ cws setup-all my-site.com me@mysite.com

If instead you want to take things step-by-step, you can run individual commands such as the following:

$ cws certbot-setup
$ cws ssl-generate private-key my-site.com.key
$ cws site-setup my-site.com my-site.com.key me@my-site.com
$ cws get-cert my-site.com

In either case, use cws webserver-config to generate a configuration block for your web server. Note that right now, only Nginx is supported.

Environment setup

To run certbot-webroot-setup, you must have Bash version 3.2 or greater installed on your system. Run bash --version to make sure Bash is in your PATH and is a compatible version. You should see output like this:

GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)
Copyright (C) 2007 Free Software Foundation, Inc.

If you do not see this, follow the instructions in the Installing Bash section of the go-script-bash README.

Open Source License

This software is made available as Open Source software under the ISC License. For the text of the license, see the LICENSE file.

About

Encapsulates the steps needed to set up Certbot to use the Webroot plugin to install and renew Let's Encrypt SSL certificates.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages