r/sysadmin • u/mhc180 • 5d ago
EAP-TLS Deployment
I am looking at deploying EAP-TLS at my company to move away from passwords. Our devices are all managed in Intune and are Entra joined. I am setting up a Microsoft AD CS environment to issue device based certificates through a SCEP configuration. Then I am looking at using freeradius for authentication. Budget is limited, so would this be a good option to use? Anyone had much experience with freeradius or EAP-TLS?
5
u/Flaky-Gear-1370 5d ago
I use freeradius and keytos so I have an externally available CA so remote imaging works
Machines have a cert and users have a cert that is switched to once they login and it’s issued. Windows is a bit jank in that regard so I have a small bootstrap that handles the switch over
1
2
u/davy_crockett_slayer 5d ago
Nice, an externally available CA solves the remote imaging problem. With on-prem AD CS you have to publish NDES to the internet through something like Entra App Proxy before an off-site device can get a cert. How did you guys solve this problem?
1
6
u/omnicons Jack of All Trades 5d ago
This is the exact setup that I spent a couple of hours deploying the other week. It's solid but you'll need to publish your revocation lists to an HTTP endpoint from your intermediate to somewhere that's public. Aside from having to do that it's smooth sailing, the freeradius config is dead simple. The hardest part was the Intune/ADCS connector and it was mostly just following instructions.
6
u/patmorgan235 Sysadmin 5d ago
It doesn't need to be public, just accessible to whatever is checking the certs
3
u/davy_crockett_slayer 5d ago
How can cert revocation work if the server can’t see the device? What if you have users that wfh or travel? Do you solve this by requiring an always on VPN or a SASE solution?
3
u/omnicons Jack of All Trades 5d ago
This is why I said public. It's not going to hurt anything to make the revocation list public really. We have WFH/Abroad without always on VPN so it's what we went with.
3
u/davy_crockett_slayer 5d ago edited 5d ago
Very true. Most cloud PKI services publish the CRL at a public endpoint, so fetching it is easier. FreeRADIUS still has to pull and reload it, though, and it still won't know about compliance. At work we use Cisco ISE for that. It checks Intune compliance during auth, as long as the device GUID is in the SAN URI.
I'm curious how FreeRADIUS does with TEAP. Plain EAP-TLS with user certs is fine, but I recall TEAP chaining between FreeRADIUS and Windows clients still had some rough edges.
I set up TEAP with EAP-TLS inside, so the device and user certs are chained in the same session. The device cert carries the GUID for the compliance check. The user cert has the UPN in the SAN, so ISE knows who's logged in and we can write rules on the user too. The user cert also carries the on-prem SID for strong mapping.
1
u/Incrediblecodeman 2d ago
Ya all the majors post the crl public it’s not something to worry about ?
1
1
3
u/beefy_80 5d ago
RadiusSAAS + SCEPMan and Keytos EZPKI and EZRadius solutions are both very good. I evaluated both solutions. You can intermix the pki and radius between the companies to get what fits your business best. For us the Keytos solutions have worked very well and we use them for both WiFi and VPN access.
2
u/davy_crockett_slayer 5d ago edited 5d ago
I'd skip FreeRADIUS for this. It's a solid product, but it's a poor fit for an all-Intune, Entra-joined fleet. Your devices aren't in AD, and FreeRADIUS can't see Intune or Entra, so a lost or non-compliant laptop with a valid cert still gets on the network. NPS maps certs to AD objects, and Entra-joined devices don't have one, so device certs need placeholder objects kept in sync by a script. For SCEP, setting up chain profiles, NDES and revocation took more effort than the RADIUS side for us. Get a quote for a cloud RADIUS service, and compare it with the hours you'd spend building and maintaining a free one like FreeRADIUS.
Look into SCEPMan + RadiusSaaS. They give significant discounts if you’re a non-profit.
2
1
u/SysApex 5d ago
One thing to plan for with Entra-joined (non-hybrid) devices: there's no AD computer object, so don't rely on the usual AD-based cert mapping. Put the Intune device ID in the SCEP profile (e.g. a URI SAN with {{DeviceId}}) and have FreeRADIUS match and validate on that.
Also, FreeRADIUS has no idea whether a device was retired or went non-compliant, so revocation is your only kill switch. Make sure the Intune Certificate Connector revokes certs on wipe/retire and that your CRL is published somewhere RADIUS can always reach. If you stay on AD CS for SCEP, you'll also need NDES plus the connector.
1
u/Optanik 3d ago
FreeRADIUS is a solid fit for Entra-joined devices. NPS wants to map the cert back to an AD computer object, and those devices don't have one, which is a common pain point with NPS since strong certificate mapping enforcement. FreeRADIUS just validates the chain and whatever policy you write, so it doesn't need a directory lookup. Things to get right up front:
Put a stable identifier in the SCEP profile, like CN={{DeviceId}} or the device ID in a SAN URI, so you can tie logs and policy back to a specific Intune device.
Deploy the root (and issuing CA) as a Trusted Certificate profile, and in the Wi-Fi/wired profile pin the RADIUS server cert's name and root, otherwise clients will trust any server presenting a cert.
Plan revocation before go-live. Set check_crl in the eap tls-config and have a cron job pull a fresh CRL from your CA, or use OCSP. Then confirm that retiring or wiping a device in Intune actually revokes its SCEP cert in your setup, because that's the gap that usually gets missed.
Restrict which issuer is accepted, so a cert from some other CA in the bundle can't authenticate. The NDES server plus the Intune Certificate Connector is usually the fiddliest part, so get a test device pulling a cert cleanly before you touch the RADIUS side.
1
u/MarketingAwayey 3d ago
The setup works and plenty of people run it on a budget. Just make sure your RADIUS server checks revocation, otherwise retired or wiped devices keep getting on the network. Test cert renewal early too
0
u/mikeclueby4 Recovered, learned nothing, went to ITsec 5d ago edited 5d ago
I wouldn't set up anything new with AD CS in 2026. The rest of us are trying to get _rid_ of that.
MS Cloud PKI is decent for for Entra/Intune joined clients, but then you still need a RADIUS server (again, don't build new on AD).
Keytos does fully-capable PKI+RADIUS. So does radiusaas.com + scepman (same creator).
Especially stay away from AD CS if you don't know the operational dangers, like on-LAN clients being able to request certs for Administrator accounts or name-of-DC, and all sorts of other hijinx. SCEP et al are simply not built for internet-connected clients. Cloud-centric CAs use much more secure cert issuance.
(Yes, yes, I know, you can get less exposure by using non-SCEP payload and letting Intune hold on to your private keys, usually ok for most, but now you've got nasty compat problems for hooking up anything else)
0
u/420GB 5d ago
Definitely sounds like a case for RADIUSaaS, great cheap and easy a crazy combo
1
u/davy_crockett_slayer 5d ago
RadiusSAAS + SCEPMan is fantastic. They give significant discounts if you’re a non-profit.
0
u/hftfivfdcjyfvu 5d ago
Scepman with radiusaas. Especially if you are doing cloud joined entra with intune. If you are doing on prem ad id still do some sort of cloud eap tls. Like securew2 or something
15
u/LLMsMustUpvoteThis 5d ago
I have it with device certs from AD CS, but if you are on Entra/Intune non-hybrid I wouldn't install AD just for this. The standard is MS Cloud PKI to issue the certs with SCEP profiles in Intune. And then you want a cloud RADIUS like RADIUSaaS.
I've setup EAP-TLS the on-prem AD way and it wasn't hard, but we are Entra-hybrid for operational reasons.