Shibboleth does not accept absolute value in Sessions.handlerURL

nr673 . nara.rama.us at gmail.com
Mon Feb 16 14:38:54 EST 2015


Scott:

Thank you so much! Appreciate your response. As you suggested, I have
appended the :443 to the server name in the sites-<name>.conf which
resolved the issue. The metadata location is now generated without any port
number https://server.name1/Shibboleth.sso/SAML2/POST .

Thanks

Nara

On Mon, Feb 16, 2015 at 11:07 AM, Cantor, Scott <cantor.2 at osu.edu> wrote:

> On 2/16/15, 6:41 PM, "nr673 ." <nara.rama.us at gmail.com> wrote:
> >
> >In my environment, the Apache server is configured to accept the SSL
> >connection only with the empty port or default port 443.
>
> That isn't the sum total of your configuration, you're SSL offloading
> and/or virtualizing in some way, and that creates requirements for your
> Apache options like ServerName.
>
> >So, I configured the post back URL in OKTA(IdP) as
> >https://server.name1/Shibboleth.sso/SAML2/POST
> ><https://server.name1/Shibboleth.sso/SAML2/POST>. But, the shibboleth
> >generates the POST url with the default port number as
> >https://server.name1:80/Shibboleth.sso/SAML2/POST. This url mismatch
> >results in the BindingException.
>
> Which is because your web server is broken, per above. You're accessing it
> in a manner that makes it believe its port is 80 so that's what it
> generates. Your ServerName probably needs :443 in it.
>
> >So, I want to modify the URL generated by Shibboleth. Since the
> >handlerURL accepts only the relative value, I cannot make the Shibboleth
> >to generate either
> >https://server.name1/Shibboleth.sso/SAML2/POST or
> >https://server.name1:443/Shibboleth.sso/SAML2/POST.
>
> It doesn't just accept a relative value, and in any case that is *not* the
> fix. Your web server configuration is wrong and needs to be properly
> virtualized so that the logical port and scheme are overriding the
> physical ones the server sees.
>
> -- Scott
>
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20150216/dbdd962c/attachment.html 


More information about the users mailing list