Skip to main content
hillsitsupp
Explorer
Mar 9, 2026 9:40 PM UTC
Solved

Explicit Proxy LDAPS Errors After Upgrading DCs to 2025

We use LDAPS to check users belong to an AD group in our explicit proxy policies. Ever since we replaced our domain controllers with Server 2025, users receive a pop-up saying proxy authentication is required.

 

We use regular bind type, with our AD CA's certificate. This test OK, and diagnose debug application fnbamd -1 shows the certificate working.


The CNI is cn, but I've tried using sAMAccountName and uid.

 

Looking in Event Viewer on the DCs, I see lots of event id 1216 and 1535


1535

Internal event: The LDAP server returned an error.
Additional Data
Error value:
00000003: LdapErr: DSID-0C060666, comment: Error decrypting ldap message, data 0, v65f4


1216

Internal event: An LDAP client connection was closed because of an error.
Client IP: <ip of firewall>:17943
Additional Data
Error value:
3 The system cannot find the path specified.
Internal ID:
c06065f

 

I briefly tried disabling ldapserverintegrity and LdapEnforceChannelBinding on the DCs to see if that was the cause, but no change.

 

Does anyone have any ideas, or should I just log a ticket with TAC?

 

 

 

hillsitsupp
Explorer
Mar 23, 2026 11:16 PM UTC

It turned out to be Kerberos. Server 2025 enforces new Kerberos encryption standards. Resetting the user's password generates new Kerberos keys, and the explicit proxy starts working again. That explains why it was only happening for some accounts - we have some accounts with ancient PasswordLastSet dates.

 

I noticed after regenerating the Fortigate's keytab, and was testing it using klist get HTTP/< firewall's FQDN> on client PCs.


Troubleshooting wasn't helped by having Zulu Java installed on some PCs, which includes a version of klist.exe that takes precedence and doesn't return Windows Kerberos tickets. This led to red herrings, and mild panic about Kerberos being borked.

7 replies

Jean-Philippe_P
Staff & Editor
Staff & Editor
Mar 12, 2026 8:32 AM UTC

Hello hillsitsupp, 

 

Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible. 

Jean-Philippe - Fortinet Community Team
funkylicious
SuperUser
SuperUser
Mar 12, 2026 8:39 AM UTC

hi,

have you installed the root ca and any intermediate certs on the FGT from the new DC ?

"jack of all trades, master of none"
hillsitsupp
Explorer
Mar 16, 2026 12:39 AM UTC

Yep, I've installed the CA cert. diag deb app fnbamd shows the cert is good. I even got OCSP running on our domain, as the Fortigate tries it for CRL.

 

LDAPS is connecting OK, but it doesn’t seem to return a matching user Distinguished Name.

funkylicious
SuperUser
SuperUser
Mar 16, 2026 6:21 AM UTC

i assume that the initial configuration was done following this/a similar guide? 

https://docs.fortinet.com/document/fortigate/7.6.6/administration-guide/826729/explicit-proxy-authentication

"jack of all trades, master of none"
quintinmorrow
New Member
Mar 12, 2026 12:05 PM UTC

LDAPS problems after upgrading domain controllers can be tricky because even small changes in certificates or security settings can break authentication. I’ve seen cases where the proxy still trusted the old certificate chain or the DC started enforcing stricter TLS requirements. Double checking the certificate configuration and LDAP settings on both sides usually helps narrow it down.

hillsitsupp
Explorer
Mar 16, 2026 12:43 AM UTC

We weren't using LDAPS before. So I changed it to LDAPS, installed the CA cert, and tested with diag deb app fnbamd. The cert checks out OK. I've been through the settings several times, and walked a colleague through it as a form of rubber duck debugging, but the cause is still not apparent [sigh]

I've raised a ticket with TAC.

hillsitsupp
hillsitsuppAuthorAnswer
Explorer
Mar 23, 2026 11:16 PM UTC

It turned out to be Kerberos. Server 2025 enforces new Kerberos encryption standards. Resetting the user's password generates new Kerberos keys, and the explicit proxy starts working again. That explains why it was only happening for some accounts - we have some accounts with ancient PasswordLastSet dates.

 

I noticed after regenerating the Fortigate's keytab, and was testing it using klist get HTTP/< firewall's FQDN> on client PCs.


Troubleshooting wasn't helped by having Zulu Java installed on some PCs, which includes a version of klist.exe that takes precedence and doesn't return Windows Kerberos tickets. This led to red herrings, and mild panic about Kerberos being borked.

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT