Set-AzureADApplicationProxyApplicationCustomDomainCertificate

Das Cmdlet Set-AzureADApplicationProxyApplicationCustomDomainCertificate weist einer Anwendung, die für Anwendungsproxy in Azure Active Directory (AD) konfiguriert ist, ein Zertifikat zu. Dadurch wird das Zertifikat hochgeladen und der Anwendung die Verwendung von benutzerdefinierten Domänen ermöglicht.

Syntax

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

Beschreibung

Das Cmdlet Set-AzureADApplicationProxyApplicationCustomDomainCertificate weist einer Anwendung, die für Anwendungsproxy in Azure Active Directory (AD) konfiguriert ist, ein Zertifikat zu. Dadurch wird das Zertifikat hochgeladen und der Anwendung die Verwendung von benutzerdefinierten Domänen ermöglicht. Wenn Sie über ein Zertifikat verfügen, das viele Ihrer Anwendungen enthält, müssen Sie es nur mit einer Anwendung hochladen, und sie wird auch den anderen relevanten Anwendungen zugewiesen.

Beispiele

Beispiel 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

Beispiel 1: Zuweisen eines Zertifikats zu einer Anwendung, die für Anwendungsproxy konfiguriert ist

Parameter

-ObjectId

Die eindeutige Anwendungs-ID für die Anwendung, in die das Zertifikat hochgeladen werden soll. Dies finden Sie mithilfe des Befehls Get-AzureADApplication. Sie finden dies auch im Azure-Portal, indem Sie zu AAD, Enterprise Applications, All Applications, Select your application, go to the properties tab, and use the ObjectId on this page.

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

-Password

Eine sichere Zeichenfolge, die das Kennwort für das pfx-Zertifikat enthält

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

-PfxFilePath

Der Dateipfad für das pfx-Zertifikat für die benutzerdefinierte Domäne

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

Eingaben

String

System.Security.SecureString

Ausgaben

Object