annotate bin/gencsr @ 628:7bcc81f6b210

Correct os version check
author nanaya <me@nanaya.pro>
date Sun, 30 Jun 2019 20:31:45 +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"