Ticket #2161 (accepted defect)
[wifi] wpa_supplicant PEM decoding error
| Reported by: | ksnieck | Owned by: | Nytowl |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Distro | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | no | PatchReviewResult: | |
| Reproducible: |
Description
I have wpa_supplicant setup exactly the same as on a working system to connect to a WPA2 enterprise AP that uses certificates for authentication. I get the following relevant error bits from -ddd
Failed to read client cert/key in PEM format: Base64 decoding error.
Failed to read client cert/key in DER format: ASN1 parser: Error in DER parsing.
TLS: Failed to set TLS connection parameters
EAP-TLS: Failed to initialize SSL.
I found the base64 command to be missing from the default software install and think that might be the problem. (the certs are in PEM format)
Change History
Note: See
TracTickets for help on using
tickets.

I can also reproduce this error on my laptop (which usually successfully connects) by temporarily moving /usr/bin/base64 so it cannot find it. It seems then that including /usr/bin/base64 would fix this.