Browse Source

Improve docs & update generate_cert script

- Show accurate defaults
- Make generate_cert executable
- Delete temporary certificate files (everything except identity.pfx)

Signed-off-by: Alexey Yerin <yerinalexey98fd@gmail.com>
master
Alexey Yerin 3 years ago committed by Garrit Franke
parent
commit
b7cfb3ae96
  1. 4
      README.md
  2. 5
      contrib/generate_cert.sh

4
README.md

@ -19,9 +19,9 @@ An example config might look like this:
port = 1965
# Your TLS certificate
certificate_file= "identity.pfx"
certificate_file = "/etc/taurus/identity.pfx"
# Must match with the password of the generated certificate
# Must match with the export password of the generated certificate
certificate_password = "mysecretpassword"
# Your gemini files

5
contrib/generate_cert.sh

@ -6,4 +6,7 @@
openssl genrsa -des3 -out server.key 4096
openssl req -new -key server.key -out server.csr
openssl x509 -req -days 4096 -in server.csr -signkey server.key -out server.crt
openssl pkcs12 -export -out identity.pfx -inkey server.key -in server.crt
openssl pkcs12 -export -out identity.pfx -inkey server.key -in server.crt
# Clean up
rm server.key server.csr server.crt

Loading…
Cancel
Save