JKRhb / dtls2

A DTLS library for Dart based on OpenSSL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Passing self-signed certificate

alexrocks59 opened this issue · comments

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

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?

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?