r/sysadmin • • 11d ago

Question - Solved Anyone successfully using SMB over QUIC client certificate auth on Server 2025?

I'm setting up SMB over QUIC on Windows Server 2025. QUIC itself works fine, but client certificate authentication does not.

With RequireClientAuthentication=False, my external Windows 11 client connects immediately with AD credentials.

With RequireClientAuthentication=True, it consistently fails with:

SMBClient Event 30803
0xC00002C3 / STATUS_MUTUAL_AUTHENTICATION_FAILED

Client cert has the private key, Client Authentication EKU, valid chain/trust, and is issued by the CA configured for QUIC. I've also checked the server cert/name, UDP 443/NAT, CA trust/CRL, SPN/Kerberos, etc.

Does anybody have this working, with the client certificate auth enabled?

4 Upvotes

9 comments sorted by

2

u/IT_Todd_Ohio 10d ago

Fixed it-The problem ended up being on the client certificate mapping side.

Get-SmbClientCertificateMapping showed the correct namespace and certificate thumbprint, but QUIC still failed with mutual authentication errors. Explicitly refreshing the existing mapping with Set-SmbClientCertificateMapping fixed the connection. so minor issue, but with your suggestions and some ai help I got it working.. thanks again!

4

u/MeetJoan 11d ago

You didn’t mention two steps, so worth checking:

  1. On the client, is the cert mapped to the server’s name? New-SmbClientCertificateMapping -Namespace <server FQDN> -Thumbprint <SHA1> -StoreName My. Without that, the client doesn’t present the cert.
  2. On the server, is there an allow entry? With RequireClientAuthentication on and SkipClientCertificateAccessCheck off, it also checks an ACL. Grant-SmbClientAccessToServer -Name <server> -IdentifierType SHA256 -Identifier <hash>, or -IdentifierType ISSUER with the CA’s full DN.

The usual gotcha: the client mapping wants the SHA1 thumbprint, but the grant wants the SHA256 hash. They’re different values from the same cert.

To narrow it down, set SkipClientCertificateAccessCheck to $true. If it connects then, your chain is fine and it’s the ACL.

1

u/NoTime4YourBullshit Sr. Sysadmin 10d ago

Why QUIC, just out of curiosity? We have a blanket ban UDP 443 on our network.

1

u/IT_Todd_Ohio 10d ago

Well we have a very small amount of staff that has VPN access, but its only for one shared network drive.... and our VPN is end of life so we were looking for a good way to remove that.. SMB over QUIC seems like the perfect option for us. As long as we have the certs, country filtering etc it seems okay. I do read a lot of people blocking quic but I've not really seen a reason for us to do that. Love to hear your thoughts.

1

u/Jaki_Shell Sr. Sysadmin 9d ago

Yeah i am honestly not sure why people blanket disable it.

When done correctly, it solves a lot of issues. I think there in general is a lack of understanding of what QUIC is and how to setujp smb over quick correctly.

1

u/IT_Todd_Ohio 7d ago

Well its working for our test, but the weird part is the certificate mapping survives a reboot and looks completely correct, but after an offsite cold boot SMB over QUIC fails mutual authentication. Simply reapplying the same mapping fixes it, so our workaround is a scheduled task that runs at every startup and refreshes the mapping.... not sure what else to do... doesn't seem like that should be needed.

1

u/FatBook-Air 8d ago

You won't be able to keep that ban in place in the future if you want your network to be usable FWIW.

1

u/ToilLess_Dev 11d ago

Hello IT_Todd_Ohio,

You don’t mention it, so the first thing I’d check is whether you created the client-side mapping. The client won’t present a cert unless it’s mapped to the server name, which would give you exactly that mutual auth failure.

On the client (elevated):

New-SmbClientCertificateMapping -Namespace <server FQDN> -Thumbprint <thumbprint> -StoreName My

Namespace has to be the FQDN you actually connect to, and the MS docs use the computer store (LocalMachine\My), not the user store.

Second common one on the server side: Grant-SmbClientAccessToServer -IdentifierType SHA256 wants the SHA256 hash ($cert.GetCertHashString("SHA256")), not the SHA1 thumbprint you see in the MMC. If you used ISSUER instead, it needs the full DN like CN=Contoso CA, DC=contoso, DC=com.

To narrow it down:

  1. Set-SmbServerConfiguration -AuditClientCertificateAccess $true (off by default), then check SMBServer/Audit (3007-3009) on the server and SMBClient/Connectivity (30831) on the client. They show which cert actually arrived, with both hashes.
  2. Temporarily set Set-SmbServerCertificateMapping -SkipClientCertificateAccessCheck $true. Chain is still validated, but the allow list is skipped. If it works, then your grant entry is wrong. If it still fails, the client isn’t sending a cert at all.

Docs: https://learn.microsoft.com/en-us/windows-server/storage/file-server/configure-smb-over-quic-client-access-control