Remove-CAAuthorityInformationAccess

Remove-CAAuthorityInformationAccess

Removes authority information access (AIA) or Online Certificate Status Protocol (OCSP) URI from the AIA extension set on the certification authority.

Syntaxe

Parameter Set: RemoveAsAIA
Remove-CAAuthorityInformationAccess [-Uri] <String> [-AddToCertificateAia] [-Force] [ <CommonParameters>]

Parameter Set: RemoveAsOCSP
Remove-CAAuthorityInformationAccess [-Uri] <String> [-AddToCertificateOcsp] [-Force] [ <CommonParameters>]

Description détaillée

The Remove-CAAuthorityInformationAccess cmdlet removes the Authority Information Access (AIA) or Online Certificate Status Protocol (OCSP) URI from the AIA extension set on the certification authority.

Paramètres

-AddToCertificateAia

This switch indicates the Authority Information Access (AIA) uniform resource information (URI).

Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

true (ByPropertyName)

Accepter les caractères génériques ?

false

-AddToCertificateOcsp

This switch indicates an Online Responder's uniform resource information (URI).

Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

true (ByPropertyName)

Accepter les caractères génériques ?

false

-Force

Force la commande à s’exécuter sans demander confirmation à l’utilisateur.

Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-Uri<String>

Specifies the uniform resource identifier (URI) from where the certificate for the certification authority (CA) can be downloaded or the online responder information can be obtained. This information is added to the CA properties and registry.

Alias

none

Obligatoire ?

true

Position ?

2

Valeur par défaut

none

Accepter l’entrée de pipeline ?

true (ByValue, ByPropertyName)

Accepter les caractères génériques ?

false

<CommonParameters>

Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entrées

Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.

  • System.String

Sorties

Le type de sortie est le type des objets émis par l’applet de commande.

  • Microsoft.CertificateServices.Administration.Commands.CA.AuthorityInformationAccessResult

Remarques

  • You must be a member of Enterprise Admins group to successfully run this command.

Exemples

-------------------------- EXAMPLE 1 --------------------------

Description

-----------

Removes Authority Information Access (AIA) for the specified uniform resource identifier (URI) of 'https://www.contoso.com/pki/orca1.crt'.

C:\PS>Remove-CAAuthorityInformationAccess -uri "https://www.contoso.com/pki/orca1.crt" -AddToCertificateAIA

-------------------------- EXAMPLE 2 --------------------------

Description

-----------

Removes the Online Certificate Status Protocol (OCSP) for the specified uniform resource identifier (URI) of 'http://www.cpandl.com/ocsp'.

C:\PS>Remove-CAAuthorityInformationAccess -uri "http://www.cpandl.com/ocsp/" -AddToCertificateOCSP

-------------------------- EXAMPLE 3 --------------------------

Description

-----------

Removes all AIA and OCSP entries that match the URL 'https://www.contoso.com/pki/orca1.crt'.

C:\PS>Remove-CAAuthorityInformationAccess -uri "https://www.contoso.com/pki/orca1.crt"

Rubriques connexes

Add-CAAuthorityInformationAccess

Get-CAAuthorityInformationAccess