Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in wifi_enterprise README.md (IDFGH-8595) #10042

Closed
smchan514 opened this issue Oct 24, 2022 · 1 comment
Closed

Typo in wifi_enterprise README.md (IDFGH-8595) #10042

smchan514 opened this issue Oct 24, 2022 · 1 comment
Assignees
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@smchan514
Copy link

Many thanks to the various authors for the wifi_enterprise example. It has been a big help to get me started with WPA-EAP using ESP32. There is however a typo in the command to generate client certificate in README.md in the section Steps to create enterprise openssl certs. The command in question is:

openssl ca -batch -keyfile ca.key -cert ca.pem -in client.csr -key (password) -out client.crt -extensions xpserver_ext -extfile xpextensions

The option -extensions should be xpclient_ext (it was correct prior to commit cd85c79d):

openssl ca -batch -keyfile ca.key -cert ca.pem -in client.csr -key (password) -out client.crt -extensions xpclient_ext -extfile xpextensions

In my tests where I used a Linux AP running hostapd version 2.9.0, having the incorrect X509 extension in the client cert will prevent hostapd from authenticating the client when using EAP-TLS.

Ref:

openssl ca -batch -keyfile ca.key -cert ca.pem -in client.csr -key (password) -out client.crt -extensions xpserver_ext -extfile xpextensions

@espressif-bot espressif-bot added the Status: Opened Issue is new label Oct 24, 2022
@github-actions github-actions bot changed the title Typo in wifi_enterprise README.md Typo in wifi_enterprise README.md (IDFGH-8595) Oct 24, 2022
@espressif-bot espressif-bot added Status: In Progress Work is in progress and removed Status: Opened Issue is new labels Feb 22, 2023
@espressif-bot espressif-bot added Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: In Progress Work is in progress Resolution: NA Issue resolution is unavailable labels Mar 8, 2023
@sarveshb14
Copy link
Collaborator

Hi @smchan514 , Thank you for reporting the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

4 participants