Configure Windows Certificate Enrollment Web Service Again
KB ID 0001250
Problem
A client had moved a domain joined server into their DMZ, and while they had opened the correct ports for Domain Hallmark on their firewall, no one had considered the certificates on the server which had expired, and could not exist renewed.
Some research, pointed me towards Certificate Enrolment Web Service. Its job is to permit clients enrol and renew certificates, from either not domain joined machines, or machines that cannot contact your PKI environment. This was simply what I needed, I just need to exam the concept. So I built a domain, setup a CA, and a DMZ (with the same firewall as my client, a Cisco ASA). Then moved a domain client into the DMZ, domain authentication as setup as follows;
Cisco ASA – Allowing Domain Trusts, and Authentication
Solution
Before starting I would suggest creating a 'service account' to run the enrolment service, yous need to be an admin to install the services but this account does not demand to be. (It does need to be in the LOCAL IIS_USERS grouping on your CES/CEP server(s)). Below you will see I've named my user svc_ca.
Y'all need to already have a PKI/CA setup. You can split the CES 'Web Service' and CEP 'Policy Web Service' beyond dissimilar hosts if you want, merely for this example I'k simply putting both roles on the same server.
Then you need to run the post deployment configuration.
Again I'm configuring both roles at the same time.
I've only got i, only cull the CA server on which to firm the CES part.
As I mentioned above, I'grand using Windows hallmark, if yous are deploying certs to a DMZ, yours may be ameliorate set to username/password.
Specify your service account, you created earlier.
Over again choose your authentication method.
Now you need to create a 'Service Principle Proper noun' SPN for your service account, that's tied to your Certificate Enrolment Web Services server. Open up an Authoritative Command Window on the CES server and effect the following control;
setspn -s http:/{FQDN-OF-Server} {Domain-Proper noun}\{User-Name}
Now your user has an SPN, they will get another 'Tab' on their user object, called ' Delegation ' Add together in the CES server for the following service types.
- HOST
- rpcss
On your certificate enrolment policy server, open up the Net Information Servers (IIS) Management console. Expand {Server-Name} > Sites > Default Web Site > ADPolicyProvider_CEP_Kerberos > Application Settings.
Locate the Friendly Name section > Locate the ' Value ' > Change its final hexadecimal character (0 to ix or A to F) from what it is currently > OK.
Open an Administrative Control Window > Issue an IISRESET command.
Setup Enrolment Policies
To actually apply the CES/CEP service your client needs to know where it is, in that location are 2 methods of letting them know, you tin can either apply the certificate snap-in, or use a 'Local Group Policy' on the target machines.
Managing Enrolment Policies With Certificates Snap-In
Windows Central+R > MMC {Enter} > File > Add/Remove Snap-In > Certificates > Local Computer > When the console opens > Action > All Tasks > Advanced Operations > Manage Enrolment Policies.
Add > Enter the URI of the CEP Server;
https://{FQDN-Of-CES-Server}/ADPolicyProvider_CEP_Kerberos/service.svc/CEP
Note: To access via https, you may need to manually add a Web Server certificate for the URL/Common name of the CEP server. See the following commodity;
IIS: How to Create a Document Request
Validate Server > Add-
Managing Enrolment Policies With Certificates Local Group Policy
Windows Cardinal+R > gpedit.msc {Enter} > Estimator Configuration > Windows Settings > Security Settings > Public-Key Policies > Document Services Client – Certificate Enrolment Policy.
Add > Enter the URI of the CEP Server;
https://{FQDN-Of-CES-Server}/ADPolicyProvider_CEP_Kerberos/service.svc/CEP
Validate Server > Add.
If y'all already have an Active Directory Enrolment Policy listed, make certain it's Non selected, and your newly created CES policy is set up as default > Apply.
Enrol Or Renew Certificates From CES
At present if y'all attempt to enrol for a certificate, your automobile will utilise the CES policy.
Related Articles, References, Credits, or External Links
URI Was Validated Successfully Only there Was No Friendly Name Returned
Certificate Enrolment – URI This ID conflicts with an Existing ID
Source: https://www.petenetlive.com/kb/article/0001250
0 Response to "Configure Windows Certificate Enrollment Web Service Again"
Enviar um comentário