SSL CERTIFICATES ERROR

lrdmafia

Verified User
Joined
Jun 30, 2020
Messages
34
COULD YOU PLEASE HELP ME ?

COULD NOT EXECUTE YOUR REQUEST​


Found DNS provider configured: clouddns
2021/08/30 10:23:23 [INFO] [dcfiber.ro, ftp.dcfiber.ro, mail.dcfiber.ro, www.dcfiber.ro] acme: Obtaining SAN certificate
2021/08/30 10:23:25 [INFO] [dcfiber.ro] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/26377378630
2021/08/30 10:23:25 [INFO] [ftp.dcfiber.ro] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/26377378640
2021/08/30 10:23:25 [INFO] [mail.dcfiber.ro] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/26377378650
2021/08/30 10:23:25 [INFO] [www.dcfiber.ro] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/26377378660
2021/08/30 10:23:25 [INFO] [dcfiber.ro] acme: Could not find solver for: tls-alpn-01
2021/08/30 10:23:25 [INFO] [dcfiber.ro] acme: Could not find solver for: http-01
2021/08/30 10:23:25 [INFO] [dcfiber.ro] acme: use dns-01 solver
2021/08/30 10:23:25 [INFO] [ftp.dcfiber.ro] acme: Could not find solver for: tls-alpn-01
2021/08/30 10:23:25 [INFO] [ftp.dcfiber.ro] acme: Could not find solver for: http-01
2021/08/30 10:23:25 [INFO] [ftp.dcfiber.ro] acme: use dns-01 solver
2021/08/30 10:23:25 [INFO] [mail.dcfiber.ro] acme: Could not find solver for: tls-alpn-01
2021/08/30 10:23:25 [INFO] [mail.dcfiber.ro] acme: Could not find solver for: http-01
2021/08/30 10:23:25 [INFO] [mail.dcfiber.ro] acme: use dns-01 solver
2021/08/30 10:23:25 [INFO] [www.dcfiber.ro] acme: Could not find solver for: tls-alpn-01
2021/08/30 10:23:25 [INFO] [www.dcfiber.ro] acme: Could not find solver for: http-01
2021/08/30 10:23:25 [INFO] [www.dcfiber.ro] acme: use dns-01 solver
2021/08/30 10:23:25 [INFO] [dcfiber.ro] acme: Preparing to solve DNS-01
2021/08/30 10:23:26 [INFO] [ftp.dcfiber.ro] acme: Preparing to solve DNS-01
2021/08/30 10:23:26 [INFO] [mail.dcfiber.ro] acme: Preparing to solve DNS-01
2021/08/30 10:23:26 [INFO] [www.dcfiber.ro] acme: Preparing to solve DNS-01
2021/08/30 10:23:26 [INFO] [dcfiber.ro] acme: Cleaning DNS-01 challenge
2021/08/30 10:23:26 [WARN] [dcfiber.ro] acme: cleaning up failed: clouddns: APIError unmarshaling error: json: cannot unmarshal string into Go struct field ErrorContent.error.code of type int: the request https://admin.vshosting.cloud/api/public/auth/login sent a response with a body which is an invalid format: "{\"error\":{\"code\":\"405\",\"message\":\"Potentially fraud behaviour detected. Please provide additional validation by Google reCaptcha.\"}}"
2021/08/30 10:23:26 [INFO] [ftp.dcfiber.ro] acme: Cleaning DNS-01 challenge
2021/08/30 10:23:26 [WARN] [ftp.dcfiber.ro] acme: cleaning up failed: clouddns: APIError unmarshaling error: json: cannot unmarshal string into Go struct field ErrorContent.error.code of type int: the request https://admin.vshosting.cloud/api/public/auth/login sent a response with a body which is an invalid format: "{\"error\":{\"code\":\"405\",\"message\":\"Potentially fraud behaviour detected. Please provide additional validation by Google reCaptcha.\"}}"
2021/08/30 10:23:26 [INFO] [mail.dcfiber.ro] acme: Cleaning DNS-01 challenge
2021/08/30 10:23:26 [WARN] [mail.dcfiber.ro] acme: cleaning up failed: clouddns: APIError unmarshaling error: json: cannot unmarshal string into Go struct field ErrorContent.error.code of type int: the request https://admin.vshosting.cloud/api/public/auth/login sent a response with a body which is an invalid format: "{\"error\":{\"code\":\"405\",\"message\":\"Potentially fraud behaviour detected. Please provide additional validation by Google reCaptcha.\"}}"
2021/08/30 10:23:26 [INFO] [www.dcfiber.ro] acme: Cleaning DNS-01 challenge
2021/08/30 10:23:26 [WARN] [www.dcfiber.ro] acme: cleaning up failed: clouddns: APIError unmarshaling error: json: cannot unmarshal string into Go struct field ErrorContent.error.code of type int: the request https://admin.vshosting.cloud/api/public/auth/login sent a response with a body which is an invalid format: "{\"error\":{\"code\":\"405\",\"message\":\"Potentially fraud behaviour detected. Please provide additional validation by Google reCaptcha.\"}}"
2021/08/30 10:23:27 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/26377378630
2021/08/30 10:23:27 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/26377378640
2021/08/30 10:23:28 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/26377378650
2021/08/30 10:23:28 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/26377378660
2021/08/30 10:23:29 Could not obtain certificates:
error: one or more domains had a problem:
[dcfiber.ro] [dcfiber.ro] acme: error presenting token: clouddns: APIError unmarshaling error: json: cannot unmarshal string into Go struct field ErrorContent.error.code of type int: the request https://admin.vshosting.cloud/api/public/auth/login sent a response with a body which is an invalid format: "{\"error\":{\"code\":\"405\",\"message\":\"Potentially fraud behaviour detected. Please provide additional validation by Google reCaptcha.\"}}"
[ftp.dcfiber.ro] [ftp.dcfiber.ro] acme: error presenting token: clouddns: APIError unmarshaling error: json: cannot unmarshal string into Go struct field ErrorContent.error.code of type int: the request https://admin.vshosting.cloud/api/public/auth/login sent a response with a body which is an invalid format: "{\"error\":{\"code\":\"405\",\"message\":\"Potentially fraud behaviour detected. Please provide additional validation by Google reCaptcha.\"}}"
[mail.dcfiber.ro] [mail.dcfiber.ro] acme: error presenting token: clouddns: APIError unmarshaling error: json: cannot unmarshal string into Go struct field ErrorContent.error.code of type int: the request https://admin.vshosting.cloud/api/public/auth/login sent a response with a body which is an invalid format: "{\"error\":{\"code\":\"405\",\"message\":\"Potentially fraud behaviour detected. Please provide additional validation by Google reCaptcha.\"}}"
[www.dcfiber.ro] [www.dcfiber.ro] acme: error presenting token: clouddns: APIError unmarshaling error: json: cannot unmarshal string into Go struct field ErrorContent.error.code of type int: the request https://admin.vshosting.cloud/api/public/auth/login sent a response with a body which is an invalid format: "{\"error\":{\"code\":\"405\",\"message\":\"Potentially fraud behaviour detected. Please provide additional validation by Google reCaptcha.\"}}"
Certificate generation failed.
 

