Book Image

WebRTC Blueprints

By : Andrii Sergiienko
Book Image

WebRTC Blueprints

By: Andrii Sergiienko

Overview of this book

Table of Contents (13 chapters)
WebRTC Blueprints
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Configuring HTTPS and self-signed certificates


As we discussed, it is very important to use encryption and security for WebRTC. In Chapter 3, The Media Streaming and Screen Casting Services, we learned how to use HTTPS and SSL certificates in general. From the same chapter, you already know that some of the WebRTC features won't even work if you're not using secure layers.

So, your application definitely needs an SSL certificate. For production systems, you will need to use SSL certificates emitted by trusted centers, such as Verisign, Thawte, or others. You can also start with http://startssl.com.

For testing purposes, you can use your own self-signed SSL certificates. It is easy, free of charge, and a quick way to start. But there are some limitations, and self-signed certificates are not acceptable for use on production systems. Though the certificate implements full encryption, your website visitors will see the following browser warning:

The certificate should not be trusted!

To create...