annotate bin/gencsr @ 635:5d3ce722285a

Use function keys for some functions
author nanaya <me@nanaya.pro>
date Mon, 13 Jan 2020 00:19:42 +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"