changeset 588:152c020d7d8e

Simplify gencsr
author nanaya <me@myconan.net>
date Sun, 26 Jun 2016 15:08:01 +0900
parents 394f19c180a2
children 7fbadf8bd22e
files bin/gencsr
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bin/gencsr	Tue May 31 21:33:55 2016 +0900
+++ b/bin/gencsr	Sun Jun 26 15:08:01 2016 +0900
@@ -1,4 +1,4 @@
 #!/bin/sh
 
-openssl genrsa -out ssl.key 2048
-openssl req -out ssl.csr -key ssl.key -new -sha256
+openssl genrsa -out ssl.key 4096
+openssl req -out ssl.csr -key ssl.key -new -sha256 -subj "/CN=yoursite.com"