<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"><base href="x-msg://1429/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div fpstyle="1" ocsi="0" style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="direction: ltr; font-family: Tahoma; font-size: 10pt; ">1- What is a good detailed approach to fake 2 hostnames in the same machine?</div></div></blockquote><div><br></div><div>Using DNS there is the CNAME record. /etc/hosts provides the option to have multiple names for a single IP-address</div><br><blockquote type="cite"><div fpstyle="1" ocsi="0" style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="direction: ltr; font-family: Tahoma; font-size: 10pt; "><div>2- Is it possible to simply use localhost for both SP and IdP in the same machine and get them communicate?</div><div>I mean using for example <a href="https://localhost/IDP" target="_blank">https://localhost/IDP</a> for IDP entityID and <a href="https://localhost/IDP" target="_blank">https://localhost/</a><u>SP</u><span class="Apple-converted-space"> </span>for SP entityID in configurations.<br></div></div></div></blockquote><div><br></div><div>The shibboleth installer complains about "localhost" and needs a FQHN. Patching the install script is one option, setting up fully qualified alias names like idp.test.local is an alternative.</div><div><br></div><div>In my test environment I set up a VM with a secondary interface with separate IP-addresses (allows for IP-based SSL vHosts), so the VM is independend from any DHCP-addresses of my development system.</div></div><br><div><br></div><div>- Rainer Hörbe</div></body></html>