oslo.service/oslo_service
Davanum Srinivas 94bc9ceef1 Fixup certificates and skip failing test
Using cfssl to regenerate fresh certificates:
rm *
echo '{"CN":"CA","key":{"algo":"rsa","size":2048}}' | cfssl gencert
-initca - | cfssljson -bare ca -
echo '{"signing":{"default":{"expiry":"43800h","usages":["signing","key
encipherment","server auth","client auth"]}}}' > ca-config.json
export ADDRESS=127.0.0.1,::1,localhost
export NAME=server
echo
'{"CN":"'$NAME'","hosts":["127.0.0.1"],"key":{"algo":"rsa","size":2048}}'
| cfssl gencert -config=ca-config.json -ca=ca.pem -ca-key=ca-key.pem
-hostname="$ADDRESS" - | cfssljson -bare $NAME
export ADDRESS=
export NAME=client
echo
'{"CN":"'$NAME'","hosts":["127.0.0.1"],"key":{"algo":"rsa","size":2048}}'
| cfssl gencert -config=ca-config.json -ca=ca.pem -ca-key=ca-key.pem
-hostname="$ADDRESS" - | cfssljson -bare $NAME
cp ca.pem ca.crt ;
cp ca-key.pem ca.key;
cp client.pem certificate.crt ;
cp client-key.pem privatekey.key ;

Also the results from the related bug show that there is currently no
solution to make self-signed certificates work in conjunction with
raw IPv6 addresses consistently, so we skip the failing test.

Related-Bug: 1656329
Change-Id: I160108059e17122035d8d914c5157b7ce3ada3a5
2018-04-10 14:47:19 +00:00
..
locale/en_GB/LC_MESSAGES Imported Translations from Zanata 2018-03-01 06:11:58 +00:00
tests Fixup certificates and skip failing test 2018-04-10 14:47:19 +00:00
__init__.py Fix Heartbeats stop when time is changed 2016-03-03 21:21:02 +01:00
_i18n.py Update URLs in documents according to document migration 2017-07-12 23:28:29 +08:00
_options.py Merge "wsgi: decrease the default number of greenthreads in pool" 2016-02-24 05:30:42 +00:00
eventlet_backdoor.py Remove log translations 2017-03-23 16:04:59 +08:00
loopingcall.py Revert "Permit aborting loopingcall while sleeping" 2017-12-15 08:32:24 +00:00
periodic_task.py Merge "change periodic_task to catch all exceptions including BaseException" 2017-11-13 06:06:29 +00:00
service.py Maintain shared memory after fork in Python >=3.7 2018-01-02 12:26:13 -05:00
sslutils.py Add Bandit to tox for security static analysis 2015-12-01 16:10:15 +03:00
systemd.py Fix argument type for _sd_notify() on python3 2016-03-31 10:51:19 -06:00
threadgroup.py Remove log translations 2017-03-23 16:04:59 +08:00
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:21 -05:00
wsgi.py Remove log translations 2017-03-23 16:04:59 +08:00