tinkerbell/hegel

Cert generation instructions incomplete

Closed this issue · 2 comments

Expected the following from the README to work without extra inputs etc

mkdir ./certs
openssl genrsa -des3 -passout pass:x -out ./certs/server.pass.key 2048
openssl rsa -passin pass:x -in ./certs/server.pass.key -out ./certs/server.key
openssl req -new -key ./certs/server.key -out ./certs/server.csr
openssl x509 -req -sha256 -days 365 -in ./certs/server.csr -signkey ./certs/server.key -out ./certs/server.crt
export HEGEL_TLS_CERT=./certs/server.crt
export HEGEL_TLS_KEY=./certs/server.key

Actual result:

Screenshot 2020-04-09 at 10 16 09

Suggested solution:

Either inform the user what to enter for each input, or give them a sample like ACME CO and pre-populate the flags.

Does use of https://github.com/tinkerbell/sandbox obviate the need for these instructions? I wonder if the README should be updated to point at the sandbox repo...

Alternately docs from https://github.com/tinkerbell/tinkerbell-docs are rendered at https://docs.tinkerbell.org/

We could also point there...

Thanks for reporting. We'll continue to address documentation but given this issue hasn't seen any movement in quite some time, we'll close for now.