annotate bin/gencsr @ 606:b9672858e2e2

Better color
author nanaya <me@nanaya.pro>
date Tue, 20 Jun 2017 01:25:03 +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"