Skip to content
Snippets Groups Projects
Commit 64b25be3 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Removing requirement of X509Certificate in metadata for parsing entities (Shib 1.3 IdP)

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@670 44740490-163a-0410-bde0-09ae8108e29a
parent 62bcb695
No related branches found
No related tags found
No related merge requests found
......@@ -423,7 +423,14 @@ class SimpleSAML_Metadata_SAMLParser {
$certData = base64_decode($key['X509Certificate']);
if($certData === FALSE) {
throw new Exception('Unable to parse base64 encoded certificate data.');
break;
/*
* At 2008-06-18 we removed the requirement for certificate to be emedded in metadata. Instead
* of throwing an exception which caused the whole parsing to crash, we just skip adding the
* certificate fingerprint for this entity.
*
* throw new Exception('Unable to parse base64 encoded certificate data.');
*/
}
$ret['certFingerprint'] = sha1($certData);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment