]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix a typo in doth system test's CA.cfg
authorAram Sargsyan <aram@isc.org>
Wed, 21 Sep 2022 08:25:52 +0000 (08:25 +0000)
committerAram Sargsyan <aram@isc.org>
Fri, 23 Sep 2022 13:23:49 +0000 (13:23 +0000)
The comments in CA.cfg file serve as a good tutorial for setting up
a simple PKI for a system test. There is a typo in one of the presented
commands, which results in openssl not exiting with an error message
instead of generating a certificate.

Fix the typo.

bin/tests/system/doth/CA/CA.cfg

index 97ea088bbb58c73c7353229f44d43bf25cc0e124..dcdff1f13687a87598889ef52794b05d870b3d7b 100644 (file)
@@ -5,7 +5,7 @@
 # xxd -l 8 -u -ps /dev/urandom > ./serial
 # 2. Create the new certificate request (e.g. for foo.example.com):
 #  openssl req -config ./CA.cfg -new -subj "/CN=foo.example.com" \
-#                  -addext "subjectAltName=DNS:foo.example.com,IP=X.X.X.X" \
+#                  -addext "subjectAltName=DNS:foo.example.com,IP:X.X.X.X" \
 #                  -newkey rsa -keyout ./certs/foo.example.com.key \
 #                  -out ./certs/foo.example.com.csr
 #