Skip to content

Commit a665584

Browse files
committed
handle openssl.cnf that don't end in newlines
1 parent 30e1a0b commit a665584

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ <h2>Step 2: Certificate Signing Request</h2>
171171

172172
openssl req -new -sha256 -key domain.key -subj "/" \
173173
-reqexts SAN -config &lt;(cat /etc/ssl/openssl.cnf \
174-
&lt;(printf "[SAN]\nsubjectAltName=DNS:foo.com,DNS:www.foo.com"))
174+
&lt;(printf "\n[SAN]\nsubjectAltName=DNS:foo.com,DNS:www.foo.com"))
175175
</pre>
176176
</li>
177177
<li>

0 commit comments

Comments
 (0)