Site icon TOSS

Add-CAAuthorityInformationAccess

powershell

Add-CAAuthorityInformationAccess is accessible with the help of adcsadministration module.

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

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.

Parameters

-AddToCertificateAia
Specifies to add the URI to the AIA extension of the issued certificate.

Required? true
Position? named
Default value
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false

-AddToCertificateOcsp
Specifies to add the URI to the Online Responder OCSP extension of the issued certificate.

Required? true
Position? named
Default value
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false

-Force
Suppresses all user prompts. By default, you are prompted to confirm each operation.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-InputObject
The input object is meant to be used in a pipeline command.

Required? true
Position? 2
Default value
Accept pipeline input? True (ByValue, ByPropertyName)
Accept wildcard characters? false

-Uri
Specifies a URI for the AIA or Online Responder OCSP location.

Required? true
Position? 2
Default value
Accept pipeline input? True (ByValue, ByPropertyName)
Accept wildcard characters? false

-Confirm
Prompts you for confirmation before running the cmdlet.

Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false

-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false

Syntax

 
Add-CAAuthorityInformationAccess [-InputObject] <AuthorityInformationAccess> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

Add-CAAuthorityInformationAccess [-Uri] <string> -AddToCertificateAia [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

Add-CAAuthorityInformationAccess [-Uri] <string> -AddToCertificateOcsp [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

Examples
————————– EXAMPLE 1 ————————–
PS C:>Add-CAAuthorityInformationAccess –AddToCertificateAia -uri http:// TOSSolution .com/pki
Adds Authority Information Access (AIA) for the specified certification authority to http:// TOSSolution .com/pki

————————– EXAMPLE 2 ————————–
PS C:>Add-CAAuthorityInformationAccess -AddToCertificateOcsp -uri http://www. TOSSolution .com/ocsp
Adds AIA for OCSP pointing to http://www.TOSSolution.com/ocsp

————————– EXAMPLE 3 ————————–
PS C:>$aia = Get-CAAuthorityInformationAccess

PS C:\>$aia | remove-CAAuthorityInformationAccess

These commands remove all AIA entries

You can check the Version, CommandType and Source of this cmdlet by giving below command.

Get-Command Add-CAAuthorityInformationAccess

You can also read about
Get-CAAuthorityInformationAccess
Remove-CAAuthorityInformationAccess

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information.

References are taken from official Microsoft websites

Exit mobile version