Skip to content

Commit

Permalink
doc: fix typo in how-to-create-a-HTTPS-server.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marsonya authored and Trott committed Mar 4, 2021
1 parent ef357d1 commit 7b4b7a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ layout: knowledge-post.hbs

To create an HTTPS server, you need two things: an SSL certificate, and built-in `https` Node.js module.

We need to start out with a word about SSL certificates. Speaking generally, there are two kinds of certificates: those signed by a 'Certificate Authority', or CA, and 'self-signed certificates'. A Certificate Authority is a trusted source for an SSL certificate, and using a certificate from a CA allows your users to be trust the identity of your website. In most cases, you would want to use a CA-signed certificate in a production environment - for testing purposes, however, a self-signed certicate will do just fine.
We need to start out with a word about SSL certificates. Speaking generally, there are two kinds of certificates: those signed by a 'Certificate Authority', or CA, and 'self-signed certificates'. A Certificate Authority is a trusted source for an SSL certificate, and using a certificate from a CA allows your users to be trust the identity of your website. In most cases, you would want to use a CA-signed certificate in a production environment - for testing purposes, however, a self-signed certificate will do just fine.

To generate a self-signed certificate, run the following in your shell:

Expand Down

0 comments on commit 7b4b7a1

Please sign in to comment.