SOLVED error ssl cpanel The provided dcv_methods is invalid

tpartzard

Member
Oct 15, 2021
8
0
1
Thailand
cPanel Access Level
Root Administrator
I get the error The cPanel Store returned an error (X::Item::Validation) in response to the request “POST ssl/certificate/whm-license/90-day”: The provided dcv_methods is invalid
after I use command /usr/local/cpanel/bin/checkallsslcerts because has a change hostname and wants to use SSL Cpanel Inc.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
14,322
2,242
363
cPanel Access Level
Root Administrator
Hey there! Usually there would be another line or two of output that shows the DCV method that was used and how it failed, such as not being able to access the random.txt file name on the system. Do you also get that output?
 

tpartzard

Member
Oct 15, 2021
8
0
1
Thailand
cPanel Access Level
Root Administrator
Hey there! Usually there would be another line or two of output that shows the DCV method that was used and how it failed, such as not being able to access the random.txt file name on the system. Do you also get that output?
Setting up HTTP DCV (/var/www/html/.well-known/pki-validation/xxxxxxxxxxxxxxxxxxxxx.txt) …
… complete.
Setting up DNS DCV for “domain1.com” and “domain2.com” …
… complete.

Attempting DNS DCV preflight checks …
domain1.com: DNS DCV preflight check failed; falling back to HTTP …

domain1.com: Attempting HTTP DCV preflight check …
… success!
domain1.com: Attempting HTTP DCV preflight check …
… success!

domain2.com.com: Attempting HTTP DCV preflight check …
… success!
mail.domain2.com: HTTP DCV OK (via domain2.com)
mail.domain2.com: HTTP DCV OK (via domain2.com)

Succeeded domains: 16
Failed domains: 8
Undoing HTTP DCV setup …
… complete.
Undoing DNS DCV setup …
… complete.
Setting up HTTP DCV (/var/www/html/.well-known/pki-validation/xxxxxxxxxxxxxxxxxxxxx.txt) …
… complete.
Setting up DNS DCV for “domain1.com” and “domain2.com” …
… complete.

Requesting certificate from cPStore …
The cPanel Store returned an error (X::Item::Validation) in response to the request “POST ssl/certificate/whm-license/90-day”: The provided dcv_methods is invalid
Undoing HTTP DCV setup (/var/www/html/.well-known/pki-validation/domain1.com” and “domain2.com.txt) …
… complete.
Enqueueing undo of DNS DCV setup (CNAME _da72323c9bfd0684f60660f64e04cde1.domain1.com) …
Enqueueing undo of DNS DCV setup (CNAME _da72323c9bfd0684f60660f64e04cde1.domain2.com) …
Undoing DNS DCV setup …
… done.
[WARN] The system failed to acquire a signed certificate from the cPanel Store because of the following error: (XID xd7d5n) The cPanel Store returned an error (X::Item::Validation) in response to the request “POST ssl/certificate/whm-license/90-day”: The provided dcv_methods is invalid
The system will check for the certificate for the “dovecot” service.
The system will attempt to replace the self-signed certificate for the “dovecot” service with a signed certificate from the cPanel Store.
The system will attempt to install a certificate for the “dovecot” service from the system ssl storage.
None of the certificates in the system ssl storage were acceptable to use for the “dovecot” service.
The system will check for the certificate for the “exim” service.
The system will attempt to replace the self-signed certificate for the “exim” service with a signed certificate from the cPanel Store.
The system will attempt to install a certificate for the “exim” service from the system ssl storage.
None of the certificates in the system ssl storage were acceptable to use for the “exim” service.

this is an example log I found.
 

tpartzard

Member
Oct 15, 2021
8
0
1
Thailand
cPanel Access Level
Root Administrator
before this, I had a problem with the license too (Cannot Read License File
To access the interface, you must install the license and ensure that the license is active.)
after I inform the Cpanel support team to unblock the license it looks like the problem (The provided dcv_methods is invalid ) was solved too. thank you for support.