This repository was archived by the owner on Jan 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.txt
40 lines (33 loc) · 1.75 KB
/
README.txt
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
============
verify_encat
============
This is a SAML IdP test utility for entity categories.
The service can verify how a IdP responds dependent on which
entity categories that are defined.
Start by installing pysaml2 and understand how to setup an SP with pysaml2.
Then start with the settings for verify_ecat.
1) Import the metadata this service should use.
To do this you can use update_metadata.sh suitably modified
2) Change the name of conf.example to conf.py.
Make any necessary changes (3)-(7)
3) In conf.py verify that the path in xmlsec_path is correct.
4) BASE should be the URL where you publish verify_encat. The port must be the same as in server_conf.py.
5) attribute_map_dir must point to the pysaml2 directory.
6) metadata must point to your metadata file.
7) key_file and cert_file must be initiated.
8) Rename the file server_conf.example to server_conf.py.
9) PORT must match with the settings for BASE in conf.py.
10) HTTPS should be True if you want to run the server as HTTPS, otherwise False.
If you use HTTPS you need to do 12-14
11) POLICY contains the policies for the entity categories. View pysaml2 for more information.
12) SERVER_CERT contains the path the certificate
13) SERVER_KEY contains the path for the private key
14) CERT_CHAIN is the certificate chain that the HTTP server can use to
verify server certificates. If it's empty (=None) no server certificate
verification will be made.
15) Modify build.json so it reflects the combinations of entity categories
you want to test
16) Build the SP configuration to cover all variants using build_conf.py
17) Build the metadata for all the SPs using build_metadata.py, you may
want to change the name format.
18) Export your SPs metadata to you federation and you're ready to go