updates based on feedback
This commit is contained in:
parent
b85fe2f2b5
commit
771e72187a
|
@ -1012,7 +1012,7 @@ The following configuration properties are required to use the PowerDNS ACME Plu
|
|||
.. data:: ACME_POWERDNS_VERIFY
|
||||
:noindex:
|
||||
|
||||
This configures how TLS certificates on the PowerDNS API target are validated. The PowerDNS Plugin depends on the PyPi requests library, which supports the following options:
|
||||
This configures how TLS certificates on the PowerDNS API target are validated. The PowerDNS Plugin depends on the PyPi requests library, which supports the following options for the verify parameter:
|
||||
* True: Verifies the TLS certificate was issued by a known publicly-trusted CA. (Default)
|
||||
* False: Disables certificate validation (Not Recommended)
|
||||
* File/Dir path to CA Bundle: Verifies the TLS certificate was issued by a Certificate Authority in the provided CA bundle.
|
||||
|
|
|
@ -251,7 +251,7 @@ def _get(path, params=None):
|
|||
f"{base_uri}{path}",
|
||||
headers=_generate_header(),
|
||||
params=params,
|
||||
verify=verify_value,
|
||||
verify=verify_value
|
||||
)
|
||||
resp.raise_for_status()
|
||||
return resp.json()
|
||||
|
@ -265,6 +265,6 @@ def _patch(path, payload):
|
|||
f"{base_uri}{path}",
|
||||
data=json.dumps(payload),
|
||||
headers=_generate_header(),
|
||||
verify=verify_value,
|
||||
verify=verify_value
|
||||
)
|
||||
resp.raise_for_status()
|
||||
|
|
Loading…
Reference in New Issue