-
Notifications
You must be signed in to change notification settings - Fork 423
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
RPK support for gnutls binding #1582
Comments
Looks like there is a decoding issue when trying to find the Public Key component. The current GnuTLS code is expecting to see a I will look into why libcoap/gnutls does not support your format. |
Curios, that this file without EC is accepted for x509. |
Interesting. I will look further into this, but it is possible that x509 was happy with the .pem for PKI, but not RPK. |
OK. Works, when keys are generated using
(But
From my side, we can close it. |
Thanks for confirming that it works with another version of the RPK Certificate. I would like to try to get GnuTLS to handle your initial certificate though, but that will need some debugging / testing. |
I wanted to test the support for RPK. With the tinydtls-binding the
-M
works pretty simple. But with the gnutls binding I'm struggling.Test using x509:
(Works, the server just denies the handshake because the client certificate has not been added.)
fails. I also fails, if I add
-c client.pem
(same error message).The used private key is the client demo key of Eclipse/Californium:
According ASN.1 decoder, that's:
Any idea, what's wrong?
Do I need the private key in an other format?
If so, would it be possible to get a "working" test key to test it with that?
(With tinydtls binding the private key works.
)
The text was updated successfully, but these errors were encountered: