From 39d6da81f992240aa87e403cb541e097d26cca26 Mon Sep 17 00:00:00 2001 From: Alex Aubuchon Date: Fri, 31 May 2019 17:08:10 -0700 Subject: [PATCH] test: add comments to the foaf+ssl fixtures PR-URL: https://github.com/nodejs/node/pull/27962 Reviewed-By: Sam Roberts Reviewed-By: Ujjwal Sharma Reviewed-By: Rich Trott --- test/fixtures/keys/Makefile | 3 +++ test/fixtures/keys/rsa_cert_foafssl_b.cnf | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/test/fixtures/keys/Makefile b/test/fixtures/keys/Makefile index 12d6914e9a1..980fe8cf4cf 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 38d6dd36f7b..5e69db885a5 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