Welcome to the Linux Foundation Forum!

[LFS258] [Lab 5.1. Configuring TLS Access] : step 5 : Is "-d" option for base64 command a mistake?

  1. Now encode the keys for use withcurl.student@cp: ̃$ echo $client | base64 -d - > ./client.pem

Step 5 says "encode the keys". Then actual base64 command uses -d option which is to decode as per it's help. Either "encode the keys" should change to "decode the keys" or the "-d" option of base64 command should be removed?

Answers

  • chrispokorni
    chrispokorni Posts: 2,372

    Hi @tdhanu2000,

    The command intends to decode the key. It seems the task description includes an accidental typo. Thank you for flagging it.

    Regards,
    -Chris

Categories

Upcoming Training