Where the several options specified are as follows:
-x509: We are using x509 protocol
-days 365: Good for one year
-newkey: We are generating a new key
rsa:2048: Use the 2,048-bit RSA algorithm
-keyout: Location to place the key
-out: Location to place the certificate
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.