Closed nickdesaulniers closed 8 years ago
oh looks like I can require dtls/DtlsServer and call the constructor directly! https://github.com/Rantanen/node-dtls/blob/master/DtlsServer.js#L11
or, it's already exported, nice! https://github.com/Rantanen/node-dtls/blob/master/index.js#L18
also, you should check this lib out for generating self signed certs entirely in JS: https://github.com/jfromaniello/selfsigned might be helpful for tests/examples
it would neat of the API for this lib allowed for you to pass in an already created, and possibly already bound socket object, to be used as a server!