<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span style="font-size: 13px;">Thank you Chris - this was extremely helpful. You&nbsp;stopped me from going down a dead end. I checked the Native error logs and found it was giving this error:</span>
<div><span style="font-size: 13px;"><br>
</span></div>
<div><span style="font-size: 13px;">&nbsp;&nbsp;<b>ERROR Shibboleth.ISAPI [3820]&nbsp;isapi_shib: Unable to locate metadata for identity provider</b><br>
<br>
Which to me means a bad path tot he IdP metadata file, most likely. I then revisited the shibboleth.xml settings file and corrected the relative paths to /Metadata, /Session, etc. since they now have the reverse proxy-necessitated directory /content/in the
 path. &nbsp;I added handlerURL=<b>/content/</b>Shibboleth.sso&quot; to the Sessions element.</span></div>
<div><span style="font-size: 13px;"><br>
</span></div>
<div><span style="font-size: 13px;">&nbsp; &lt;Sessions lifetime=&quot;28800&quot; timeout=&quot;3600&quot; relayState=&quot;ss:mem&quot;
<b>handlerURL=&quot;/content/Shibboleth.sso&quot;</b><br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; checkAddress=&quot;false&quot; handlerSSL=&quot;true&quot; cookieProps=&quot;https&quot;&gt;<br>
<br>
Now if I browse to&nbsp;</span></div>
<div><span style="font-size: 13px;"><a href="https://proxyserver.com/content/Shibboleth.sso/Metadata">https://proxyserver.com/content/Shibboleth.sso/Metadata</a></span></div>
<div><span style="font-size: 13px;">I get this message from the IdP:</span></div>
<div><span style="font-size: 13px;"><br>
</span>
<div><span style="font-size: 13px;"><b>Error:Unable to complete request at this time. (Request was from an untrusted provider-31DE48E3C3946D8E)&nbsp;</b></span></div>
<div><span style="font-size: 13px;"><br>
</span></div>
<span style="font-size: 13px;">Which is a whole lot farther along than before.&nbsp;</span></div>
<div><span style="font-size: 13px;"><br>
</span></div>
<div><span style="font-size: 13px;">Now here is where I am confused still. The metadata.xml file in /etc/ was given me by my IdP, and was at least apparently working before I changed hostnames. The only locations it contains all refer to the IdP. So that is
 the Identity Provider metadata, correct?</span></div>
<div><span style="font-size: 13px;"><br>
</span></div>
<div><span style="font-size: 13px;">I tried the endpoint ...</span><span style="font-size: 13px; ">/Shibboleth.sso/Metadata on another content server I have that is functional. That endpoint gives me what looks like it must be SP metadata. &nbsp;Is that xml file
 entirely generated by Shibboleth according to some template? Or have I just not found the file yet? What controls what goes into that file?&nbsp;</span></div>
<div><span style="font-size: 13px;"><br>
</span></div>
<div><span style="font-size: 13px;"><br>
&nbsp;</span><br>
<span style="font-size: 13px;">Thank you very much for your help!</span></div>
<div><span style="font-size: 13px;"><br>
</span></div>
<div><span style="font-size: 13px;">Ellen<br>
______________________________</span><br>
<span style="font-size: 13px;">Ellen Meiselman</span><br>
<span style="font-size: 13px;">University of Michigan Health System</span><br>
<span style="font-size: 13px;">MLearning</span><br>
<span style="font-size: 13px;">NCRC</span><br>
<span style="font-size: 13px;">2800 Plymouth Rd.&nbsp;</span><br>
<span style="font-size: 13px;">Building 200, Rm 207</span><br>
<span style="font-size: 13px;">Ann Arbor, MI 48109-2800</span><br>
<span style="font-size: 13px;">E-Mail: &nbsp;<a href="mailto:emeiselm@umich.edu">emeiselm@umich.edu</a></span><br>
<span style="font-size: 13px;">Phone (734) 936-2334</span><br>
<br>
<span style="font-size: 13px;">On Aug 19, 2014, at 12:04 PM, Christopher Bongaarts &lt;<a href="mailto:cab@umn.edu">cab@umn.edu</a>&gt; wrote:</span><br>
<br>
<blockquote type="cite"><span style="font-size: 13px;">On 8/19/2014 10:38 AM, Meiselman, Ellen&nbsp;wrote:<br>
</span>
<blockquote cite="mid:399DB7BE-3C6A-4B44-9479-02193BC9CD2B@med.umich.edu" type="cite">
<span style="font-size: 13px;">I &nbsp;installed shibboleth on an IIS&nbsp;server &nbsp;- call it&nbsp;<a href="http://contentserver.com">contentserver.com</a>.&nbsp;Everything was working.<br>
<br>
Then we put that server behind an&nbsp;F5 reverse proxy &nbsp;- let's call its hostname &quot;proxyserver.com&quot;&nbsp;<br>
<br>
So now, pointing the browser to&nbsp;https://proxyserver.com&nbsp;will display content that is actually on&nbsp;https://contentserver.com<br>
<br>
How do I set up the SSL certs so&nbsp;shibboleth will work for requests that come in to&nbsp;https://proxyserver.com?&nbsp;I have only very basic knowledge of how to&nbsp;install and bind&nbsp;certs.<br>
<br>
Right now I can't get Shibboleth&nbsp;working again. The plugin is up and running but I can't get the&nbsp;appropriate metadata from the IDP because I can't give&nbsp;them the&nbsp;correct certificate - at least I don't *think* I can. I don't&nbsp;know how to install a certificate
 that is for another hostname.<br>
