Install-AdcsEnrollmentPolicyWebService

Install-AdcsEnrollmentPolicyWebService

Performs the configuration of Certificate Enrollment Policy Web service.

Sintaxis

Parameter Set: DefaultParameterSet
Install-AdcsEnrollmentPolicyWebService [-AuthenticationType <AuthenticationType> ] [-Credential <PSCredential> ] [-Force] [-KeyBasedRenewal] [-SSLCertThumbprint <String> ] [ <CommonParameters>]

Descripción detallada

The Install-AdcsEnrollmentPolicyWebService cmdlet performs the configuration of Certificate Enrollment Policy Web service. It is also used to create additional instances of the service within an existing installation. To remove the certification authority role service use the Uninstall-AdcsEnrollmentPolicyWebService cmdlet.

You can import the cmdlet by running the following commands from Windows PowerShell:
Import-Module ServerManager
Add-WindowsFeature Adcs-Enroll-Web-Pol

Parámetros

-AuthenticationType<AuthenticationType>

Defines the authentication type used by the Certificate Enrollment Policy Web Service: Certificate, Kerberos, or UserName.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-Credential<PSCredential>

Specifies the credentials for installing the Enrollment Policy Web Service. The Enrollment Policy Web Service must be installed on a server that is a member of an Active Directory Domain Services (AD DS) domain. You must use an account that is a member of Domain Admins group to install this service.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-Force

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-KeyBasedRenewal

Configures the Certificate Enrollment Policy Web Service to operate in key-based renewal mode. Key-based renewal allows certificate clients to renew their certificates using the key of their existing certificate for authentication. When in key-based renewal mode, the service will only return certificate templates that are set for key based renewal.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-SSLCertThumbprint<String>

Specifies the thumbprint of the certificate used by Internet Information Service (IIS) to enable support for required Secure Sockets Layer (SSL).

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

  • enum, string, bool, PSCredential

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

  • Microsoft.CertificateServices.Deployment.Commands.CEP.EnrollmentPolicyServiceResult

Notas

  • Ensure you run Windows PowerShell as an administrator. You can use the -force switch to bypass the prompt for confirmation.

    To see parameters, run the following command: install-AdcsEnrollmentPolicyWebService -?

  • You can get the CA configuration, which is the computer name and CA name by running certutil without any parameters. You can see the certificate SSL certificate thumbprints assigned to the local computer by running the following commands:
    cd cert:\LocalMachine\My
    dir | format-list

Ejemplos

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

Description

-----------

This command installs the Certificate Enrollment Policy Web Service using Kerberos for authentication. Replace <sslCertThumbPrint> with the actual certificate thumbprint. For information on obtaining a certificate thumbprint using PowerShell, see Certificate Provider (https://go.microsoft.com/fwlink/?LinkId=225044).

C:\PS>Install-AdcsEnrollmentPolicyWebService -AuthenticationType Kerberos -SSLCertThumbprint <sslCertThumbPrint>

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

Description

-----------

This command installs the Certificate Enrollment Policy Web Service specifying that username and password is used for authentication. Replace <sslCertThumbPrint> with the actual certificate thumbprint.

C:\PS>Install-AdcsEnrollmentPolicyWebService -AuthenticationType Username -SSLCertThumbprint <sslCertThumbPrint>

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

Description

-----------

This command installs the Certificate Enrollment Policy Web Service specifying that username and password is used for authentication and configures the service for Key-Based Renewal of the certificate. Replace <sslCertThumbPrint> with the actual certificate thumbprint.

C:\PS>Install-AdcsEnrollmentPolicyWebService -AuthenticationType Username -SSLCertThumbprint <sslCertThumbPrint> -KeyBasedRenewal

Temas relacionados

Uninstall-AdcsEnrollmentPolicyWebService