<div dir="ltr"><div>I maintain a shibboleth Service Provider installation on Windows version 2.5.3.  </div><div>We recently had a request to enable signed authentication requests for SP initiated logon, which I am struggling to get working.</div>
<div>Seeing errors in the native.log:</div><div><br></div><div>2014-02-27 15:01:57 DEBUG Shibboleth.Listener [5036] isapi_shib_extension: sending message (default/Login::run::ADFSSI)</div><div>2014-02-27 15:01:57 DEBUG Shibboleth.Listener [5036] isapi_shib_extension: trying to connect to listener</div>
<div>2014-02-27 15:01:57 DEBUG Shibboleth.Listener [5036] isapi_shib_extension: socket (452) connected successfully</div><div>2014-02-27 15:01:57 DEBUG Shibboleth.Listener [5036] isapi_shib_extension: send completed, reading response message</div>
<div>2014-02-27 15:01:57 DEBUG Shibboleth.Listener [5036] isapi_shib_extension: sending message (default/Login::run::SAML2SI)</div><div>2014-02-27 15:01:57 DEBUG Shibboleth.Listener [5036] isapi_shib_extension: send completed, reading response message</div>
<div>2014-02-27 15:01:57 ERROR Shibboleth.Listener [5036] isapi_shib_extension: remoted message returned an error: Signature size exceeded output buffer size.</div><div>2014-02-27 15:01:57 ERROR Shibboleth.ISAPI [5036] isapi_shib_extension: Signature size exceeded output buffer size.</div>
<div><br></div><div>On the web page error is:</div><div><br></div><div>Error Details:</div><div>xmltooling::XMLToolingException</div><div>The system encountered an error at Thu Feb 27 15:54:57 2014</div><div>xmltooling::XMLToolingException at (<a href="https://myServiceprovider.mydomain.com/Shibboleth.sso/Login">https://myServiceprovider.mydomain.com/Shibboleth.sso/Login</a>)</div>
<div><br></div><div><br></div><div>Signature size exceeded output buffer size.</div><div><br></div><div>We are using a larger than normal CA certificate (8192 bits) by requirement of the IDP.  Using a self-signed 2048 bit cert to sign the authn request works fine.  Turning off authentication request signing also works fine.</div>
<div>I expect there is a setting where I need to increase a buffer size value but I have done a lot of Googling, checked through all the documentation that seems relevant and can not find this anywhere.</div><div><br></div>
<div>Does anyone have any advice?  Is it just not supported to have a 8192 bit cert to sign SAML 2 authentication requests?  I can see 2048 bits for SP certificates is recommended in a lot of places, but not hard limits.</div>
<div><br></div><div>Many thanks,</div><div><br></div><div>Daniel</div></div>