2025. 5. 9. 17:25
Microsoft Entra Domain Services 관리되는 도메인에 대한 보안 LDAP 구성(인증서 생성)
2025. 5. 9. 17:25 in Azure

자습서 - Microsoft Entra Domain Services를 위한 LDAPS 구성 - Microsoft Entra ID
이 자습서에서는 Microsoft Entra Domain Services 관리되는 도메인에 대해 LDAPS(보안 Lightweight Directory Access Protocol)를 구성하는 방법을 알아봅니다.
learn.microsoft.com
메인은 인증서 생성이라 보면 됨.
AddDays(365) <- 이것이 1년짜리.
# Define your own DNS name used by your managed domain
$dnsName="aaddscontoso.com"
# Get the current date to set a one-year expiration
$lifetime=Get-Date
# Create a self-signed certificate for use with Azure AD DS
New-SelfSignedCertificate -Subject *.$dnsName -NotAfter $lifetime.AddDays(365) -KeyUsage DigitalSignature, KeyEncipherment -Type SSLServerAuthentication -DnsName *.$dnsName, $dnsName