<br>
</span></blockquote>
<span style="font-size: 13px;"><br>
Keep in mind that there are usually two sets of certificates in play&nbsp;here - an SSL certificate that is used to secure your HTTPS traffic,&nbsp;and a SAML encryption certificate that is used by&nbsp;Shibboleth.<br>
<br>
Your SSL certificate is configured in the web server (IIS GUI in&nbsp;your case). &nbsp;This is the one that you typically buy from a public&nbsp;certificate authority.<br>
<br>
The Shib certificate (and corresponding private key) &nbsp;is normally&nbsp;generated at installation time and lives in the Shib configuration&nbsp;directory alongside shibboleth2.xml. &nbsp;Default name &quot;shib-sp.pem&quot;&nbsp;I&nbsp;think. &nbsp;The certificate details are not used at all by the
 Shib&nbsp;software - the server name, expiration, CA signatures etc. are all&nbsp;irrelevant. &nbsp;It is just used as a convenient way to carry a public&nbsp;key. &nbsp;The Shib certificate is the one that is included in your SP's&nbsp;metadata file (that you give to your IdP).<br>
<br>
Also in the SP metadata file are several SAML endpoints (the XML&nbsp;elements that contain a Location attribute). &nbsp;They tell the IdP how&nbsp;to direct SAML messages to your SP. &nbsp;If you've changed the&nbsp;publicly-facing name of the server, you'll also need to update these&nbsp;endpoints
 so they contain the correct URLs (as viewed by the&nbsp;browser). &nbsp;Since you're on IIS, you'll also need to verify that&nbsp;your&nbsp;Site directives in your shibboleth2.xml file are correct.<br>
<br>
If you use the metadata generator endpoint&nbsp;(/Shibboleth.sso/Metadata), it will include the currently configured&nbsp;certificate and whatever virtual hostname was used to access it in&nbsp;the endpoints.<br>
<br>
In all likelihood, you've left your Shib certificates alone, so in&nbsp;theory the only thing you should need to do (on the Shib side) is&nbsp;change the Locations of the endpoints in your metadata, and ask the&nbsp;&nbsp; &nbsp;&nbsp;IdP to use the updated metadata.<br>
</span>
<div><span style="font-size: 13px;">--&nbsp;</span></div>
<div><span style="font-size: 13px;">%% &nbsp;Christopher A. Bongaarts &nbsp; %% &nbsp;</span></div>
<span style="font-size: 13px;"><a href="mailto:cab@umn.edu">cab@umn.edu</a></span>
<div><span style="font-size: 13px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; %%</span></div>
<div><span style="font-size: 13px;">%% &nbsp;OIT - Identity Management &nbsp;%% &nbsp;</span></div>
<span style="font-size: 13px;"><a href="http://umn.edu/~cab">http://umn.edu/~cab</a></span>
<div><span style="font-size: 13px;">&nbsp; %%</span></div>
<div><span style="font-size: 13px;">%% &nbsp;University of Minnesota &nbsp; &nbsp;%% &nbsp;&#43;1 (612) 625-1809 &nbsp; &nbsp;%%</span></div>
<span style="font-size: 13px;"><br class="Apple-interchange-newline">
--&nbsp;<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">
users-unsubscribe@shibboleth.net</a><br>
</span></blockquote>
<br>
</div>
<p>**********************************************************<br>
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues </p></body>
</html>