From b9e06dc15ba67b9dd528e2cd7af952a56d752ed7 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Wed, 15 Jun 2022 15:51:15 +0100 Subject: [PATCH 1/2] Generate a Subject Alternative Name in the Complement certificate This is beneficial for interoperability --- .../complement/conf/start_for_complement.sh | 22 ++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/docker/complement/conf/start_for_complement.sh b/docker/complement/conf/start_for_complement.sh index b9c97ab687f7..dd1b862c1994 100755 --- a/docker/complement/conf/start_for_complement.sh +++ b/docker/complement/conf/start_for_complement.sh @@ -73,14 +73,30 @@ fi # Generate a TLS key, then generate a certificate by having Complement's CA sign it # Note that both the key and certificate are in PEM format (not DER). + +# First generate a configuration file to set up a Subject Alternative Name. +cat > /conf/server.tls.conf < Date: Wed, 15 Jun 2022 15:52:05 +0100 Subject: [PATCH 2/2] Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) --- changelog.d/13071.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/13071.misc diff --git a/changelog.d/13071.misc b/changelog.d/13071.misc new file mode 100644 index 000000000000..a6e1e6b3a8e1 --- /dev/null +++ b/changelog.d/13071.misc @@ -0,0 +1 @@ +Add a Subject Alternative Name to the certificate generated for Complement tests. \ No newline at end of file