Skip to content

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

License

Notifications You must be signed in to change notification settings

mbland/certbot-webroot-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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