ikkeben

Verified User
Joined
May 22, 2014
Messages
1,544
Location
Netherlands Germany
Should it be clouddns?
Or cloudns!


I don't know but check to be sure.

Post versions of your OS and DA here

also what you use for the dns parts.

I can't help but for support could be important.
 

lrdmafia

Verified User
Joined
Jun 30, 2020
Messages
34
Server version 1.62.7
CentOS 6.0 64-Bit
my license id 218148
I use Free & automatic certificate from Let's Encrypt
 

MaXi32

Verified User
Joined
Jul 25, 2016
Messages
630
Location
The Earth
Looks like external DNS might have problem with API. You can check the API status from the clouddns provider.
 

lrdmafia

Verified User
Joined
Jun 30, 2020
Messages
34
I have nothing here


sss.png
 

MaXi32

Verified User
Joined
Jul 25, 2016
Messages
630
Location
The Earth
But the error message clearly said that the API is overused (hit the limit)

"Potentially fraud behaviour detected. Please provide additional validation by Google reCaptcha"

Maybe you need to generate a new key? or you need to login into cloudDNS, then and verify with recaptcha first? or wait an hour and try again

Also, do not choose the wrong provider when you put API key as mentioned by @ikkeben
 
Last edited:

ikkeben

Verified User
Joined
May 22, 2014
Messages
1,544
Location
Netherlands Germany
But the error message clearly said that the API is overused (hit the limit)

"Potentially fraud behaviour detected. Please provide additional validation by Google reCaptcha"

Maybe you need to generate a new key? or you need to login into cloudDNS, then and verify with recaptcha first? or wait an hour and try again

