Set-AzureADApplicationProxyApplicationCustomDomainCertificate

De Set-AzureADApplicationProxyApplicationCustomDomainCertificate cmdlet wijst een certificaat toe aan een toepassing die is geconfigureerd voor toepassingsproxy in Azure Active Directory (AD). Hiermee wordt het certificaat geüpload en kan de toepassing aangepaste domeinen gebruiken.

Syntax

Set-AzureADApplicationProxyApplicationCustomDomainCertificate
   -ObjectId <String>
   -PfxFilePath <String>
   -Password <SecureString>
   [<CommonParameters>]

Description

De Set-AzureADApplicationProxyApplicationCustomDomainCertificate cmdlet wijst een certificaat toe aan een toepassing die is geconfigureerd voor toepassingsproxy in Azure Active Directory (AD). Hiermee wordt het certificaat geüpload en kan de toepassing aangepaste domeinen gebruiken. Als u één certificaat hebt dat veel van uw toepassingen bevat, hoeft u het alleen te uploaden met één toepassing en wordt het ook toegewezen aan de andere relevante toepassingen.

Voorbeelden

Voorbeeld 1

PS C:\> $securePassword = Read-Host -AsSecureString
PS C:\> Set-AzureADApplicationProxyApplicationCustomDomainCertificate -ObjectId 4eba5342-8d17-4eac-a1f6-62a0de26311e -PfxFilePath "C:\Temp\Certificates\cert.pfx" -Password $securePassword

Voorbeeld 1: Een certificaat toewijzen aan een toepassing die is geconfigureerd voor toepassingsproxy

Parameters

-ObjectId

De unieke toepassings-id voor de toepassing waar het certificaat naar moet worden geüpload. U vindt deze met behulp van de opdracht Get-AzureADApplication. U kunt dit ook vinden in Azure Portal door te navigeren naar AAD, Bedrijfstoepassingen, Alle toepassingen, Uw toepassing selecteren, naar het tabblad Eigenschappen te gaan en de ObjectId op die pagina te gebruiken.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Password

Een beveiligde tekenreeks met het wachtwoord voor het PFX-certificaat

Type:SecureString
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-PfxFilePath

Het bestandspad voor het PFX-certificaat voor het aangepaste domein

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Invoerwaarden

String

System.Security.SecureString

Uitvoerwaarden

Object