forked from juvvadi/keystone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathssl.conf
74 lines (64 loc) · 1.88 KB
/
ssl.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#
# SAMPLE CONFIG FILE TO TEST SSL
#
# TO USE:
# in /bin, run:
# ./keystone -c ../etc/ssl.conf
# also run
# ./sampledata -c ../etc/ssl.conf
#
# Note: this uses the same database as the default conf file. The echo app
# is not designed to support SSL and won't work in this config.
#
# To verify the server is started:
# curl -k https://localhost:35357/
[DEFAULT]
verbose = False
debug = False
default_store = sqlite
log_file = keystone.ssl.log
log_dir = .
backends = keystone.backends.sqlalchemy
extensions= osksadm, oskscatalog, hpidm
service-header-mappings = {
'nova' : 'X-Server-Management-Url',
'swift' : 'X-Storage-Url',
'cdn' : 'X-CDN-Management-Url'}
service_host = 0.0.0.0
service_port = 5000
service_ssl = True
admin_host = 0.0.0.0
admin_port = 35357
admin_ssl = True
keystone-admin-role = Admin
keystone-service-admin-role = KeystoneServiceAdmin
hash-password = True
certfile = ../examples/ssl/certs/keystone.pem
keyfile = ../examples/ssl/private/keystonekey.pem
ca_certs = ../examples/ssl/certs/ca.pem
cert_required = True
[keystone.backends.sqlalchemy]
sql_connection = sqlite:///keystone.db
sql_idle_timeout = 30
backend_entities = ['Endpoints', 'Credentials', 'EndpointTemplates', 'Tenant', 'User', 'UserRoleAssociation', 'Role', 'Token', 'Service']
[pipeline:admin]
pipeline =
urlnormalizer
d5_compat
admin_api
[pipeline:keystone-legacy-auth]
pipeline =
urlnormalizer
legacy_auth
d5_compat
service_api
[app:service_api]
paste.app_factory = keystone.server:service_app_factory
[app:admin_api]
paste.app_factory = keystone.server:admin_app_factory
[filter:urlnormalizer]
paste.filter_factory = keystone.frontends.normalizer:filter_factory
[filter:d5_compat]
paste.filter_factory = keystone.frontends.d5_compat:filter_factory
[filter:legacy_auth]
paste.filter_factory = keystone.frontends.legacy_token_auth:filter_factory