Skip to content

Commit

Permalink
Restored markdown file describing the certificates folder
Browse files Browse the repository at this point in the history
  • Loading branch information
meetecho committed Jun 8, 2015
1 parent 640e233 commit ba64263
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions certs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Certificates
============

This folder contains a sample certificate and key that you can use in Janus for everything that's related to security, most importantly DTLS-SRTP and, in case you need it (see the deployment instructions in the docs on why you may not), for HTTPS and/or secure WebSockets as well. Please beware that these certificates are just for testing: they're self signed and not certificated by any authority (and certainly not by us!).

You can change the certificates to use in the ```janus.cfg``` settings. Should you want to generate some certificates yourself, refer to the instructions on how to do so that can be found pretty much everywhere.

Please beware, though, that 512 bit certificates should be avoided, as explained in #251.

# Feeling lazy?
Just as an example and for the lazy (you'll probably find better samples around), here's how you can quickly create a certificate as needed by Janus:

openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:1024 -keyout privateKey.key -out certificate.crt

Just follow the instructions. This will create a private key in ```privateKey.key``` and a certificate in ```certificate.crt```. To use them, update the configuration file ```janus.cfg``` accordingly, to have the ```cert_pem``` and ```cert_key``` in ```[certificates]``` point to the newly created files.

0 comments on commit ba64263

Please sign in to comment.