Skip to content

Active Directory + AD CS

Basic Information

FieldValue
CategoryInfrastructure
OwnerFilip Kohák (AD), Artem Ryzhkov (AD CS / certificates)
DeputySergej Vdovičenko
SLA24x7
DeploymentOn-prem VM (Windows Server, Proxmox cluster)

Description

Active Directory (AD) is the directory service for managing local user accounts, computers, groups, and Group Policy Objects (GPO). It runs on two Windows Server VMs (Srv01 as primary DC, Srv02 as secondary DC) on the Proxmox cluster.

AD CS (Active Directory Certificate Services) issues internal certificates for:

  • Wireless authentication (802.1X / FortiNAC)
  • Internal HTTPS services
  • VPN certificates (FortiClient)

Access and Login

  • RSAT / Active Directory Users and Computers: on a domain-joined Windows PC
  • Remote Desktop: mstsc → Srv01 or Srv02 (IP from Passbolt)
  • PowerShell: Enter-PSSession -ComputerName srv01
  • Internal domain name: etnetera.local
  • Login: domain admin account (stored in Passbolt)

Warning

Use the domain admin account only for necessary operations. Use a standard account for daily work. Changes to GPO or AD CS can affect all users or certificates.

Procedure — Create New User Account

  1. Open Active Directory Users and Computers (ADUC)
  2. Navigate to the correct OU (e.g. etnetera.local/Users/Employees)
  3. Right-click → New → User
  4. Fill in: First Name, Last Name, User Logon Name (firstname.lastname)
  5. Set password → check User must change password at next logon
  6. Add user to appropriate groups

Procedure — Manage GPO (Group Policy)

  1. Open Group Policy Management (gpmc.msc) on DC
  2. Navigate to domain or OU
  3. Right-click → Create a GPO in this domain or edit existing
  4. Edit policy: Computer Configuration or User Configuration
  5. Policy applies on next gpupdate /force or user logon

Tip

Test new GPOs on the IT-Test OU (test machines) before rolling out to the entire domain.

Procedure — Issue Internal Certificate (AD CS)

  1. On a domain PC open certmgr.msc or MMC → Certificates
  2. Right-click → All Tasks → Request New Certificate
  3. Select template (e.g. Web Server, Computer, User)
  4. The domain CA issues the certificate automatically

Troubleshooting

ProblemSolution
Locked accountADUC → find user → Properties → Account → uncheck Account is locked out
Forgotten passwordADUC → right-click user → Reset Password
GPO not applyingOn workstation: gpupdate /force; diagnose: gpresult /r
DC replication failingrepadmin /showrepl; verify network between Srv01 ↔ Srv02
Certificate cannot be issuedCheck CA status: certutil -ping; verify template and user permissions

Sync with Entra ID

AD is synchronized with Entra ID (Azure AD) via Entra Connect Sync. Users and groups from on-prem AD are replicated to the cloud.

  • Sync interval: ~30 minutes
  • Forced sync: Start-ADSyncSyncCycle -PolicyType Delta on the sync server
  • Entra ID — cloud identity, sync from AD
  • FortiNAC — uses AD groups for VLAN mapping
  • Proxmox — hosts Windows Server VMs

Contact

  • Owner (AD): Filip Kohák — Slack @filip / filip.kohak@etnetera.cz
  • Owner (AD CS / certificates): Artem Ryzhkov — Slack @artem
  • Deputy: Sergej Vdovičenko — Slack @sergej
  • Urgent incidents (DC outage): Slack #it-alerts

Etnetera a.s. — IT Team