Skip to content

Automatically adds or removes domains from existing SSL Certificate generated by certbot.

Notifications You must be signed in to change notification settings

gagan0123/auto-letsencrypt

Repository files navigation

Auto Letsencrypt

Contributors: gagan0123
Tags: letsencrypt, certificates
Requires at least: 4.5
Tested up to: 4.8.1
Stable tag: 1.0.1
License: GPLv2
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically add new domains to existing SSL Certificate of main domain

Description

Automatically adds or removes domains from existing SSL Certificate generated by certbot.

This plugin requires that the user running PHP-FPM can run function exec and has sudo access to following commands: service nginx reload certbot nginx -t

To add these commands to be sudoed you can create a file named /etc/sudoers.d/auto-letsencrypt with the following content: someuser ALL = NOPASSWD: /usr/sbin/service nginx reload someuser ALL = NOPASSWD: /usr/bin/certbot someuser ALL = NOPASSWD: /usr/sbin/nginx -t Replace someuser with the actual username of the user running PHP-FPM.

Installation

  1. Add the plugin's folder in the WordPress' plugin directory.
  2. Activate the plugin.

Changelog

1.0.1

  • Update certificate on site modification.
  • Fix the issue of additional SSL folder being created instead of just one.

1.0.0

  • Initial Release

About

Automatically adds or removes domains from existing SSL Certificate generated by certbot.

Resources

Stars

Watchers

Forks

Packages

No packages published