OpenSSL certificate generation command in secrets quickstart docs is broken #837
Labels
bug
Something isn't working
deployment
docs
Documentation issues
FlowAPI
Issues related to the FlowKit API
The instructions Installation > Secrets Quickstart are slightly buggy and currently don't always allow to spin up a working system. In particular, the command which creates an OpenSSL certificate can fail.
There are two reasons for this. Firstly, it contains the instruction
[[ "Darwin" -eq "$(uname -s)" ]]
. Theeq
does a numeric comparison rather than a string comparison, and due to some bash weirdness this leads to the command always succeeding. On a non-Darwin system this means that the configuration file can't be found and as a result thecert.pem
file won't be generated. (Which leads to an SSL error when hypercorn attempts to start up inside the container.)Another issue is that on CentOS the config file does not exist at the location
/etc/ssl/openssl.cnf
but rather at/etc/pki/tls/openssl.cnf
, which equally results in a broken certificate and an SSL error when hypercorn starts up.The text was updated successfully, but these errors were encountered: