Ticket #2161 (accepted defect)

Opened 4 years ago

Last modified 4 years ago

[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

comment:1 Changed 4 years ago by ksnieck

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.

comment:2 Changed 4 years ago by roh

  • Owner changed from julian_chu to Nytowl

maintainer change

comment:3 Changed 4 years ago by Nytowl

  • Status changed from new to accepted
Note: See TracTickets for help on using tickets.