Getting issue in discovery service

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Getting issue in discovery service

Mrinal Srivastava
Hi All,

I am new to Shibboleth and configuring discovery service 1st time. I followed few links like:
https://wiki.shibboleth.net/confluence/display/EDS10/1.+Overview
https://spaces.internet2.edu/display/ShibInstallFest/Intro+to+Embedded+Discovery+Service

I have configured EDS by following these links. But it seems like I had done something wrong.
Basically I have below doubts:
1. Where to copy the unzipped shibboleth-embedded-ds-1.1.0 data. As of now, I have created a DS named folder in webapps under tomcat.
2. What should be the discovery profile URL? As of now I have given https://ds.<myhost>/DS
3. Where to put shibboleth-ds.conf data? As of now, I have copied the conf and added the same into apache22.config of Apache2.


I am using ShibasSP 2.5.

I am able to access https://sp.<myhost>/Shibboleth.sso/DiscoFeed and it is listing all the entityIDs as JSON.

But when I tried to perform SSO, it is going on some infinite URl formation and throwing :Request URI too large.

I am not able to understand it clearly. I know I am making some big mistake. Really need help on this.
Reply | Threaded
Open this post in threaded view
|

Re: Getting issue in discovery service

Mrinal Srivastava
I am able to make some progress. But issue is same of getting "URI - too large"

I have done the below things (working on Windows):
1.
 - Downloaded the EDS zip and unzipped that.
 - Copied css,js and html in Apache/htdocs
 - Put below statement in https.conf
 - Include C:\opt\shibboleth-embedded-ds\shibboleth-ds.conf
2. Updated shibboleth-ds.conf with proper paths in aliases.
3. Updates my DS URL for V>2.4 as https://<myhost>/DS/index.html at shibboleth2.xml

Now, when I am trying to perform SSO. My URL is getting generating in recurrcive manner and throwing "URI too large"

