author | Alberto Bertogli
<albertito@blitiri.com.ar> 2015-10-18 11:24:53 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2015-10-18 15:19:10 UTC |
parent | 6fe4cfb88f17d98c5a8b2f9db44242b0c968c80e |
tests/run_tests | +3 | -4 |
diff --git a/tests/run_tests b/tests/run_tests index e5257c1..16407a9 100755 --- a/tests/run_tests +++ b/tests/run_tests @@ -94,10 +94,10 @@ class Config(object): print "openssl call failed, output: %r" % err.output raise + ouname = "kxd-tests-%s" % self.name req_args = ["openssl", "req", "-new", "-batch", "-subj", ("/commonName=*" + - "/organizationalUnitName=kxd-tests-%s:%s@%s" % ( - self.name, LOGNAME, platform.node())), + "/organizationalUnitName=%s" % ouname), "-key", "%s/key.pem" % self.path] if self_sign: req_args.extend(["-x509", "-out", "%s/cert.pem" % self.path]) @@ -137,8 +137,7 @@ class CA(object): ["openssl", "req", "-new", "-x509", "-batch", "-config", OPENSSL_CONF, "-subj", ("/commonName=*" + - "/organizationalUnitName=kxd-tests-ca:%s@%s" % ( - LOGNAME, platform.node())), + "/organizationalUnitName=kxd-tests-ca"), "-extensions", "v3_ca", "-nodes", "-keyout", "cakey.pem", "-out", "cacert.pem"],