 6a80b3c6d2
			
		
	
	6a80b3c6d2
	
	
	
		
			
			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.
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			322 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			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 = ""
 |