annotate bin/gencsr @ 655:82f5e43259eb

Add helper for easier doas
author nanaya <me@nanaya.pro>
date Mon, 31 May 2021 14:56:58 +0900
parents 152c020d7d8e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
566
99c8e99698ad Add csr generator.
nanaya <me@myconan.net>
parents:
diff changeset
1 #!/bin/sh
99c8e99698ad Add csr generator.
nanaya <me@myconan.net>
parents:
diff changeset
2
588
152c020d7d8e Simplify gencsr
nanaya <me@myconan.net>
parents: 566
diff changeset
3 openssl genrsa -out ssl.key 4096
152c020d7d8e Simplify gencsr
nanaya <me@myconan.net>
parents: 566
diff changeset
4 openssl req -out ssl.csr -key ssl.key -new -sha256 -subj "/CN=yoursite.com"