saljam / webwormhole

Peer authenticated WebRTC.
BSD 3-Clause "New" or "Revised" License
1.82k stars 92 forks source link

Adds ability to provide custom certificate #75

Closed fabfurnari closed 3 years ago

fabfurnari commented 3 years ago

Adds two new flags for server: -custom-cert and -custom-key that should point to local PEM encoded certificate and key. The certificate and key are read from filesystem only the first time using some trivial caching. Also added some logging for debug purposes.