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.

構文

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

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

詳細説明

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.

パラメーター

-AddToCertificateAia

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

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

true (ByPropertyName)

ワイルドカード文字を許可する

false

-AddToCertificateOcsp

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

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

true (ByPropertyName)

ワイルドカード文字を許可する

false

-Force

ユーザーの確認を求めずにコマンドを強制的に実行します。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

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.

エイリアス

なし

必須?

true

位置は?

2

既定値

なし

パイプライン入力を許可する

true (ByValue, ByPropertyName)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • System.String

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

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

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

-------------------------- 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"

関連トピック

Add-CAAuthorityInformationAccess

Get-CAAuthorityInformationAccess