<span style="font-family: Arial;">What are the permissions on your key file? Can the user that shibd is running as read the file?<br><br>sent from mobile<br><br>----- Reply message -----<br>From: &quot;Aravindhan A&quot; &lt;apitest4@gmail.com&gt;<br>To: &lt;users@shibboleth.net&gt;<br>Subject: Shibboleth SP -- &quot;opensaml::FatalProfileException&quot;<br>Date: Fri, Aug 30, 2013 2:52 AM<br><br></span><br>Hi Scott,<br><br> I cheked the shibd.log files , which shows the error &quot;failed to decrypt<br>assertion: Unable to resolve any key decryption keys&quot;.<br><br>I checked the common troubleshooting errors, which shows &quot;Metadata not<br>contains the same public key SP is configured to use&quot;.<br><br>I checked the metadata file for SPSSODescriptor , which is fine(content of<br>/etc/shibboleth/sp-cert.pem). But it still shows the error.<br><br>I &nbsp;have noticed that there is a error while restarting the shibd service ,<br><br>&quot;2013-08-30 12:01:47 INFO Shibboleth.AttributeExtractor.XML : creating<br>mapping for Attribute urn:mace:dir:attribute-def:eduPersonEntitlement<br>2013-08-30 12:01:47 INFO Shibboleth.AttributeExtractor.XML : creating<br>mapping for Attribute urn:oid:1.3.6.1.4.1.5923.1.1.1.7<br>2013-08-30 12:01:47 INFO Shibboleth.AttributeExtractor.XML : creating<br>mapping for Attribute urn:mace:dir:attribute-def:eduPersonTargetedID<br>2013-08-30 12:01:47 INFO Shibboleth.AttributeExtractor.XML : creating<br>mapping for Attribute urn:oid:1.3.6.1.4.1.5923.1.1.1.10<br>2013-08-30 12:01:47 INFO Shibboleth.AttributeExtractor.XML : creating<br>mapping for Attribute urn:oasis:names:tc:SAML:2.0:nameid-format:persistent<br>2013-08-30 12:01:47 INFO Shibboleth.Application : building AttributeFilter<br>of type XML...<br>2013-08-30 12:01:47 DEBUG Shibboleth.AttributeFilter : using local resource<br>(/etc/shibboleth/attribute-policy.xml), will monitor for changes<br>2013-08-30 12:01:47 DEBUG Shibboleth.AttributeFilter : loading configuration<br>from external resource...<br>2013-08-30 12:01:47 INFO Shibboleth.AttributeFilter : reload thread<br>started...running when signaled<br>2013-08-30 12:01:47 INFO Shibboleth.AttributeFilter : loaded XML resource<br>(/etc/shibboleth/attribute-policy.xml)<br>2013-08-30 12:01:47 INFO Shibboleth.Application : building AttributeResolver<br>of type Query...<br>2013-08-30 12:01:47 INFO Shibboleth.Application : building<br>CredentialResolver of type File...<br>2013-08-30 12:01:47 INFO XMLTooling.SecurityHelper : loading private key<br>from file (/etc/shibboleth/sp-key.pem)<br>2013-08-30 12:01:47 ERROR OpenSSL : error code: 33558541 in bss_file.c, line<br>398<br>2013-08-30 12:01:47 ERROR OpenSSL : error data:<br>fopen(&#39;/etc/shibboleth/sp-key.pem&#39;,&#39;r&#39;)<br>2013-08-30 12:01:47 ERROR OpenSSL : error code: 537346050 in bss_file.c,<br>line 400<br>2013-08-30 12:01:47 CRIT Shibboleth.Application : error building<br>CredentialResolver: Unable to load private key from file<br>(/etc/shibboleth/sp-key.pem).<br>2013-08-30 12:01:47 INFO Shibboleth.Listener : registered remoted message<br>endpoint (default::getHeaders::Application)<br>2013-08-30 12:01:47 INFO Shibboleth.Listener : listener service starting<br>&quot;<br><br>Which indicates the private key is not loaded correctly, But I tried<br>regenerating the SP key file using keygen.sh , While using new certificated<br>also , it shows the same error in UI and it contains the same error while<br>restarting the shibd service.<br><br>I tried adding the IDP private key and the certificates in the credential<br>resolver of the shibboleth2.xml. But that also shows the same error.<br><br>I attached the shibd.log and shibboleth2.xml files for reference.<br><br>shibboleth2.xml<br>&lt;http://shibboleth.1660669.n2.nabble.com/file/n7589665/shibboleth2.xml&gt; &nbsp;<br>shibd.log &lt;http://shibboleth.1660669.n2.nabble.com/file/n7589665/shibd.log&gt; &nbsp;<br><br>How can i resolve this?<br><br>--Aravindhan A<br><br><br><br><br>--<br>View this message in context: http://shibboleth.1660669.n2.nabble.com/Shibboleth-SP-opensaml-FatalProfileException-tp7589643p7589665.html<br>Sent from the Shibboleth - Users mailing list archive at Nabble.com.<br>--<br>To unsubscribe from this list send an email to users-unsubscribe@shibboleth.net<br>