From eab8b39f1a26c9f3e1cb0c0c198adbd8c03757f8 Mon Sep 17 00:00:00 2001
From: Enrique de la Hoz <enrique.delahoz@uah.es>
Date: Thu, 4 Dec 2008 13:31:28 +0000
Subject: [PATCH] Added sts-crt option to config-login-infocard.php

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1052 44740490-163a-0410-bde0-09ae8108e29a
---
 .../config-template/config-login-infocard.php  | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/modules/InfoCard/config-template/config-login-infocard.php b/modules/InfoCard/config-template/config-login-infocard.php
index 055fee0a7..90ba0f612 100644
--- a/modules/InfoCard/config-template/config-login-infocard.php
+++ b/modules/InfoCard/config-template/config-login-infocard.php
@@ -72,6 +72,8 @@ $config = array (
 	
 	'server_key' => '/etc/apache2/ssl/idp.key',
 	'server_crt' => '/etc/apache2/ssl/idp.crt',
+	'sts_crt' => '/etc/apache2/ssl/sts.crt',
+	
 	'IClogo' => 'resources/infocard_114x80.png',
 	
 
@@ -92,6 +94,22 @@ $config = array (
 			'webpage' => array('displayTag'=>"webpage", 'description'=>"Página web")
 		),
 	),
+
+
+//STS only
+// array of certificates forming a trust chain.  The local signing
+// certificate is [0], the one that signed that is [1], etc, chaining to a
+// trust anchor.
+	
+	'CardGenerator' => 'https://idp.aut.uah.es/simplesaml/module.php/InfoCard/getinfocard.php',
+	'certificates' => array(
+		0 => '/etc/apache2/ssl/sts.crt',
+		1 => '/etc/apache2/ssl/CA.crt'
+	),
+	
+	'sts_key' => '/etc/apache2/ssl/sts.key',
+	'tokenserviceurl' => 'https://sts/tokenservice.php',
+	'mexurl' => 'https://sts/mex.php',
 );
 
 ?>
\ No newline at end of file
-- 
GitLab