Skip to content

Fix multiple certificates with latest NM using ca-path#85

Merged
jwijenbergh merged 8 commits intomainfrom
ca-path
Feb 16, 2026
Merged

Fix multiple certificates with latest NM using ca-path#85
jwijenbergh merged 8 commits intomainfrom
ca-path

Conversation

@jwijenbergh
Copy link
Copy Markdown
Collaborator

See commit descriptions

This is due to: #82
And: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1886

A recent change in NetworkManager makes ca-certs passed as blobs to
wpa-supplicant when using connections that are non-system wide (only for the current user in
our case). This makes our use case not work as eduroam can have multiple
CA certificates. Make sure to pass it as ca-path.

It also includes other fixes in eap to be more strict when parsing X509
certificates. Instead of skipping over invalid certificates it shows an
error and fails to continue.
We need to rehash the ca certificates dir. We can shell out to OpenSSL,
but then we need to depend on OpenSSL at runtime. Let's copy a rehash
implementation from another project and show the necessary licenses and
notices. This implementation seems to work well.
@jwijenbergh jwijenbergh force-pushed the ca-path branch 3 times, most recently from 9ca7930 to 760f88c Compare February 16, 2026 11:52
@jwijenbergh jwijenbergh merged commit 7013adc into main Feb 16, 2026
10 checks passed
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.

1 participant