Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Automatic certificates from Let's Encrypt #142
This enables admins to run WriteFreely as a standalone server that automatically generates certificates, powered by Let's Encrypt (T542).
It adds a new config option under the
This also adds a new option during the interactive config process that allows the user to choose automatic certificate generation, in addition to the previous option of manually configuring the certificate location.
This adds a new config option in the `[server]` section: `autocert`. When true, WF will automatically generate certificates instead of using ones from the provided cert path. However, all generated certificates will be stored in the configured `tls_cert_path`. Ref T542
Previously, this would pass in the instance's full (and invalid) URL. Now it passes only the host name. Ref T542
This adds a new "Secure (port 443), auto certificate" option to the "Web server mode" prompt when running `writefreely --config`. When chosen, it'll set `autocert` to `true` and set the path for certs and keys to `certs`. Ref T542