suite
# db domains show
domain.com=domain
Content=Primary
Description=Primary domain
Nameservers=localhost
Removable=no
SystemPrimaryDomain=yes
letsencryptSSLcert=enabled
# db hosts show
ftp.domain.com=host
ExternalIP=
HostType=Self
InternalIP=
MACAddress=
mail.domain.com=host
ExternalIP=
HostType=Self
InternalIP=
MACAddress=
letsencryptSSLcert=enabled
nuts.domain.com=host
Comment=
ExternalIP=
HostType=Local
InternalIP=10.97.1.80
MACAddress=
pc-00105.domain.com=host
Comment=
ExternalIP=
HostType=Local
InternalIP=10.97.1.51
MACAddress=
proxy.domain.com=host
ExternalIP=
HostType=Self
InternalIP=
MACAddress=
tux.domain.com=host
ExternalIP=
HostType=Self
InternalIP=
MACAddress=
ReverseDNS=yes
static=yes
wpad.domain.com=host
ExternalIP=
HostType=Self
InternalIP=
MACAddress=
www.domain.com=host
ExternalIP=
HostType=Self
InternalIP=
MACAddress=
letsencryptSSLcert=enabled
www2.domain.com=host
Comment=
ExternalIP=
HostType=Self
InternalIP=
MACAddress=
letsencryptSSLcert=enabled
# config show letsencrypt
letsencrypt=service
ACCEPT_TERMS=yes
configure=all
email=admin@domain.com
hookScript=disabled
status=test
# dehydrated -c
# INFO: Using main config file /etc/dehydrated/config
+ Generating account key...
+ Registering account key with ACME server...
+ ERROR: An error occurred while sending post-request to
https://acme-staging.api.letsencrypt.org/acme/new-reg (Status 403)
Details:
HTTP/1.1 100 Continue
HTTP/1.1 403 Forbidden
Server: nginx
Date: Sat, 15 Feb 2020 17:40:00 GMT
Content-Type: application/problem+json
Content-Length: 280
Connection: keep-alive
Cache-Control: public, max-age=0, no-cache
Replay-Nonce: 0001GgVRQ-Zk9fpOD1AWlxkrrYJQyoNo-eR-1tx402God_Y
{
"type": "urn:acme:error:unauthorized",
"detail": "Account creation on ACMEv1 is disabled. Please upgrade your ACME client to a version that supports ACMEv2 / RFC 8555. See
https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430 for details.",
"status": 403
}
Error registering account key. See message above for more information.
=>
J'ai oublié de faire
# config setprop letsencrypt API 2
# signal-event console-save
# config show letsencrypt
letsencrypt=service
ACCEPT_TERMS=yes
API=2
configure=all
email=admin@domain.com
hookScript=disabled
status=test
# dehydrated -c
# INFO: Using main config file /etc/dehydrated/config
+ Generating account key...
+ Registering account key with ACME server...
Fetching missing account information from CA...
+ Creating chain cache directory /etc/dehydrated/chains
Processing domain.com with alternative names: domain.com ftp.domain.com mail.domain.com nuts.domain.com pc-00105.domain.com proxy.domain.com tux.domain.com wpad.domain.com
www.domain.com www2.domain.com
+ Creating new directory /etc/dehydrated/certs/domain.com ...
+ Signing domains...
+ Generating private key...
+ Generating signing request...
+ Requesting new certificate order from CA...
+ Received 10 authorizations URLs from the CA
+ ERROR: An error occurred while sending get-request to
https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/39074804 (Status 405)
Details:
HTTP/1.1 405 Method Not Allowed
Server: nginx
Date: Sat, 15 Feb 2020 18:00:20 GMT
Content-Type: application/problem+json
Content-Length: 103
Connection: keep-alive
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-staging-v02.api.letsencrypt.org/directory>;rel="index"
{
"type": "urn:ietf:params:acme:error:malformed",
"detail": "Method not allowed",
"status": 405
}
encore erreur
Anne