summaryrefslogtreecommitdiffstats
path: root/inc/simplesamlphp
diff options
context:
space:
mode:
Diffstat (limited to 'inc/simplesamlphp')
-rw-r--r--inc/simplesamlphp/cert/saml.crt22
-rw-r--r--inc/simplesamlphp/cert/saml.pem28
-rw-r--r--inc/simplesamlphp/config/authsources.php6
3 files changed, 56 insertions, 0 deletions
diff --git a/inc/simplesamlphp/cert/saml.crt b/inc/simplesamlphp/cert/saml.crt
new file mode 100644
index 0000000..59b9e94
--- /dev/null
+++ b/inc/simplesamlphp/cert/saml.crt
@@ -0,0 +1,22 @@
+-----BEGIN CERTIFICATE-----
+MIIDuTCCAqGgAwIBAgIJAIOURAhjhobwMA0GCSqGSIb3DQEBCwUAMHMxCzAJBgNV
+BAYTAkZSMQwwCgYDVQQIDANJREYxDjAMBgNVBAcMBVBhcmlzMRQwEgYDVQQKDAtF
+bnRyJ291dmVydDEMMAoGA1UECwwDd3d3MSIwIAYJKoZIhvcNAQkBFhNpbmZvQGVu
+dHJvdXZlcnQuY29tMB4XDTE1MDQwMjA5NTczNloXDTI1MDQwMTA5NTczNlowczEL
+MAkGA1UEBhMCRlIxDDAKBgNVBAgMA0lERjEOMAwGA1UEBwwFUGFyaXMxFDASBgNV
+BAoMC0VudHInb3V2ZXJ0MQwwCgYDVQQLDAN3d3cxIjAgBgkqhkiG9w0BCQEWE2lu
+Zm9AZW50cm91dmVydC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB
+AQDEwR4IbG6FYZYDf015LtJUswz/AcCndWLfX2lt6QVygf9aMBDsDroa1v0IWusk
++VSWV9RD/Z8mVLE9sbpZqQhXYzqJB05YLgilHCBIVv2fMeMTzHXjmcoUa/VSAi83
+KMe3OLSrJ+LxnXa214fyEZVN+JHjd/JvF+6UGvykJ3/uP2S/xjEIcFx8QgRcng1K
+Ac0Yr4P5LPrKh7KOdS/5LJ2pyco2VjSGJLBNDOH/u8SZ8MSQ464h4/CdkpIfJC09
+o7X9nLSUB7bMVQgH9dfcheTJVajP5VqeDMtZuSDovClliNhJ43ZzCy7qV/kHlakV
+H80VZQ6AcuDtYXd4O4peRZMjAgMBAAGjUDBOMB0GA1UdDgQWBBSkF5REIBi5ninD
+CQYjl2SmlA2byjAfBgNVHSMEGDAWgBSkF5REIBi5ninDCQYjl2SmlA2byjAMBgNV
+HRMEBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQC0nMiq4bxDu7cyPRYgzebh4UOO
+WJ52R7UXzIcBCqlfbDnAWMBIt8v++AszfdzCI3ZazWA54JyssDASr8neAJh9cmUq
+r9EeZpcb/u6ukECQDnqs2UvVfj35JmmSeRNjcYi6Hjv0ikGS4KRn+YF0ZNyXIEU9
+IIb2vJndVYcX5B9z1R8k5KD3b+iu7+V4C00zme/r22cPaPgBXbkV/EFpWw0PTv6K
+utu7ksVC/NCWu+XihPLDlJCeIgG2k720XAib7y2ntFHKjT7kszPFFhGyTNfJ8JjD
+79wtpB/RNJ/4H62mNmuXtNfX3JJKRYRjnCB62Z2U5QVhoWlzSRWSNQv5h5i3
+-----END CERTIFICATE-----
diff --git a/inc/simplesamlphp/cert/saml.pem b/inc/simplesamlphp/cert/saml.pem
new file mode 100644
index 0000000..7c3cf62
--- /dev/null
+++ b/inc/simplesamlphp/cert/saml.pem
@@ -0,0 +1,28 @@
+-----BEGIN PRIVATE KEY-----
+MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDEwR4IbG6FYZYD
+f015LtJUswz/AcCndWLfX2lt6QVygf9aMBDsDroa1v0IWusk+VSWV9RD/Z8mVLE9
+sbpZqQhXYzqJB05YLgilHCBIVv2fMeMTzHXjmcoUa/VSAi83KMe3OLSrJ+LxnXa2
+14fyEZVN+JHjd/JvF+6UGvykJ3/uP2S/xjEIcFx8QgRcng1KAc0Yr4P5LPrKh7KO
+dS/5LJ2pyco2VjSGJLBNDOH/u8SZ8MSQ464h4/CdkpIfJC09o7X9nLSUB7bMVQgH
+9dfcheTJVajP5Vq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lpjJdxLsachFfvhryBXtAHroemN5z98K1K12LMoT6/N
+wJWFXM7fwSNwivD/Ac7ztK9Ci/IS9Y5gv8kHaZ3pAoGBAOy9HM+HG9+dLlWHbmmL
+LjoqaqsJrSyEQ/sH8Rq6AHHBDYwLTs7KHM5xOwkiU5Z3t9wLKJuRZE5mHN+q2mdP
+alEqHldz+W/06PYICF5MPmJ/vT0ev5dt8nzwGaRnyBrgr+Rh2N1ho2yYeO/3XcRe
+wa7hpLfbdU1zGEamtyKBMP9m
+-----END PRIVATE KEY-----
diff --git a/inc/simplesamlphp/config/authsources.php b/inc/simplesamlphp/config/authsources.php
index 3e00a68..7210130 100644
--- a/inc/simplesamlphp/config/authsources.php
+++ b/inc/simplesamlphp/config/authsources.php
@@ -36,6 +36,12 @@ $config = array(
// Force persistent NameID
'NameIDFormat' => 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent',
+ // Artifact by default
+ 'ProtocolBinding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact',
+
+ 'redirect.sign' => TRUE,
+ 'privatekey' => 'saml.pem',
+ 'certificate' => 'saml.crt',
/*
* WARNING: SHA-1 is disallowed starting January the 1st, 2014.