Congrats for all the new features. Rancher community is growing fast and Rancher is becoming THE alternative to paid and privative solutions as Docker Cloud, and also more user-friendly.
I am trying to setup Shibboleth auth in order to integrate a SSO solutions through all the services deployed using Rancher, including Rancher itself.
I am using Wso2IS and in order to setup SAML as an identity provider I need to know many details about the service provider (Rancher) that I cannot find at Rancher control access page.
Has anybody configured Shibboleth as authorization for Rancher and is able to help me moving forward with this issue??
What do you need to know? But we call it “Shibboleth” and not “SAML” specifically because we only test that implementation and expect there would likely be changes needed to work with others (having learned this from calling AD support “LDAP”…).
I am using WSO2is (I hava a dockerized version at my custom catalog: https://github.com/EduCaaS/catalog) as LDAP and Shibboleth in another container with https://github.com/jtgasper3/docker-shibboleth-idp.
I have built Idp XML metadata using https://www.samltool.com/idp_metadata.php and I get:
<md:IDPSSODescriptor WantAuthnRequestsSigned="false" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
But when testing the connection I am get:
Web Login Service - Unsupported Request
The application you have accessed is not registered for use with this service
I am afraid I am not able to register Rancher as a Service provider… or something…
The above error is due to your Shibboleth IDP is not recognizing Rancher’s Shibboleth SP.
You need to save the Rancher SP’s metadata file (this should be available at http://rancher_ip:rancher_port/v1-auth/saml/metadata) on your IDP and add an entry into /opt/shibboleth-idp/conf/metadata-providers.xml
You also need to release the SAML attributes to Rancher’s SP, by changing
Here you need to add into the < PolicyRequirementRule> another rule:
<Rule xsi:type="Requester" value="http://rancher_ip:rancher_port/v1-auth/saml/metadata" /> in here with your Rancher setup’s ip address
restart tomcat on your IDP
Still getting the same error. What is the URL I have to add into attribute-filter.xml ??
You should put the entityID of Rancher SP, which should be:
Looks like some stuff I wrote in the previous comment was not shown due to not using correct markdown. Check again please
Yep, that was already the URL. Still unable to setup…