JEA endpoint for Windows servers
certmon reads Windows servers over WinRM, restricted to this JEA endpoint: a connection can run exactly two read-only functions (Get-CertmonInventory: public certificates, service bindings, autoenrollment state; Get-CertmonVersion). Nothing on the server is changed.
- Create an AD group (e.g.
CONTOSO\certmon-Reader) containing the certmon server account (computer account or gMSA). So that its Kerberos ticket contains the new group: with the default service account (NT SERVICE\certmon, the computer account on the network) runklist -li 0x3e7 purgeas administrator on the certmon server or reboot it – restarting only the service is not enough; with a gMSA, restart the certmon service. - Copy the whole
jeafolder of the certmon installation (C:\Program Files\certmon\jeaon the certmon server) to every server to monitor – not just the script: it installs the module from thecertmon.Readersubfolder next to it. E.g.Copy-Item '