~garritfra/taurus

taurus: Improve docs & update generate_cert script v1 APPLIED

Alexey Yerin: 1
 Improve docs & update generate_cert script

 2 files changed, 6 insertions(+), 3 deletions(-)
#343481 ci.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~garritfra/taurus/patches/15056/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH taurus] Improve docs & update generate_cert script Export this patch

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

Signed-off-by: Alexey Yerin <yerinalexey98fd@gmail.com>
---
 README.md                | 4 ++--
 contrib/generate_cert.sh | 5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)
 mode change 100644 => 100755 contrib/generate_cert.sh

diff --git a/README.md b/README.md
index b28a939..38c8ba4 100644
--- a/README.md
+++ b/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
diff --git a/contrib/generate_cert.sh b/contrib/generate_cert.sh
old mode 100644
new mode 100755
index f20489c..e459257
--- a/contrib/generate_cert.sh
+++ b/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
\ No newline at end of file
openssl pkcs12 -export -out identity.pfx -inkey server.key -in server.crt

# Clean up
rm server.key server.csr server.crt
-- 
2.29.2
builds.sr.ht
taurus/patches/ci.yml: SUCCESS in 1m44s

[Improve docs & update generate_cert script][0] from [Alexey Yerin][1]

[0]: https://lists.sr.ht/~garritfra/taurus/patches/15056
[1]: mailto:yerinalexey98fd@gmail.com

✓ #343481 SUCCESS taurus/patches/ci.yml https://builds.sr.ht/~garritfra/job/343481
Applied, thanks!