Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.24 KB

README.md

File metadata and controls

40 lines (31 loc) · 1.24 KB

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