From 60f1a73754351cd0b7cc071b2822792eb9bfc88e Mon Sep 17 00:00:00 2001 From: Aram Sargsyan Date: Wed, 21 Sep 2022 08:25:52 +0000 Subject: [PATCH] Fix a typo in doth system test's CA.cfg 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tests/system/doth/CA/CA.cfg b/bin/tests/system/doth/CA/CA.cfg index 97ea088bbb..dcdff1f136 100644 --- a/bin/tests/system/doth/CA/CA.cfg +++ b/bin/tests/system/doth/CA/CA.cfg @@ -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 #