annotate bin/gencsr @ 704:1e0f578f6752

Update vendor and add support for vim packs
author nanaya <me@nanaya.net>
date Sun, 18 Dec 2022 20:06:46 +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"