<div dir="ltr"><div>Indeed. I&#39;ve already switched my application to https. <br><br></div><div>The reason i&#39;m asking this is because before switching i got blank (no content) responses from the application&#39;s endpoints. HTTP status code was 200 but there was no content returned. At the same time the following warning appeared in the logs.<br><br>12:21:55,085 WARN  [org.keycloak.adapters.RequestAuthenticator] (http-/192.168.1.39:8080-4) SSL is required to authenticate<br></div><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 10, 2015 at 10:14 AM, Stian Thorgersen <span dir="ltr">&lt;<a href="mailto:stian@redhat.com" target="_blank">stian@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
----- Original Message -----<br>
&gt; From: &quot;Orestis Tsakiridis&quot; &lt;<a href="mailto:orestis.tsakiridis@telestax.com">orestis.tsakiridis@telestax.com</a>&gt;<br>
&gt; To: <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
&gt; Sent: Wednesday, 10 June, 2015 8:57:01 AM<br>
&gt; Subject: [keycloak-user] Mixing https/http schemes with sslRequired == all<br>
&gt;<br>
&gt; Hello,<br>
&gt;<br>
&gt; Can keycloak operate on HTTPS while the REST application it protects runs on<br>
&gt; HTTP?<br>
&gt;<br>
&gt; I&#39;ve also set &quot;Require SSL&quot; to &quot;all requests&quot;<br>
<br>
</span>Keycloak only deals with request made to the Keycloak Server and doesn&#39;t put any restriction on the request to your rest endpoints. However, as you are passing the token in requests to your rest endpoints it wouldn&#39;t be the best idea to not use ssl. Although the risk can be mitigated slightly by having short lifespan on access tokens.<br>
<br>
&gt;<br>
&gt;<br>
&gt; Regards<br>
&gt;<br>
&gt; Orestis<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; keycloak-user mailing list<br>
&gt; <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
</blockquote></div><br></div></div>