Error in deployment ASDK in recovery mode

Nikolay Semenyuk 1 Reputation point
2021-09-19T05:24:27.543+00:00

Hello team,
trying to validate an Azure Stack backup using ASDK. Backups use certificate for encryption. So using this article https://learn.microsoft.com/en-us/azure-stack/asdk/asdk-validate-backup?view=azs-2102#use-powershell-to-deploy-the-asdk-in-recovery-mode. In deployment process I got an error regarding certificate issue (step - STARTING: Task Cloud\Fabric\CertificateManagement - SetupCertificateRestore):

Type 'SetupCertificateRestore' of Role 'CertificateManagement' raised an exception:
Exception calling "Import" with "3" argument(s): "The specified network password is not correct.
"
at Restore-InternalRootCertificate,
C:\CloudDeployment\Roles\CertificateManagement\CertificateManagement.psm1: line 1539
at SetupCertificateRestore,
C:\CloudDeployment\Classes\CertificateManagement\CertificateManagement.psm1: line 94
at <ScriptBlock>, <No file>: line 60
at <ScriptBlock>, <No file>: line 58 - 9/18/2021 9:55:57 PM
Invoke-EceAction : Type 'SetupCertificateRestore' of Role 'CertificateManagement' raised an
exception:
Exception calling "Import" with "3" argument(s): "The specified network password is not correct.
"
at Restore-InternalRootCertificate,
C:\CloudDeployment\Roles\CertificateManagement\CertificateManagement.psm1: line 1539
at SetupCertificateRestore,
C:\CloudDeployment\Classes\CertificateManagement\CertificateManagement.psm1: line 94
at <ScriptBlock>, <No file>: line 60
at <ScriptBlock>, <No file>: line 58
At line:5 char:2

  • Invoke-EceAction -RolePath Cloud -ActionType Deployment -Rerun -Retr ...
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • CategoryInfo : NotSpecified: (:) [Invoke-EceAction], InterfaceInvocationFailedExce
    ption
  • FullyQualifiedErrorId : CryptographicException,Restore-InternalRootCertificate,CloudEngine.
    Cmdlets.InvokeCmdlet

Could you please help with any ideas?

Azure Stack Hub
Azure Stack Hub
An extension of Azure for running apps in an on-premises environment and delivering Azure services in a datacenter.
166 questions
{count} votes