-----------------------------------------------------------------------------
https://sp.example.com/DS/index.html?entityID=https%3A%2F%2Ftest.example.com%2Fshibboleth&return=https%3A%2F%2Ftest.example.com%2Ftest1%2FShibboleth.sso%2FLogin%3FSAMLDS%3D1%26target%3Dhttps%253A%252F%252Ftest.example.com%252FDS%252Findex.html%253FentityID%253Dhttps%25253A%25252F%25252Ftest.example.com%25252Fshibboleth%2526return%253Dhttps%25253A%25252F%25252Ftest.example.com%25252Ftest1%25252FShibboleth.sso%25252FLogin%25253FSAMLDS%25253D1%252526target%25253Dhttps%2525253A%2525252F%2525252Ftest.example.com%2525252FDS%2525252Findex.html%2525253FentityID%2525253Dhttps%252525253A%252525252F%252525252Ftest.example.com%252525252Fshibboleth%25252526return%2525253Dhttps%252525253A%252525252F%252525252Ftest.example.com%252525252Ftest1%252525252FShibboleth.sso%252525252FLogin%252525253FSAMLDS%252525253D1%2525252526target%252525253Dhttps%25252525253A%25252525252F%25252525252Ftest.example.com%25252525252FDS%25252525252Findex.html%25252525253FentityID%25252525253Dhttps%2525252525253A%2525252525252F%2525252525252Ftest.example.com%2525252525252Fshibboleth%252525252526return%25252525253Dhttps%2525252525253A%2525252525252F%2525252525252Ftest.example.com%2525252525252Ftest1%2525252525252FShibboleth.sso%2525252525252FLogin%2525252525253FSAMLDS%2525252525253D1%25252525252526target%2525252525253Dhttps%252525252525253A%252525252525252F%252525252525252Ftest.example.com%252525252525252FDS%252525252525252Findex.html%252525252525253FentityID%252525252525253Dhttps%25252525252525253A%25252525252525252F%25252525252525252Ftest.example.com%25252525252525252Fshibboleth%2525252525252526return%252525252525253Dhttps%25252525252525253A%25252525252525252F%25252525252525252Ftest.example.com%25252525252525252Ftest1%25252525252525252FShibboleth.sso%25252525252525252FLogin%25252525252525253FSAMLDS%25252525252525253D1%252525252525252526target%25252525252525253Dhttps%2525252525252525253A%2525252525252525252F%2525252525252525252Ftest.example.com%2525252525252525252FDS%2525252525252525252Findex.html%2525252525252525253FentityID%2525252525252525253Dhttps%252525252525252525253A%252525252525252525252F%252525252525252525252Ftest.example.com%252525252525252525252Fshibboleth%25252525252525252526return%2525252525252525253Dhttps%252525252525252525253A%252525252525252525252F%252525252525252525252Ftest.example.com%252525252525252525252Ftest1%252525252525252525252FShibboleth.sso%252525252525252525252FLogin%252525252525252525253FSAMLDS%252525252525252525253D1%2525252525252525252526target%252525252525252525253Dhttps%25252525252525252525253A%25252525252525252525252F%25252525252525252525252Ftest.example.com%25252525252525252525252FDS%25252525252525252525252Findex.html%25252525252525252525253FentityID%25252525252525252525253Dhttps%2525252525252525252525253A%2525252525252525252525252F%2525252525252525252525252Ftest.example.com%2525252525252525252525252Fshibboleth%252525252525252525252526return%25252525252525252525253Dhttps%2525252525252525252525253A%2525252525252525252525252F%2525252525252525252525252Ftest.example.com%2525252525252525252525252Ftest1%2525252525252525252525252FShibboleth.sso%2525252525252525252525252FLogin%2525252525252525252525253FSAMLDS%2525252525252525252525253D1%25252525252525252525252526target%2525252525252525252525253Dhttps%252525252525252525252525253A%252525252525252525252525252F%252525252525252525252525252Ftest.example.com%252525252525252525252525252FDS%252525252525252525252525252Findex.html%252525252525252525252525253FentityID%252525252525252525252525253Dhttps%25252525252525252525252525253A%25252525252525252525252525252F%25252525252525252525252525252Ftest.example.com%25252525252525252525252525252Fshibboleth%2525252525252525252525252526return%252525252525252525252525253Dhttps%25252525252525252525252525253A%25252525252525252525252525252F%25252525252525252525252525252Ftest.example.com%25252525252525252525252525252Ftest1%25252525252525252525252525252FShibboleth.sso%25252525252525252525252525252FLogin%25252525252525252525252525253FSAMLDS%25252525252525252525252525253D1%252525252525252525252525252526target%25252525252525252525252525253Dhttps%2525252525252525252525252525253A%2525252525252525252525252525252F%2525252525252525252525252525252Ftest.example.com%2525252525252525252525252525252FDS%2525252525252525252525252525252Findex.html%2525252525252525252525252525253FentityID%2525252525252525252525252525253Dhttps%252525252525252525252525252525253A%252525252525252525252525252525252F%252525252525252525252525252525252Ftest.example.com%252525252525252525252525252525252Fshibboleth%25252525252525252525252525252526return%2525252525252525252525252525253Dhttps%252525252525252525252525252525253A%252525252525252525252525252525252F%252525252525252525252525252525252Ftest.example.com%252525252525252525252525252525252Ftest1%252525252525252525252525252525252FShibboleth.sso%252525252525252525252525252525252FLogin%252525252525252525252525252525253FSAMLDS%252525252525252525252525252525253D1%2525252525252525252525252525252526target%252525252525252525252525252525253Dhttps%25252525252525252525252525252525253A%25252525252525252525252525252525252F%25252525252525252525252525252525252Ftest.example.com%25252525252525252525252525252525252FDS%25252525252525252525252525252525252Findex.html%25252525252525252525252525252525253FentityID%25252525252525252525252525252525253Dhttps%2525252525252525252525252525252525253A%2525252525252525252525252525252525252F%2525252525252525252525252525252525252Ftest.example.com%2525252525252525252525252525252525252Fshibboleth%252525252525252525252525252525252526return%25252525252525252525252525252525253Dhttps%2525252525252525252525252525252525253A%2525252525252525252525252525252525252F%2525252525252525252525252525252525252Ftest.example.com%2525252525252525252525252525252525252Ftest1%2525252525252525252525252525252525252FShibboleth.sso%2525252525252525252525252525252525252FLogin%2525252525252525252525252525252525253FSAMLDS%2525252525252525252525252525252525253D1%25252525252525252525252525252525252526target%2525252525252525252525252525252525253Dhttps%252525252525252525252525252525252525253A%252525252525252525252525252525252525252F%252525252525252525252525252525252525252Ftest.example.com%252525252525252525252525252525252525252FDS%252525252525252525252525252525252525252Findex.html%252525252525252525252525252525252525253FentityID%252525252525252525252525252525252525253Dhttps%25252525252525252525252525252525252525253A%25252525252525252525252525252525252525252F%25252525252525252525252525252525252525252Ftest.example.com%25252525252525252525252525252525252525252Fshibboleth%2525252525252525252525252525252525252526return%252525252525252525252525252525252525253Dhttps%25252525252525252525252525252525252525253A%25252525252525252525252525252525252525252F%25252525252525252525252525252525252525252Ftest.example.com%25252525252525252525252525252525252525252Ftest1%25252525252525252525252525252525252525252FShibboleth.sso%25252525252525252525252525252525252525252FLogin%25252525252525252525252525252525252525253FSAMLDS%25252525252525252525252525252525252525253D1%252525252525252525252525252525252525252526target%25252525252525252525252525252525252525253Dhttps%2525252525252525252525252525252525252525253A%2525252525252525252525252525252525252525252F%2525252525252525252525252525252525252525252Ftest.example.com%2525252525252525252525252525252525252525252FDS%2525252525252525252525252525252525252525252Findex.html%2525252525252525252525252525252525252525253FentityID%2525252525252525252525252525252525252525253Dhttps%252525252525252525252525252525252525252525253A%252525252525252525252525252525252525252525252F%252525252525252525252525252525252525252525252Ftest.example.com%252525252525252525252525252525252525252525252Fshibboleth%25252525252525252525252525252525252525252526return%2525252525252525252525252525252525252525253Dhttps%252525252525252525252525252525252525252525253A%252525252525252525252525252525252525252525252F%252525252525252525252525252525252525252525252Ftest.example.com%252525252525252525252525252525252525252525252Ftest1%252525252525252525252525252525252525252525252FShibboleth.sso%252525252525252525252525252525252525252525252FLogin%252525252525252525252525252525252525252525253FSAMLDS%252525252525252525252525252525252525252525253D1%2525252525252525252525252525252525252525252526target%252525252525252525252525252525252525252525253Dhttps%25252525252525252525252525252525252525252525253A%25252525252525252525252525252525252525252525252F%25252525252525252525252525252525252525252525252Ftest.example.com%25252525252525252525252525252525252525252525252F

================================================================================
Reply | Threaded
Open this post in threaded view
|

Re: Getting issue in discovery service

Mrinal Srivastava
Issue got resolved. The catch was that you need to deploy EDS at your local web server i.e. @ Apache or if you are deploying it at Tomcat then make the proper configurations.

Thanks.