hurah / certbot-helper
Small utility that helps setting up SSL certificates for the Novum Innovation app
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/hurah/certbot-helper
Requires
- php: ^7.4 || 8.0.*
- ext-json: *
- hurah/data-types: ^1.0
- hurah/innovation-app-util-http: dev-master
- symfony/console: 5.x-dev
Requires (Dev)
- phpunit/phpunit: ^9.3@dev
README
What is this?
This is a component of the Novum Innovation app. It scans for plugins / sites that make use of SSL/https and generates SSL certificates for them using the CertBot Docker container.
Usage
The package adds a novum-certbot script to the vendor/bin folder. Invoke the command without any arguments to
view all options. The script spins up a Docker container that will attempt to install SSL certificates. The resulting
command will be something like this:
Results
The command will exucute something in the order of this:
\#!/usr/bin/env bash
docker run --rm --name certbot \
      -v "$(pwd)/data/certbot:/data/certbot" \
      -v "$(pwd)/data/certbot:/etc/letsencrypt" \
      -v "/var/lib/letsencrypt:/var/lib/letsencrypt" \
      -p 80:80 \
      certbot/certbot certonly \
      --standalone \
      --preferred-challenges http \
      -d home.demo.novum.nu \
      --agree-tos \
      -m anton@novum.nu 
__
More info: Innovation app documentation