diff bin/gencsr @ 588:152c020d7d8e

Simplify gencsr
author nanaya <me@myconan.net>
date Sun, 26 Jun 2016 15:08:01 +0900
parents 99c8e99698ad
children
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"