Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

OpenClemson/vagrant-testshib-sp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vagrant-testshib-sp

Installs a Shibboleth service provider and registers it with Testshib.org's IdP. Also installs Apache and configures it to require users to authenticate with Shibboleth.

Usage

  1. The landrush Vagrant plugin is required to provide a DNS name for the VM. Install it with vagrant plugin install landrush.

  2. You should set the hostname in Vagrantfile to something unique. This will be used to construct the SP's SAML entityID. If you want to use something other than *.vagrant.test, you will also need to configure landrush's TLD.

  3. To bring up the VM, run vagrant up. This will install the SP and configure it with a shibboleth2.xml file downloaded from Testshib.

  4. Prepare the SP's metadata. The default metadata generated by the SP can be obtained by running curl -k "https://$(hostname)/Shibboleth.sso/Metadata" from the VM. There is a shortcut script for this at /vagrant/scripts/default-metadata.sh.

  5. Once the metadata is ready, upload it either through Testshib's website or by running /vagrant/scripts/upload-metadata.sh /path/to/metadata.xml. Testshib indexes metadata by filename, so to make changes to your metadata later you will need to upload it with the same filename (See http://www.testshib.org/register.html for more information). The upload-metadata.sh script caches the name of the metadata file you upload and warns you if you attempt to use a different file name later.

  6. After uploading metadata, restart shibd and Apache. systemctl restart shibd && systemctl restart httpd.

  7. Open https://hostname in a browser, where hostname is what you set in step 2. You should be redirected to Testshib to authenticate.

About

Provision VM with Shibboleth SP and register it with TestShib.org

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages