summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Aubuchon <alex@aub.dev>2019-05-31 17:08:10 -0700
committerAli Ijaz Sheikh <ofrobots@google.com>2019-06-05 11:37:59 -0700
commit39d6da81f992240aa87e403cb541e097d26cca26 (patch)
tree81a545a3799f9891908a9111582f42c30768da02
parent2abaa1a4438344b70d59399be0039141980a7fcc (diff)
downloadnode-new-39d6da81f992240aa87e403cb541e097d26cca26.tar.gz
test: add comments to the foaf+ssl fixtures
PR-URL: https://github.com/nodejs/node/pull/27962 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
-rw-r--r--test/fixtures/keys/Makefile3
-rw-r--r--test/fixtures/keys/rsa_cert_foafssl_b.cnf4
2 files changed, 7 insertions, 0 deletions
diff --git a/test/fixtures/keys/Makefile b/test/fixtures/keys/Makefile
index 12d6914e9a..980fe8cf4c 100644
--- a/test/fixtures/keys/Makefile
+++ b/test/fixtures/keys/Makefile
@@ -651,6 +651,9 @@ I_AM_THE_WALRUS_sha256_signature_signedby_rsa_private_b.sha256: rsa_private_b.pe
rsa_public_b.pem: rsa_private_b.pem
openssl rsa -in rsa_private_b.pem -pubout -out rsa_public_b.pem
+# The following 'foafssl' cert is used in test/parallel/test-https-foafssl.js.
+# It requires a SAN like 'http://example.com/#me'. More info here:
+# https://www.w3.org/wiki/Foaf+ssl
rsa_cert_foafssl_b.crt: rsa_private_b.pem
openssl req -new -x509 -config rsa_cert_foafssl_b.cnf -key rsa_private_b.pem -out rsa_cert_foafssl_b.crt
diff --git a/test/fixtures/keys/rsa_cert_foafssl_b.cnf b/test/fixtures/keys/rsa_cert_foafssl_b.cnf
index 38d6dd36f7..5e69db885a 100644
--- a/test/fixtures/keys/rsa_cert_foafssl_b.cnf
+++ b/test/fixtures/keys/rsa_cert_foafssl_b.cnf
@@ -1,3 +1,7 @@
+# The following 'foafssl' cert is used in test/parallel/test-https-foafssl.js.
+# It requires a SAN like 'http://example.com/#me'. More info here:
+# https://www.w3.org/wiki/Foaf+ssl
+
[ req ]
days = 99999
distinguished_name = req_distinguished_name