8403b30f41ed131aaf305fb7f667a472efbed31e — Gustavo Heinz 3 years ago c959cb5
Update README.md to reflect certificate generation
1 files changed, 4 insertions(+), 4 deletions(-)

M README.md => README.md +4 -4
@@ 7,11 7,11 @@ Satellite is a small Gemini server for serving static files.
satellite -cert <certfile> -key <keyfile> -root <contentdir> -domain <domain>

Certificate generation will be done automatically in the future, but for now, you will need to generate it yourself
The SSL certificate generation will be done automatically in the first run.

openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem -days 3650 -nodes -subj "/CN=example.com"
Every time the server starts, it will check for the certificate expire date
will generate a new one if needed. This is not optimal, I plan to do the
certificate rotation without needing to restart in the future.

## Building