Also, do not choose the wrong provider when you put API key as mentioned by @ikkeben
YUP reading with on D and two D's Cloudns and clouddns (token: clouddns:) but your client panel screenprint is at cloudns
 

lrdmafia

Verified User
Joined
Jun 30, 2020
Messages
34
Found DNS provider configured: cloudns
2021/09/01 12:37:02 [INFO] [dcfiber.ro, *.dcfiber.ro] acme: Obtaining SAN certificate
2021/09/01 12:37:04 [INFO] [*.dcfiber.ro] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/27002583890
2021/09/01 12:37:04 [INFO] [dcfiber.ro] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/27002583900
2021/09/01 12:37:04 [INFO] [*.dcfiber.ro] acme: use dns-01 solver
2021/09/01 12:37:04 [INFO] [dcfiber.ro] acme: Could not find solver for: tls-alpn-01
2021/09/01 12:37:04 [INFO] [dcfiber.ro] acme: Could not find solver for: http-01
2021/09/01 12:37:04 [INFO] [dcfiber.ro] acme: use dns-01 solver
2021/09/01 12:37:04 [INFO] [*.dcfiber.ro] acme: Preparing to solve DNS-01
2021/09/01 12:37:05 [INFO] [dcfiber.ro] acme: Preparing to solve DNS-01
2021/09/01 12:37:05 [INFO] [*.dcfiber.ro] acme: Cleaning DNS-01 challenge
2021/09/01 12:37:05 [WARN] [*.dcfiber.ro] acme: cleaning up failed: ClouDNS: zone dcfiber.ro not found for authFQDN _acme-challenge.dcfiber.ro.
2021/09/01 12:37:05 [INFO] [dcfiber.ro] acme: Cleaning DNS-01 challenge
2021/09/01 12:37:05 [WARN] [dcfiber.ro] acme: cleaning up failed: ClouDNS: zone dcfiber.ro not found for authFQDN _acme-challenge.dcfiber.ro.
2021/09/01 12:37:05 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/27002583890
2021/09/01 12:37:06 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/27002583900
2021/09/01 12:37:06 Could not obtain certificates:
error: one or more domains had a problem:
[*.dcfiber.ro] [*.dcfiber.ro] acme: error presenting token: ClouDNS: zone dcfiber.ro not found for authFQDN _acme-challenge.dcfiber.ro.
[dcfiber.ro] [dcfiber.ro] acme: error presenting token: ClouDNS: zone dcfiber.ro not found for authFQDN _acme-challenge.dcfiber.ro.
Certificate generation failed.
 

ikkeben

Verified User
Joined
May 22, 2014
Messages
1,544
Location
Netherlands Germany
Found DNS provider configured: cloudns
2021/09/01 12:37:02 [INFO] [dcfiber.ro, *.dcfiber.ro] acme: Obtaining SAN certificate
2021/09/01 12:37:04 [INFO] [*.dcfiber.ro] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/27002583890
2021/09/01 12:37:04 [INFO] [dcfiber.ro] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/27002583900
2021/09/01 12:37:04 [INFO] [*.dcfiber.ro] acme: use dns-01 solver
2021/09/01 12:37:04 [INFO] [dcfiber.ro] acme: Could not find solver for: tls-alpn-01
2021/09/01 12:37:04 [INFO] [dcfiber.ro] acme: Could not find solver for: http-01
2021/09/01 12:37:04 [INFO] [dcfiber.ro] acme: use dns-01 solver
2021/09/01 12:37:04 [INFO] [*.dcfiber.ro] acme: Preparing to solve DNS-01
2021/09/01 12:37:05 [INFO] [dcfiber.ro] acme: Preparing to solve DNS-01
2021/09/01 12:37:05 [INFO] [*.dcfiber.ro] acme: Cleaning DNS-01 challenge
2021/09/01 12:37:05 [WARN] [*.dcfiber.ro] acme: cleaning up failed: ClouDNS: zone dcfiber.ro not found for authFQDN _acme-challenge.dcfiber.ro.
2021/09/01 12:37:05 [INFO] [dcfiber.ro] acme: Cleaning DNS-01 challenge
2021/09/01 12:37:05 [WARN] [dcfiber.ro] acme: cleaning up failed: ClouDNS: zone dcfiber.ro not found for authFQDN _acme-challenge.dcfiber.ro.
2021/09/01 12:37:05 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/27002583890
2021/09/01 12:37:06 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/27002583900
2021/09/01 12:37:06 Could not obtain certificates:
error: one or more domains had a problem:
[*.dcfiber.ro] [*.dcfiber.ro] acme: error presenting token: ClouDNS: zone dcfiber.ro not found for authFQDN _acme-challenge.dcfiber.ro.
[dcfiber.ro] [dcfiber.ro] acme: error presenting token: ClouDNS: zone dcfiber.ro not found for authFQDN _acme-challenge.dcfiber.ro.
Certificate generation failed.
With this you can open a ticket in cloudns panel or chat there with their Support i think they can help you. ;)


