r/sysadmin • u/IT_Todd_Ohio • 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 308030xC00002C3 / 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?
2
u/IT_Todd_Ohio 10d ago
Fixed it-The problem ended up being on the client certificate mapping side.
Get-SmbClientCertificateMappingshowed the correct namespace and certificate thumbprint, but QUIC still failed with mutual authentication errors. Explicitly refreshing the existing mapping withSet-SmbClientCertificateMappingfixed 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:
New-SmbClientCertificateMapping -Namespace <server FQDN> -Thumbprint <SHA1> -StoreName My. Without that, the client doesn’t present the cert.Grant-SmbClientAccessToServer -Name <server> -IdentifierType SHA256 -Identifier <hash>, or-IdentifierType ISSUERwith 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/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 MyNamespace 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 SHA256wants 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 likeCN=Contoso CA, DC=contoso, DC=com.To narrow it down:
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.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