external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.CertificateServices.Administration.Commands.dll-Help.xml |
adcsadministration |
2.0.0 |
Configures the Authority Information Access (AIA) or Online Certificate Status Protocol (OCSP) for a certification authority (CA).
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>]
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.
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
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
PS C:\>$aia = Get-CAAuthorityInformationAccess
PS C:\>$aia | remove-CAAuthorityInformationAccess
These commands remove all AIA entries
Specifies to add the URI to the AIA extension of the issued certificate.
Type: SwitchParameter
Parameter Sets: AddAsAIA
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Specifies to add the URI to the Online Responder OCSP extension of the issued certificate.
Type: SwitchParameter
Parameter Sets: AddAsOCSP
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Suppresses all user prompts. By default, you are prompted to confirm each operation.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The input object is meant to be used in a pipeline command.
Type: AuthorityInformationAccess
Parameter Sets: AddAsInputObject
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Specifies a URI for the AIA or Online Responder OCSP location.
Type: String
Parameter Sets: AddAsAIA, AddAsOCSP
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
This output object has a single property named Restart of Boolean type, which by default is set to True.