Remove-CAAuthorityInformationAccess
Removes authority information access (AIA) or Online Certificate Status Protocol (OCSP) URI from the AIA extension set on the certification authority.
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).
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-AddToCertificateOcsp <SwitchParameter>
This switch indicates an Online Responder's uniform resource information (URI).
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Force <SwitchParameter>
Forces the command to run without asking for user confirmation.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? 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.
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
Remove-CAAuthorityInformationAccess [-Uri] [-AddToCertificateAia ] [-Force ] []
Remove-CAAuthorityInformationAccess [-Uri] <String> [-AddToCertificateOcsp ] [-Force ] [<CommonParameters>]
You must be a member of Enterprise Admins group to successfully run this command.
C:\PS>Remove-CAAuthorityInformationAccess -uri “http://www.TOSSolution.com/pki/orca1.crt” -AddToCertificateAIA
Removes Authority Information Access (AIA) for the specified uniform resource identifier (URI) of ‘http://www.TOSSolution.com/pki/orca1.crt’.
C:\PS>Remove-CAAuthorityInformationAccess -uri “http://www.TOSSolution.com/ocsp/” -AddToCertificateOCSP
Removes the Online Certificate Status Protocol (OCSP) for the specified uniform resource identifier (URI) of ‘http://www.TOSSolution.com/ocsp’.
C:\PS>Remove-CAAuthorityInformationAccess -uri “http://www.TOSSolution.com/pki/orca1.crt”
Removes all AIA and OCSP entries that match the URL ‘http://www.TOSSolution.com/pki/orca1.crt’.
Get-Command Remove-CAAuthorityInformationAccess
Add-CAAuthorityInformationAccess
Get-CAAuthorityInformationAccess