WinHorizon Configuration
Prerequisites
Before configuring WinHorizon, ensure that you have published your trust chain like described in the Publishing the Trust Chain section.
Updating the local built-in 'Distributed COM Users' group
| For Domain Controllers and computers to be able to enroll (i.e. contact the DCOM service on the WinHorizon server), they need to be members of the built-in local group 'Distributed COM Users'. |
1. Access the WinHorizon server (local console or Terminal Services) using a local administrator account;
2. Launch the 'Local User and Groups' management console using lusrmgr.msc;
3. Edit the built-in group 'Distributed COM Users';
4. Add the groups that should be able to enroll/auto enroll:
-
For Domain Controllers: Domain Controllers;
-
For workstation: Domain Computers.
Based on the security group(s) that you assigned to your template (for example, "Domain Users"), add the same security group(s) to the "Distributed COM Users" local group on the machine.
| Don’t forget to manage WinHorizon’s Microsoft Defender Firewall. |
EverTrust WinHorizon Configurator
Authentication Tab
1. Search and start the EverTrust WinHorizon configurator application using Domain Administrator account.
2. Go to the Authentication tab.
3. Click the Generate CSR button and fill in the fields you need, leave a field blank if it is not needed (it will not appear in the CSR).
| We recommend leaving the options as default. |
4. When you have completed all the necessary fields, click the Generate button and then use the Save CSR button to save the CSR somewhere you can find it.
5. Use this CSR to sign the certificate with your PKI / CA and download the newly created certificate in PEM format.
6. After downloading the certificate, go back to the Authentication tab, click the Import Certificate button and choose the certificate.
| Check that you are in the "Windows store" authentication mode. |
7. After a successful import, you should see a confirmation message as well as the serial number being filled in the specific field.
Connection Tab
Fill the following fields in the Connection tab:
-
Horizon URL: Enter the Horizon instance URL to connect to. Should end with /api/v1 Example: https://horizon.evertrust.fr/api/v1
-
Proxy URL (if needed): If you need a proxy to reach Horizon, fill in the proxy URL as well.
CA Settings Tab
WinHorizon is registered as an Enrollment Service in Active Directory. CA Name and WinHorizon Hostname are used to create the Enrollment Service entry.
Fill the following fields:
-
CA Name: CA Name will be used as cn.
-
WinHorizon Hostname: WinHorizon Hostname will be used as dNSHostName.
| It is not recommended to edit the hostname since it is already based on your machine FQDN. |
1. Click on Add ES Entry and import the CA certificate file that has signed the WinHorizon Certificate, most likely the Technical CA.
| To be able to add the Enrollment service entry to the Active Directory you need permissions to manage them. |
2. Click on Templates to add the templates your WinHorizon will serve.
3. Write down each template managed by the WinHorizon instance separated by ;. Click OK. Example: EverTrustDomainController;EverTrustIIS;EverTrustUser;EverTrustServer.
Internet Ports Configuration
WinHorizon uses the port 135 as management port and then affects a port for each client. By default, the port is randomly chosen within the Windows dynamic port range, 49152 to 65535, but if the option is turned on, the port range can be restricted.
| To restrict this range to specific ports, additional DCOM configuration may be required. |
Security Tab
The Security tab defines how WinHorizon checks the certificate template of an enrollment request before sending the request to Horizon.
-
Security Mode: Defines how the certificate template is looked up and which checks are made. Possible values are
1and2, the default value is2.-
2: WinHorizon looks up the certificate template through the Windows enrollment API on the WinHorizon server, while impersonating the requesting account. The request is rejected if the template does not exist or if the requesting account has neither the Enroll nor the Auto-enroll permission on the template. -
1: WinHorizon looks up the certificate template directly in Active Directory, by OID or by name. The request is rejected if the template is not found. The Enroll and Auto-enroll permissions of the template are not checked.
-
We recommend leaving the Security Mode to 2. In mode 1, WinHorizon does not enforce the template permissions: access then only relies on the DCOM permissions of the WinHorizon server and on the Horizon profile configuration.
|
-
Force Template Reload: When checked, WinHorizon asks Windows to reload the certificate templates from Active Directory for each enrollment request. Unchecked by default.
Windows keeps a local cache of the certificate templates on the WinHorizon server. This cache is managed by Windows, not by WinHorizon, and WinHorizon does not control how long Windows keeps the templates in it. A change made to a template in Active Directory (for example a permission change) may therefore not be taken into account by WinHorizon until Windows refreshes its cache.
When Force Template Reload is checked, WinHorizon invalidates the Windows template cache before looking up the template, so that Windows fetches the templates from Active Directory again. WinHorizon cannot read or clear this cache directly: it can only request its invalidation.
-
Unchecked: Templates are read from the Windows cache. Lookups are faster, but recent template changes in Active Directory may be ignored.
-
Checked: Templates are fetched from Active Directory for each request. Template information is up to date, at the cost of an Active Directory query per enrollment request.
This option only applies when the Security Mode is set to 2 (default value). In Security Mode 1, WinHorizon always looks up the templates directly in Active Directory.
|