Skip to content

Correct which platforms the agent configures wired 802.1X on - #583

Draft
andysmallstep wants to merge 2 commits into
mainfrom
andy/wired-agent-linux-only
Draft

andysmallstep wants to merge 2 commits into
mainfrom
andy/wired-agent-linux-only

Conversation

@andysmallstep

Copy link
Copy Markdown
Contributor

What's wrong

In tutorials/protect-wired-networks.mdx, "Agent-managed clients" says that once devices run the agent "you're done", and that the agent configures the wired 802.1X profile "on macOS, Windows, and Linux".

The agent only does that on Linux:

  • internal/platform/ethernet/ethernet_windows.go and ethernet_darwin.go (agent main, 4f8183f9) return platform.ErrUnimplemented.
  • ethernet_linux.go creates the wired connection through NetworkManager (CreateEAPoL), with 802-1x.ca-cert set to the RADIUS server CA.

So a Windows or macOS reader who follows the agent-managed path gets a client certificate but no wired profile, and nothing tells them why.

What this changes

  • "Agent-managed clients": limits "you're done" to Linux, and says that on Windows and macOS the agent issues and renews the certificate while the wired profile comes from the MDM. Links to the existing Windows with Intune and Windows with Workspace ONE UEM sections.
  • "MDM-managed clients": the intro no longer frames the MDM profile as optional for every platform. It's how the profile reaches Windows and macOS, and optional on Linux.
  • updated_at bumped.

No new instructions. The Intune and Workspace ONE sections are unchanged and already describe the working path.

Not covered

There's no macOS wired MDM section in this doc. This PR doesn't add one. It only stops the page from saying the agent handles it.

Drafted as a proposal. Happy to adjust wording, or close it if this is being handled elsewhere.

🤖 Generated with Claude Code

The Agent-managed clients section said the agent configures the wired
802.1X profile on macOS, Windows, and Linux. In the agent, only Linux
creates the wired connection (NetworkManager). On Windows and macOS the
agent issues and renews the certificate, and the wired profile has to
come from the MDM, as the existing Intune and Workspace ONE sections show.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@JoeWagstaff JoeWagstaff left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The core correction is right: on agent main the Ethernet setup is only implemented on Linux, and Windows and macOS return platform.ErrUnimplemented. Three comments on the new wording.

Comment thread tutorials/protect-wired-networks.mdx Outdated
Comment on lines +197 to +201
On Windows and macOS, the agent issues and renews the client certificate,
but it does not configure the wired network profile.
Deploy the wired profile with your MDM instead.
For Windows, see [Windows with Intune](#windows-with-intune-agent-credential--oma-uri-profile)
or [Windows with Workspace ONE UEM](#windows-with-workspace-one-uem) below.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This tells macOS readers to deploy the wired profile with their MDM, but I don't think that path exists for an agent-issued certificate. Apple's profile format requires the 802.1X payload to reference an identity payload in the same profile (see the Apple staff answer in https://developer.apple.com/forums/thread/808852), so an MDM profile can't select the certificate the agent put on the device. That matches the wireless guide, where every macOS MDM path has the MDM issue its own certificate.

I haven't tested this on a Mac. Unless someone has a working setup, I'd say this instead:

On macOS, the agent does not configure wired 802.1X, and an MDM profile can't use the agent-issued certificate. To protect wired macOS clients, have your MDM issue the certificate and deliver the wired profile together.

That last sentence needs a macOS section to point to, or a note that one is coming.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, good catch. Reworded so macOS has the MDM issue the cert and deliver the profile together, with a link to the Jamf SCEP section in the wireless guide as the example.

Comment thread tutorials/protect-wired-networks.mdx Outdated
but it does not configure the wired network profile.
Deploy the wired profile with your MDM instead.
For Windows, see [Windows with Intune](#windows-with-intune-agent-credential--oma-uri-profile)
or [Windows with Workspace ONE UEM](#windows-with-workspace-one-uem) below.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth one more line after this. On Windows and macOS the agent still receives the Ethernet configuration, tries to apply it, and reports the failure, so the credential shows a WARNING status with the reason platform: unimplemented even when the MDM profile is working. Something like:

The credential reports a warning on these devices because the agent can't apply the wired configuration itself. The certificate is still issued and renewed.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added under Windows.

Comment thread tutorials/protect-wired-networks.mdx Outdated
Comment on lines +207 to +208
On Windows and macOS, this is how the wired profile reaches the device.
On Linux, it's optional, and useful when you need a custom 802.1X configuration.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The MDM section only has Windows instructions, so "On Linux, it's optional" points at nothing. I'd drop the Linux sentence, and limit the one before it to Windows until there is a macOS section:

On Windows, this is how the wired profile reaches the device.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dropped, and scoped the MDM section to Windows.

… MDM section to Windows

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants