<div dir="ltr">Hi ! <div>I was trying (and so was Lukas) to deploy UPS 1.1 (master branch) to an openshift gear (Wildfly 8.2 cartridge). After tweaking a bit the datasources to get it deployed, when trying to access /ag-push , I'm get an 500 internal server error.</div><div><br></div><div>The wildfly logs show me the following : </div><div><br></div><div><pre class="" style="font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;margin-top:0px;margin-bottom:0px;width:1407px;color:rgb(51,51,51);line-height:16.7999992370605px"><div class="" id="file-gistfile1-txt-LC1">2015-03-31 09:40:47,240 ERROR [io.undertow.request] (default task-8) UT005023: Exception handling request to /ag-push/index.html: java.lang.RuntimeException: Unable to resolve realm public key remotely
</div><div class="" id="file-gistfile1-txt-LC2"> at org.keycloak.adapters.AdapterDeploymentContext.resolveRealmKey(AdapterDeploymentContext.java:134) [keycloak-adapter-core-1.1.0.Final.jar:1.1.0.Final]
</div><div class="" id="file-gistfile1-txt-LC3"> at org.keycloak.adapters.AdapterDeploymentContext.resolveDeployment(AdapterDeploymentContext.java:83) [keycloak-adapter-core-1.1.0.Final.jar:1.1.0.Final]
</div><div class="" id="file-gistfile1-txt-LC4"> at org.keycloak.adapters.PreAuthActionsHandler.preflightCors(PreAuthActionsHandler.java:71) [keycloak-adapter-core-1.1.0.Final.jar:1.1.0.Final]
</div><div class="" id="file-gistfile1-txt-LC5"> at org.keycloak.adapters.PreAuthActionsHandler.handleRequest(PreAuthActionsHandler.java:47) [keycloak-adapter-core-1.1.0.Final.jar:1.1.0.Final]
</div><div class="" id="file-gistfile1-txt-LC6"> at org.keycloak.adapters.undertow.ServletPreAuthActionsHandler.handleRequest(ServletPreAuthActionsHandler.java:68) [keycloak-undertow-adapter-1.1.0.Final.jar:1.1.0.Final]
</div><div class="" id="file-gistfile1-txt-LC7"> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.Final]
</div><div class="" id="file-gistfile1-txt-LC8"> at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
</div><div class="" id="file-gistfile1-txt-LC9"> at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:247) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
</div><div class="" id="file-gistfile1-txt-LC10"> at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:76) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
</div><div class="" id="file-gistfile1-txt-LC11"> at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:166) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
</div><div class="" id="file-gistfile1-txt-LC12"> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:197) [undertow-core-1.1.0.Final.jar:1.1.0.Final]
</div><div class="" id="file-gistfile1-txt-LC13"> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:759) [undertow-core-1.1.0.Final.jar:1.1.0.Final]
</div><div class="" id="file-gistfile1-txt-LC14"> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_31]
</div><div class="" id="file-gistfile1-txt-LC15"> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_31]
</div><div class="" id="file-gistfile1-txt-LC16"> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_31]
</div><div class="" id="file-gistfile1-txt-LC17">Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
</div><div class="" id="file-gistfile1-txt-LC18"> at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:431) [jsse.jar:1.8.0_31]
</div><div class="" id="file-gistfile1-txt-LC19"> at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128) [httpclient-4.2.1.jar:4.2.1]
</div><div class="" id="file-gistfile1-txt-LC20"> at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:572) [httpclient-4.2.1.jar:4.2.1]
</div><div class="" id="file-gistfile1-txt-LC21"> at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) [httpclient-4.2.1.jar:4.2.1]</div><div class="" id="file-gistfile1-txt-LC21"><br></div><div class="" id="file-gistfile1-txt-LC21"><br></div><div class="" id="file-gistfile1-txt-LC21">So "<span style="line-height:16.7999992370605px">peer not authenticated" seems pretty obvious for the reason it fails. </span></div><div class="" id="file-gistfile1-txt-LC21"><span style="line-height:16.7999992370605px">The question is what do we need to do for this ? Anyone an idea ? </span></div><div class="" id="file-gistfile1-txt-LC21"><span style="line-height:16.7999992370605px"><br></span></div><div class="" id="file-gistfile1-txt-LC21"><span style="line-height:16.7999992370605px">Thx,</span></div><div class="" id="file-gistfile1-txt-LC21"><span style="line-height:16.7999992370605px">Sebi</span></div><div class="" id="file-gistfile1-txt-LC21"><span style="line-height:16.7999992370605px"><br></span></div></pre></div></div>