In this video, we will learn how to generate a SSL/TLS certificate signing request (CSR) and have it signed by a Certificate Authority (CA). For the purpose of this tutorial, we won’t submit the CSR to a real CA. Instead, we will play both roles: the certificate authority and the certificate applicant.
- Join us on Discord: https://bit.ly/techschooldc
- Buy us a coffee: https://www.buymeacoffee.com/techschool
We will use openssl to do following things:
1. Generate a private key and self-signed certificate of the Certificate Authority (CA).
2. Generate a private key and certificate signing request (CSR) for our web server.
3. Use the CA's private key to sign our web server's CSR and get back the signed certificate.
4. Verify if a certificate is valid or not.
I strongly recommend you to watch this video first to get a deep understanding of SSL/TLS: https://youtu.be/-f4Gbk-U758
You can also read this in text format on DEV: https://dev.to/techschoolguru/how-to-create-sign-ssl-tls-certificates-2aai
---
Credit:
- Desktop wallpaper is a photo by Scott Taylor on Unsplash:
https://unsplash.com/photos/C9rWJ1CGSE8