Skip to content

Wi-Fi certificate re-distribution #88771

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

Open
jukkar opened this issue Apr 17, 2025 · 5 comments
Open

Wi-Fi certificate re-distribution #88771

jukkar opened this issue Apr 17, 2025 · 5 comments
Assignees
Labels
area: Wi-Fi Wi-Fi bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug

Comments

@jukkar
Copy link
Member

jukkar commented Apr 17, 2025

This is related to discussion in #87656 and the question is if it is allowed to re-distribute Wi-Fi Alliance certificates that are currently present in samples/net/wifi/test_certs directory.

The certificates show this information in them

$ openssl x509 -in client.pem -text -noout
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            97:d4:07:ec:a6:05:15:13
        Signature Algorithm: sha384WithRSAEncryption
        Issuer: C = US, L = Santa Clara, O = Wi-Fi Alliance, CN = Suite B RSA 3k Root CA
        Validity
            Not Before: Aug 27 00:22:56 2019 GMT
            Not After : Aug 24 00:22:56 2029 GMT
...

They were merged as part of this PR #74847

@jukkar jukkar added the bug The issue is a bug, or the PR is fixing a bug label Apr 17, 2025
@jukkar jukkar added the area: Wi-Fi Wi-Fi label Apr 17, 2025
@jukkar
Copy link
Member Author

jukkar commented Apr 17, 2025

cc: @kartben @carlescufi @dleach02

@MaochenWang1
Copy link
Collaborator

Hi @krish2718 how did you generate the RSA2k certs and key files? any steps?

@krish2718
Copy link
Collaborator

Please see the note https://docs.zephyrproject.org/latest/connectivity/networking/api/wifi.html here, I used freeradius raddb scripts.

@MaochenWang1
Copy link
Collaborator

MaochenWang1 commented Apr 21, 2025

@krish2718 I still have a question, why need to keep both samples/net/wifi/test_certs/rsa2k and samples/net/wifi/test_certs/rsa3k?
Since samples/net/wifi/test_certs/rsa3k are Wi-Fi Alliance certificates, why not just move the certs from samples/net/wifi/test_certs/rsa2k (generated by you, and it works fine) into samples/net/wifi/test_certs/, and remove rsa3k and rsa2k?
These certs are only for simple test, it's okay to only keep one set, if someone has any specific certs, they can replace by themselves, right?

@krish2718
Copy link
Collaborator

Different platforms have varying crypto abilities so had made variants of certs ( I was planning to submit another rsa2k variant soon). Of course these are just for reference to verify quickly using golden certs, users can always provide their own.

@danieldegrasse danieldegrasse added the priority: medium Medium impact/importance bug label Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Wi-Fi Wi-Fi bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug
Projects
None yet
Development

No branches or pull requests

5 participants