Closed aravish closed 5 years ago
@aravish Thank you for your feedback! Could you link the URL of the documentation you were following? That way, we can pass your feedback to the appropriate content author.
PowerShell script to be updated with below
$lifetime=Get-Date
New-SelfSignedCertificate -Subject .contoso100.com -NotAfter $lifetime.AddDays(365) -KeyUsage DigitalSignature, KeyEncipherment
-Type SSLServerAuthentication -DnsName ".contoso100.com","contoso100.com"
@MarileeTurscak-MSFT please assign to me.
We reported this issue to the HDI team. They informed us this problem is resolved. Wildcard certificates always begin with an asterisk (*).
It is worth mentioning that even if you do generate self-signed certificate using the command above, you can still face the very same error if the vnet you are deploying to is not configured with the IP-addresses of DNS servers for AADDS. I ran into this even though I had vnet peering with AADDS vnet configured.
Self-signed cert needs to be generated by below command for the HDI cluster to provision correctly.
New-SelfSignedCertificate -Subject .contoso100.com -NotAfter $lifetime.AddDays(365) -KeyUsage DigitalSignature, KeyEncipherment -Type SSLServerAuthentication -DnsName ".contoso100.com","contoso100.com"
Errors encountered if not done via above command ,"ErrorCode":"DomainNotFoundInActiveDirectory","ErrorMessage":"Domain contoso100.com not found in the Active Directory."
com.microsoft.util.RetryException: com.microsoft.DomainOperationNonRetryableException: An SSL exception occurred while trying to communicate with the Active Directory. Make sure the certificate associated with the Active Directory is valid.
Caused by: java.security.cert.CertificateException: No subject alternative DNS name matching contoso100.com found.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.