Core ModulesLesson 22Free preview
HTTPS Module
This lesson is part of Node.js · All levels
Summary
The https module provides the ability to create TLS/SSL encrypted servers and clients, essential for the security of data on the internet. Its use is very similar to the HTTP module, only it needs a certificate and a private key. HTTPS has become a mandatory standard for modern production APIs and websites.
Key points
- Https is an encrypted version of http using TLS/SSL
- HTTPS servers require a key and a certificate
- Production generally uses certificates from CA such as Let's Encrypt
- Https.get is used to take secure resources from other servers
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.