Shibboleth Testing

For those of you that need to test our new Shibboleth environment prior to go-live, you will need to make some modifications to your local system.

Note: This will require that you have administrative access to your computer.

  1. Right click on your start menu where the flag icon is. This is all the way to the bottom left on most systems.
  2. If you have Powershell setup and installed you will need to select “Windows Powershell (Admin). Otherwise you will need to select “Command Prompt (Admin).
    Note: The (Admin) flag is important, otherwise you will not be able to make the needed changes.
  3. A window should now come up with a text prompt saying “PS C:\WINDOWS\system32\drivers>”.
  4. Type “cd C:\WINDOWS\system32\drivers\etc” and press enter.
  5. Type “notepad hosts” and press enter.
  6. Add a new line to the end of the file and put “” without the quotes on that new line. Below is a working example of a hosts file.
    NOTE: There is a tab between the IP address and the name.
    Example Hosts File
  7. Save and close Notepad.
  8. In the command prompt type “ipconfig /flushdns” and press enter.

You should now be able to test against our new Shibboleth environment. When you are done testing you will want to make sure that you comment out the line you added by putting a “#” without quotes in front of the IP address:

Note: Remeber that web browsers such as Edge and Chrome cache DNS values. In order to be sure you are accessing the correct version you will need to restart your web browser each time you change this file!