PowerShell Logo Small

Add-CAAuthorityInformationAccess



This is the built-in help made by Microsoft for the command 'Add-CAAuthorityInformationAccess', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Configures the Authority Information Access (AIA) or Online Certificate Status Protocol (OCSP) for a certification authority (CA).

SYNTAX


Add-CAAuthorityInformationAccess [-Uri] <String> [-Force] -AddToCertificateAia [-Confirm] [-WhatIf] [<CommonParameters>]
Add-CAAuthorityInformationAccess [-Uri] <String> [-Force] -AddToCertificateOcsp [-Confirm] [-WhatIf] [<CommonParameters>]
Add-CAAuthorityInformationAccess [-InputObject] <AuthorityInformationAccess> [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Add-CAAuthorityInformationAccess cmdlet configures the uniform resource identifier (URI) for the AIA or Online Responder OCSP location for a CA. An AIA URI should
specify either an AIA extension or an OCSP extension, but not both.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkID=290936
Get-CAAuthorityInformationAccess
Remove-CAAuthorityInformationAccess

REMARKS

<

Examples


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

PS C:\>Add-CAAuthorityInformationAccess –AddToCertificateAia -uri http://ca1.corp.contoso.com/pki



Description

-----------

Adds Authority Information Access (AIA) for the specified certification authority to http://ca1.corp.contoso.com/pki




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

PS C:\>Add-CAAuthorityInformationAccess -AddToCertificateOcsp -uri http://www.corp.contoso.com/ocsp



Description

-----------

Adds AIA for OCSP pointing to http://www.corp.contoso.com/ocsp




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

PS C:\>$aia = Get-CAAuthorityInformationAccess


PS C:\>$aia | remove-CAAuthorityInformationAccess



These commands remove all AIA entries