mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-08 16:34:18 -04:00
security/acme-client: add support for Active24 API v2, closes #5381
This commit is contained in:
parent
72043b78bc
commit
a5e06c504a
4 changed files with 21 additions and 5 deletions
|
|
@ -10,6 +10,12 @@ Plugin Changelog
|
|||
|
||||
4.16
|
||||
|
||||
Added:
|
||||
* add support for Active24 API v2 (#5381)
|
||||
|
||||
Changed:
|
||||
* credentials for Active24 DNSAPI must be entered again (#5381)
|
||||
|
||||
Fixed:
|
||||
* fix incorrect naming scheme of TrueNAS WS automation
|
||||
|
||||
|
|
|
|||
|
|
@ -137,10 +137,15 @@
|
|||
<style>table_dns table_dns_active24</style>
|
||||
</field>
|
||||
<field>
|
||||
<id>validation.dns_active24_token</id>
|
||||
<label>Token</label>
|
||||
<id>validation.dns_active24_api_key</id>
|
||||
<label>API Key</label>
|
||||
<type>text</type>
|
||||
</field>
|
||||
<field>
|
||||
<id>validation.dns_active24_api_secret</id>
|
||||
<label>API Secret</label>
|
||||
<type>password</type>
|
||||
</field>
|
||||
<field>
|
||||
<label>Alwaysdata</label>
|
||||
<type>header</type>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* Copyright (C) 2026 Frank Wall
|
||||
* Copyright (C) 2022 Jan Winkler
|
||||
* All rights reserved.
|
||||
*
|
||||
|
|
@ -39,6 +40,7 @@ class DnsActive24 extends Base implements LeValidationInterface
|
|||
{
|
||||
public function prepare()
|
||||
{
|
||||
$this->acme_env['ACTIVE24_Token'] = (string)$this->config->dns_active24_token;
|
||||
$this->acme_env['Active24_ApiKey'] = (string)$this->config->dns_active24_api_key;
|
||||
$this->acme_env['Active24_ApiSecret'] = (string)$this->config->dns_active24_api_secret;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -552,9 +552,12 @@
|
|||
<ValidationMessage>Please specify a value between 0 and 84600 seconds.</ValidationMessage>
|
||||
<Required>Y</Required>
|
||||
</dns_sleep>
|
||||
<dns_active24_token type="TextField">
|
||||
<dns_active24_api_key type="TextField">
|
||||
<Required>N</Required>
|
||||
</dns_active24_token>
|
||||
</dns_active24_api_key>
|
||||
<dns_active24_api_secret type="TextField">
|
||||
<Required>N</Required>
|
||||
</dns_active24_api_secret>
|
||||
<dns_ad_key type="TextField">
|
||||
<Required>N</Required>
|
||||
</dns_ad_key>
|
||||
|
|
|
|||
Loading…
Reference in a new issue