<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">Hello there!<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">I’m attempting to get the new DuoOIDC module working in an upgraded instance of Shibboleth 4.1.0.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">The machine the instance is running on does not have a direct route to the wider internet. When DuoOIDC’s turn comes up in the MFA flow there is an attempt to connect to a Duo
service to perform a health check (HealthCheckDuoOIDCAuthAPI) it fails with ‘no route to host’.
<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">To work around this for metadata sources I’ve been able to configure a proxy. I’ve made an assumption that I could do the same to resolve this issue, but perhaps that is a bad
assumption and I’d know better if I understood the OIDC protocol better? If the assumption is valid, how would I go about configuring DuoOIDC to use a proxy?<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">My latest attempt has me defining the “shibboleth.authn.DuoOIDC.NonBrowser.HttpClient” bean in conf/authn/duo-oidc-authn-config.xml to be:<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><bean id="shibboleth.authn.DuoOIDC.NonBrowser.HttpClient"<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"> parent="shibboleth.HttpClientFactory"<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"> p:connectionProxyHost="--proxy-host--"<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"> p:connectionProxyPort="--proxy-port--" /><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">I’ve also tried various conf/services.properties and conf/authn/duo-oidc.properties entries such as:<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">idp.duo.oidc.proxyHost</span><o:p></o:p></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">idp.duo.oidc.connectionProxyHost</span><o:p></o:p></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">idp.httpclient.proxyHost</span><o:p></o:p></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">idp.httpclient.connectionProxyHost</span><o:p></o:p></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">… etc.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">I’ve tried passing JVM startup options (-Dhttps.proxyHost, etc.) as well without any luck.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">Guidance would be greatly appreciated!<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">Sean.<o:p></o:p></span></font></p>
</div>
</body>
</html>