Files
deb-python-pysaml2/example/sp-wsgi/service_conf.py
Hank Leininger 6a80b3c6d2 Update example HTTPS cert & key filenames.
pki/my{cert,key}.pem are used for request payloads; set those as
the defaults for HTTPS as well.  Note that HTTPS isn't necessarily
in a working state - this just gets us a bit closer.
2014-04-04 00:31:14 -04:00

18 lines
322 B
Python

from saml2.assertion import Policy
HOST = '127.0.0.1'
PORT = 8087
HTTPS = False
# Which groups of entity categories to use
POLICY = Policy(
{
"default": {"entity_categories": ["swamid", "edugain"]}
}
)
# HTTPS cert information
SERVER_CERT = "pki/mycert.pem"
SERVER_KEY = "pki/mykey.pem"
CERT_CHAIN = ""