Hello Experts,
I have deployed a 2 node Azure stack HCI cluster on HPE servers, The cluster is healthy and I have HCI enabled on my Azure subscription.
When I am trying to register the Cluster with Azure it is failing and here's the snippet from log.
VERBOSE: Command [ New-AzureADApplicationKeyCredential -ObjectId $ObjectId -Type AsymmetricX509Cert -Usage Verify -Value $CertBase64 -StartDate $now -EndDate $Cert.NotAfter] succeeded. Non null result received.
VERBOSE: Command [ Get-AzureADApplicationKeyCredential -ObjectId $ObjectId | where {($.KeyId -eq $appCredential.KeyId)} ] succeeded. Non null result received.
******PS>TerminatingError(): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Failed to validate and set registration certificate."*
DEBUG: Exception occured in Set-AzureStackHCIRegistrationCertificate. ErrorMessage : Failed to validate and set registration certificate.
DEBUG: Failed to validate and set registration certificate.*
VERBOSE: Command [ New-AzureADApplicationKeyCredential -ObjectId $ObjectId -Type AsymmetricX509Cert -Usage Verify -Value $CertBase64 -StartDate $now -EndDate $Cert.NotAfter] succeeded. Non null result received.
VERBOSE: Command [ Get-AzureADApplicationKeyCredential -ObjectId $ObjectId | where {($.KeyId -eq $appCredential.KeyId)} ] succeeded. Non null result received.
PS>TerminatingError(): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Failed to validate and set registration certificate."
DEBUG: Exception occured in Set-AzureStackHCIRegistrationCertificate. ErrorMessage : Failed to validate and set registration certificate.
DEBUG: Failed to validate and set registration certificate.
PS>TerminatingError(Register-AzStackHCI): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Failed to register. Couldn't generate self-signed certificate on node(s) . Couldn't set and verify registration certificate on node(s) HCI01,HCI02. Make sure every clustered node is up and has Internet connectivity (at least outbound to Azure)."
Register-AzStackHCI : Failed to register. Couldn't generate self-signed certificate on node(s) . Couldn't set and
verify registration certificate on node(s) HCI01,HCI02. Make sure every clustered node is up and has Internet
Note: I have validated internet connectivity and I am using global administrator account
Any help would be appreciated.