I have released a new OpenSSL Cheat Sheet version. The version 1.1.
You can download the PDF here: https://albertx.mx/wp-content/uploads/2020/07/The-OpenSSL-Cheat-Sheet-v1.1.pdf
or access the online version, here: https://cheatography.com/albertx/cheat-sheets/openssl/
Release notes for version 1.1:
- Inclusion of openssl command for generating random bytes specifying bytes of length for random data, in “Basics” section.
- Added the command for displaying digital certificates information in Abstract Sintax Notation One, in “Digital Certificates” section.
- Inclusion of command for generating a hash with its output in bytes, instead of hex encoding. This command is under “working with hashes” section.
A friendly reminder just to make sure you are ready for the new lifetime on TLS digital certificates of a maximum of 398 days starting september this year.
What does it mean?
- Every certificate issued by a public CA on or after September 1st, 2020, must have a maximum lifetime of 398 days to be trusted by web browsers.
- The number of days will be taken from two attributes already present on all certificates: notBefore and notAfter.
- All major browsers are preparing and releasing their new versions to support this change.
What are the benefits ?
- The first benefit is in fact an increase on the security for web resources served under HTTPS decreasing the number of active days a cryptographic private key will have.
- A second benefit is the one regarding crypto agility. A new fancy way to describe how prepared you are to change cryptographic algorithms, schemes or protocols when there is a major vulnerability which forces to deprecate rapidly any of them.
What impact could I have ?
- If you already have valid Digital Certificates with an expiration date on September after September or even next year, you will have no impact on them, everything will continue to function as normal, but starting September 1st 2020, if you request a new certificate, renew or reissue an existing certificate, the new maximum expiration date will be of 398 days beginning on the day the certificate is issued (or reissued). So you will not be able to have a valid certificate for 18 months or 2-3 years as before when the validation period starts on of after September.
- If for any reason a public CA issues a certificate with an expiration date of more than 398 days and you install it on your servers, all users or customers will receive an error saying the website is not secure and there is an error trying to access the website. Similar to when you are trying to access a website with a self-signed certificate installed or with a different common name in it.
A few official links: