Error restoring domain: error using key

paulonichio

Verified User
Joined
Jul 8, 2019
Messages
83
I tried restoring a cPanel backup file on DirectAdmin and received the following error message:

Cannot find creator 'XXX' when restoring 'user.XXX.YYY.tar.zst'. Reverting to 'ZZZ'
Domain domain.com.br added: Domain added successfully

Error restoring domain: error using key: error:0909006C: PEM routines:get_name:no start line
No text provided
Unable to find the CA certificate

I’m not sure whether this started happening with the latest DirectAdmin version or if it’s an issue with the specific backup file I attempted to restore.
Despite the error messages, the backup appears to have been restored successfully.

Could you clarify whether this indicates a real problem with the backup file or if it’s a known issue in the current DirectAdmin release?
 
This error is reported if the domain certificate private key file is missing or malformed. It should also print out the following line in the error log:

Code:
Domain::restore_ssl_certificates:: validation of ... and ... failed, they will not be restored

It is not related to the DirectAdmin updates.
 
Back
Top