[ARVADOS] updated: 1.1.1-156-gae36f78
Git user
git at public.curoverse.com
Thu Dec 7 10:14:42 EST 2017
Summary of changes:
build/run-tests.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
via ae36f78143f258c4eecbee623efb2c2bfcd303a8 (commit)
from f3dc89653597f7f6de480850231ea1f6b991c8aa (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit ae36f78143f258c4eecbee623efb2c2bfcd303a8
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date: Thu Dec 7 10:12:33 2017 -0500
11453: Add IP: alt names to self-signed cert so python accepts it.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>
diff --git a/build/run-tests.sh b/build/run-tests.sh
index 107016b..7ca3900 100755
--- a/build/run-tests.sh
+++ b/build/run-tests.sh
@@ -812,12 +812,12 @@ install_apiserver() {
mkdir -p "$WORKSPACE/services/api/tmp/pids"
cert="$WORKSPACE/services/api/tmp/self-signed"
- if ! [[ -e "$cert.pem" ]]; then
+ if [[ ! -e "$cert.pem" || "$(date -r "$cert.pem" +%s)" -lt 1512659226 ]]; then
(
dir="$WORKSPACE/services/api/tmp"
set -ex
- openssl req -newkey rsa:2048 -nodes -subj '/C=US/ST=State/L=City/CN=127.0.0.1' -out "$cert.csr" -keyout "$cert.key" </dev/null
- openssl x509 -req -in "$cert.csr" -signkey "$cert.key" -out "$cert.pem" -days 3650 -extfile <(printf 'subjectAltName=DNS:localhost,DNS:::1,DNS:0.0.0.0')
+ openssl req -newkey rsa:2048 -nodes -subj '/C=US/ST=State/L=City/CN=localhost' -out "$cert.csr" -keyout "$cert.key" </dev/null
+ openssl x509 -req -in "$cert.csr" -signkey "$cert.key" -out "$cert.pem" -days 3650 -extfile <(printf 'subjectAltName=DNS:localhost,DNS:::1,DNS:0.0.0.0,DNS:127.0.0.1,IP:::1,IP:0.0.0.0,IP:127.0.0.1')
) || return 1
fi
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list