Welcome to the new Linux Foundation Forum!

7.16 confussion

fliker09fliker09 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

  • lee42xlee42x Posts: 91
    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.  

Sign In or Register to comment.