JKRhb / dtls2

A DTLS library for Dart based on OpenSSL.
MIT License
3 stars 0 forks source link

Passing self-signed certificate #94

Open alexrocks59 opened 1 year ago

alexrocks59 commented 1 year ago

How do I pass a self-signed cert to DtlsConnection/DtlsClientContext?

JKRhb commented 1 year ago

Looking at #95, it seems like you have figured it out already :) Do you think the readme should be improved to make it easier for users to find?

JKRhb commented 4 months ago

Hi @alexrocks59, did you manage to make any progress on this issue/is it still relevant for you? Doing some more research, it seemed to me as if you need to use SSL_CTX_use_certificate and/or related functions for that. Can you maybe confirm that? Or have you been able to obtain other insights here?