<div dir="ltr"><div><div><div><div>Average use case: You use Apache + modshib, depending on apache and shib settings your URL to stuff like login etc would be something like '<a href="http://localhost/Shibboleth.sso/">http://localhost/Shibboleth.sso/</a><handler>'.<br><br></div>What I'm doing: Running only shibd daemon on my machine, start shibresponder binary listening on a socket, for example with spawn-fcgi <br>'spawn-fcgi -f /usr/lib/x86_64-linux-gnu/shibboleth/shibresponder -s /tmp/shib.sock'.<br></div><br></div>When I send HTTP requests into /tmp/shib.sock, it works, except for when I try to send a POST<br></div>with valid samlrequest parameter into /Shibboleth.sso/SAML2/POST, I get:<br><br>opensaml&#58;&#58;BindingException at (http&#58;//localhost/Shibboleth.sso/SAML2/POST)<br>SAML message delivered with POST to incorrect server URL<br><br><div><div><div>Shibresponder requires a serverName and serverPort values, which I had randomly set to localhost and 80, so that's why it gives that URL in the bindingexception. <br></div><div>It looks like the error is because it tries to send the assertion to that URL but since I'm not running a server, there's nothing at that address.<br><br></div><div>What I'm confused about is that when I send a GET request to /Shibboleth.sso/Login, it works and returns HTTP response containing a 302 URL.  Why wouldn't the POST work?<br></div><div><br></div><div>What should serverAddress and serverPort values be when I'm not running a local server but only have shibresponder listening on a socket, i.e can i make it send the assertions also into the socket, because sending HTTP requests there works? <br></div></div></div></div>