Cert generation instructions incomplete
Closed this issue · 2 comments
alexellis commented
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:
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.
nshalman commented
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...
chrisdoherty4 commented
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.