Open achingbrain opened 1 year ago
This can be exposed by libdatachannel, the corresponding class is rtc::impl::Certificate
. I guess the other missing part would be the corresponding config field in rtc::PeerConnection
to be able to set a particular certificate.
It is not necessary to implement creation, but passing in pem when creating a PeerConnection may be more necessary.
I made some modifications to support setting up cert and key, and it's working fine so far.
There's a very exciting branch over at
node-datachannel
which will allow use oflibdatachannel
as a polyfill for WebRTC on node.js.One of the features missing is being able to generate X.509 certificates. Currently this can be done in js with node-forge but it's an enormous dependency, or you shell out to
openssl
which requires it to be installed on the users' machine.Is this something that can be exposed by
libdatachannel
?