Loading

Kerberos authentication for browser monitors

Kerberos auhtentication enables monitoring on single sign-on (SSO) protected sites, usually behind Microsoft Active Directory.

Requirements
  • Kerberos authentication works for Private Locations only. It does not work from Elastic's managed global locations.
  • Provide the agent process with a keytab for the service account and a kinit 'd ticket cache (KRB5CCNAME). Use a cron job or systemd timer to renew the ticket regularly (for example, kinit -R every few hours, or kinit -kt on failure).
  • Configure /etc/krb5.conf for your realm.
  • Register the SPN (for example, HTTP/intranet.corp.local@CORP.LOCAL) on the service account that fronts the protected URL.

Browser monitors support for SSO Kerberos authentication natively. Specify the protected domains under playwrightOptions.args:

playwrightOptions: {
  args: [
    '--auth-server-allowlist=*.corp.local,corp.local',
    '--auth-negotiate-delegate-allowlist=*.corp.local',
  ],
}
		

The hostname must match an entry in --auth-server-allowlist. Matching is hostname-only and supports shell-style wildcards — *.corp.local will not match the bare corp.local.