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

Two certificates? #33

Open
mmbaguette opened this issue Apr 9, 2022 · 1 comment
Open

Two certificates? #33

mmbaguette opened this issue Apr 9, 2022 · 1 comment

Comments

@mmbaguette
Copy link

mmbaguette commented Apr 9, 2022

How do I add more than one certificate? There's two certificates in this chain. I'm still new to TLS, so I might be missing something.

In this example, I have two certificates in this capture that I want to copy, and use in hostapd-wpe:

image

I tried comma separating them:

# May have to change these depending on build location
eap_user_file=/etc/hostapd-wpe/hostapd-wpe.eap_user
ca_cert=/etc/hostapd-wpe/certs/ca.pem
server_cert=/etc/hostapd-wpe/certs/servercert1.pem,/etc/hostapd-wpe/certs/servercert2.pem                             
private_key=/etc/hostapd-wpe/certs/server.key 
private_key_passwd=whatever
dh_file=/etc/hostapd-wpe/certs/dh

I got:
OpenSSL: tls_global_client_cert - Failed to load client certificate error:02001002:system library:fopen:No such file or directory

@nemanjan00
Copy link

I think you should just append one file to the other. I might be wrong

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

No branches or pull requests

2 participants