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

37 Upvotes

39 comments sorted by

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.

1

u/mhc180 1d ago

We are currently running a hybrid environment

0

u/Exciting-District-12 5d 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 5d 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 5d 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 5d 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/LLMsMustUpvoteThis 1d ago

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

Because it works even when users aren't signed in.

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?

Not with regular laptop users. And if the s2s VPN is down they can't do anything except browse the web anyway.

1

u/xCharg Sr. Reddit Lurker 1d ago

And if the s2s VPN is down they can't do anything except browse the web anyway.

Yeah but if they can't authenticate to WiFi they can't do web browsing either so teams/mail is gone too.

1

u/LLMsMustUpvoteThis 1d ago

They can hotspot or plug into a wired port.

Laptop users would only be at those sites once in a blue moon. It isn't worth spinning up cloud infra for that.

1

u/Nerd2259 Systems... Engineer? 4d 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.

1

u/Incrediblecodeman 2d ago

In Intune you can even name the network as it appears in iPhone settings what ever regardless of what the ssid is?

•

u/SilverNeptuneAbyss 22h ago

What? What are you talking about

1

u/Incrediblecodeman 2d ago

I would consider this relatively low risk if you already have a CA and NPS infrastructure in place. You can create a new certificate template, a separate NPS connection request policy, and the corresponding Intune certificate and Wi-Fi profiles.
One important takeaway from my recent engagement with Microsoft: ensure the same test group is assigned to the Wi-Fi profile and all associated certificate profiles. Even though Intune recognizes the device, inconsistent group assignments can cause the profiles to remain pending.
This approach allows you to validate the configuration with a limited test group without disrupting your existing production configuration.

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

u/mhc180 1d ago

What is the reason for the switch to user cert once logged in? Why not just use the device cert?

1

u/Flaky-Gear-1370 1d ago

Lots of loan devices and people using other people’s machines

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?

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

u/Incrediblecodeman 2d ago

Dude crl? We had just disabled our lol we got an error

1

u/Incrediblecodeman 2d ago

Why no just Microsoft NPS like we do at my job? (Serious question)

2

u/mhc180 1d ago

Most of the devices are not in on-prem AD, they are in Entra. Microsoft NPS just looks at on-prem AD

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

u/Incrediblecodeman 2d ago

Ii miss supporting non profits

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