Also if you use script internal external for dns services in DA see https://forum.directadmin.com/threa...rs-ready-for-testing.61668/page-3#post-335054
 
Last edited:

MaXi32

Verified User
Joined
Jul 25, 2016
Messages
630
Location
The Earth
Also if you use script internal external for dns services in DA see https://forum.directadmin.com/threa...rs-ready-for-testing.61668/page-3#post-335054

Actually here is the sample script to do that (for linode). For other DNS provider, I think this is similar, we just need to change the API end point (refer to the provider API).


The code is very old. I do not know if it is still working but the concept is still the same. I will update that if I have time.

There is also a way how you clone directadmin dns records for specific domain (obtained from directadmin API), then you can push it to external DNS of your provider (required external DNS API). So, you will have both matching record in da and external DNS (this does not require wildcard option enabled). This can be enabled during domain creation, or manual record insertion that will work automatically (using the power of pre and post hook from directadmin)


Found DNS provider configured: cloudns
2021/09/01 12:37:02 [INFO] [dcfiber.ro, *.dcfiber.ro] acme: Obtaining SAN certificate
2021/09/01 12:37:04 [INFO] [*.dcfiber.ro] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/27002583890
2021/09/01 12:37:04 [INFO] [dcfiber.ro] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/27002583900
2021/09/01 12:37:04 [INFO] [*.dcfiber.ro] acme: use dns-01 solver
2021/09/01 12:37:04 [INFO] [dcfiber.ro] acme: Could not find solver for: tls-alpn-01
2021/09/01 12:37:04 [INFO] [dcfiber.ro] acme: Could not find solver for: http-01
2021/09/01 12:37:04 [INFO] [dcfiber.ro] acme: use dns-01 solver
2021/09/01 12:37:04 [INFO] [*.dcfiber.ro] acme: Preparing to solve DNS-01
2021/09/01 12:37:05 [INFO] [dcfiber.ro] acme: Preparing to solve DNS-01
2021/09/01 12:37:05 [INFO] [*.dcfiber.ro] acme: Cleaning DNS-01 challenge
2021/09/01 12:37:05 [WARN] [*.dcfiber.ro] acme: cleaning up failed: ClouDNS: zone dcfiber.ro not found for authFQDN _acme-challenge.dcfiber.ro.
2021/09/01 12:37:05 [INFO] [dcfiber.ro] acme: Cleaning DNS-01 challenge
2021/09/01 12:37:05 [WARN] [dcfiber.ro] acme: cleaning up failed: ClouDNS: zone dcfiber.ro not found for authFQDN _acme-challenge.dcfiber.ro.
2021/09/01 12:37:05 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/27002583890
2021/09/01 12:37:06 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/27002583900
2021/09/01 12:37:06 Could not obtain certificates:
error: one or more domains had a problem:
[*.dcfiber.ro] [*.dcfiber.ro] acme: error presenting token: ClouDNS: zone dcfiber.ro not found for authFQDN _acme-challenge.dcfiber.ro.
[dcfiber.ro] [dcfiber.ro] acme: error presenting token: ClouDNS: zone dcfiber.ro not found for authFQDN _acme-challenge.dcfiber.ro.
Certificate generation failed.

I did some search and I think this might be bug in API. You might need to open a ticket and ask them.
 
Last edited:

ikkeben

Verified User
Joined
May 22, 2014
Messages
1,544
Location
Netherlands Germany
First things first , check if manual works so without API and scripts for a domain at that external dns service provider.

You have to know if settings configs and what you do is right.
Before using a script or api, is my opinion.

I am often use external but no script no api so more work, but no time to check api and script system , also to often things partly not working 100% after a update at on side or even parts.

Not so much domains, and no changes often then my advice do it manualy.
If lot of domains or often changes then first test to do it manual, after that looking for the scripts/ apis and test if possible for one domain only. ( that i don't know) but per domain is a must while we use several external dns service providers depending what the need is for a domain. (DDOS dns, GEO... )
 
Top