O'Reilly logo

WebRTC Cookbook by Andrii Sergiienko

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring a web server to work over HTTPS

In this recipe, we will cover how to configure a secured layer (HTTPS) on a web server. As far as encryption and security are mandatory for WebRTC, HTTPS is an important part of the whole application's security and safety.

Getting ready

We will cover the three most popular web servers: Nginx, Apache HTTP Server, and IIS from Microsoft. We will not cover the installation procedure, so you should have the web server you wish to use installed and properly configured.

How to do it…

What we need to do is to edit the web server's configuration to switch on using HTTPS. Before we make the configuration changes, you need to have the generated security certificate. Usually, it is two files: a certificate and certificate ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required