[pve-devel] [manager 1/6] Add plugin property for choosing different ACME modes.

Wolfgang Link w.link at proxmox.com
Mon Oct 14 13:08:15 CEST 2019


With this property, different methods for ACME challenges are possible.

At the moment we will only support HTTP-01 through StandAlone
and DNS-01 through ACME_sh Plugin.
---
 PVE/NodeConfig.pm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/PVE/NodeConfig.pm b/PVE/NodeConfig.pm
index b52868e2..a807c710 100644
--- a/PVE/NodeConfig.pm
+++ b/PVE/NodeConfig.pm
@@ -71,6 +71,13 @@ my $confdesc = {
 
 my $acmedesc = {
     account => get_standard_option('pve-acme-account-name'),
+    plugin => {
+	type => 'string',
+	enum => ['standalone'],
+	default => 'standalone',
+	optional => 1,
+	description => 'Supported ACME Plugins',
+    },
     domains => {
 	type => 'string',
 	format => 'pve-acme-domain-list',
-- 
2.20.1





More information about the pve-devel mailing list