Welcome to the Linux Foundation Forum!

7.16 confussion

Posts: 39
edited October 2017 in LFS211 Class Forum

"To generate a private key, use the following command:

$ openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt"

"To generate a self-signed certificate, you should use the following command:

$ openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt"

Are they supposed to be the same? And according to Solution 7.5 there are different commands for these tasks. Am I missing something?

Comments

  • Posts: 380
    edited October 2017

    Thank you for noticing this. The cmmad to create the key shoud be: 

     openssl genrsa -aes128 2048 > somefile.key 

    This will be corrected in the next version.  

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training