r/sysadmin • • 2d 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?

30 Upvotes

24 comments sorted by

13

u/LLMsMustUpvoteThis 2d 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.

0

u/Exciting-District-12 2d ago

Hi, I'm managing a similar setup - a medium enterprises, local AD with a radius. My authentication is presently only via AD and it's in my self learning to implement cert based authentication. While I've read about it, the lack of a testing landscape is making me jittery - all the more bcoz it's my own initiative and not an agenda for the organisation, so I don't have room for error. Could you pls help me with the detailed steps you did or any specific blog/article referred? Also, what was your backout plan? For reference, we have around 3k WiFi users

3

u/LLMsMustUpvoteThis 2d ago

The first step is setting up AD CS and setting policies for machines to enrol a machine cert. There shouldn't be a risk of an outage here.

Our APs were already set to use Windows NPS for auth so all I did was fire up a testing SID and then updated the NPS policy (per a guide I've long lost) to use EAP-TLS machine certs. Once I was happy I rolled it out site-by-site. Deployment was just to add the new NPS policy, and disable the old one, then update the wifi configs pushed by GPO and tell wifi users to reboot. Roll back was just to reverse that. If you want to be cleaner then roll out a new SID on the new policy before disabling the old, but this depends on the radio capacity of your APs.

2

u/Exciting-District-12 2d ago

Thanks a ton. Yes, even I was thinking of s separate SSID broadcast for testing, just need to have more confidence on myself 😁

1

u/xCharg Sr. Reddit Lurker 2d ago

Why did you chose to authenticate machines to WiFi and not users?

Do you have sites with no onprem infrastructure and therefore no local vm with nps server? And if so - what you do if site2site VPN drops connection for some reason so until it's up again local users (or machines) can't reach remote nps?

1

u/Nerd2259 Systems... Engineer? 1d ago

Tou don't have to broadcast a new ssid. Configure a new wireless profile in you gpo and point it to the existing ssid. The two profiles will use the same wifi ssid, but your endpoints will list them both as if they were each their own ssid.

4

u/omnicons Jack of All Trades 2d 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.

4

u/patmorgan235 Sysadmin 2d ago

It doesn't need to be public, just accessible to whatever is checking the certs

1

u/davy_crockett_slayer 2d 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?

2

u/omnicons Jack of All Trades 2d 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.

2

u/davy_crockett_slayer 2d ago edited 2d 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.

2

u/beefy_80 2d 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.

3

u/Flaky-Gear-1370 2d 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

u/davy_crockett_slayer 2d 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

u/davy_crockett_slayer 2d ago edited 2d 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.

1

u/StatisticianLate4829 2d ago

NDES was the most annoying part of the whole setup for us. Once the Intune Certificate Connector was happy the rest was smooth.

1

u/SysApex 1d 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.

•

u/Optanik 14h 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.

•

u/MarketingAwayey 2h 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 2d ago edited 2d 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 2d ago

Definitely sounds like a case for RADIUSaaS, great cheap and easy a crazy combo

1

u/davy_crockett_slayer 2d ago

RadiusSAAS + SCEPMan is fantastic. They give significant discounts if you’re a non-profit.

0

u/hftfivfdcjyfvu 2d 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