aboutsummaryrefslogtreecommitdiff
path: root/gmid.1
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-07-29 09:48:43 +0200
committerOmar Polo <op@omarpolo.com>2021-07-29 09:48:43 +0200
commit2bb1776bacc96357fc182ef396508fe71816e0b0 (patch)
treef41bd559d538c81689408143d76ca313538ee491 /gmid.1
parent301e039d24172a5e15bed60701bf279798d28621 (diff)
keep the openssl key generation example under 80 columns
Diffstat (limited to 'gmid.1')
-rw-r--r--gmid.13
1 files changed, 2 insertions, 1 deletions
diff --git a/gmid.1 b/gmid.1
index e9be35e..054d3eb 100644
--- a/gmid.1
+++ b/gmid.1
@@ -662,7 +662,8 @@ First, the RSA certificate is created using a wildcard common name:
.Bd -literal -offset indent
# openssl genrsa \-out /etc/ssl/private/example.com.key 4096
# openssl req \-new \-x509 \-key /etc/ssl/private/example.com.key \e
- \-out /etc/ssl/example.com.crt \-days 36500 \-nodes \-subj "/CN=*.com"
+ \-out /etc/ssl/example.com.crt \-days 36500 \-nodes \e
+ \-subj "/CN=example.com"
# chmod 600 /etc/ssl/example.com.crt
# chmod 600 /etc/ssl/private/example.com.key
.Ed