<div dir="ltr"><div>Hello Joe,</div><div><br></div><div>did you use the migration tool mentioned in the docs? "Migrate and convert keycloak-server.json"</div><div><a href="https://keycloak.gitbooks.io/server-adminstration-guide/content/v/2.2/topics/MigrationFromOlderVersions.html">https://keycloak.gitbooks.io/server-adminstration-guide/content/v/2.2/topics/MigrationFromOlderVersions.html</a></div><div><a href="https://keycloak.gitbooks.io/server-installation-and-configuration/content/topics/config-subsystem/start-cli.html">https://keycloak.gitbooks.io/server-installation-and-configuration/content/topics/config-subsystem/start-cli.html</a></div><div><br></div><div>Cheers,</div><div>Thomas</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-23 20:19 GMT+02:00 Joe Thielen <span dir="ltr"><<a href="mailto:joe@joethielen.com" target="_blank">joe@joethielen.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>I'm trying to figure out how to configure HTTPS on 2.2.1.Final. I've done it on 2.1.0.Final and had it functioning. I used to put the following into <em>standalone/configuration/<wbr>keycloak-server.json</em><br><br><div><pre><span><span>"</span>connectionsHttpClient<span>"</span></span>: {
<span><span>"</span>default<span>"</span></span>: {},
<span><span>"</span>client-keystore<span>"</span></span>: <span><span>"</span>${jboss.home.dir}/standalone/<wbr>configuration/keycloak.jks<span>"</span></span>,
<span><span>"</span>client-keystore-password<span>"</span></span>: <span><span>"</span>TPF-KCVM-KCKEYSTOREPASS<span>"</span></span>,
<span><span>"</span>client-key-password<span>"</span></span>: <span><span>"</span>TPF-KCVM-KCKEYSTOREPASS<span>"</span></span>
},</pre></div>Now I understand there is no more JSON file. I'm having issues getting the XML version running in standalone/configuration/<wbr>standalone.xml. <br><br></div>I looked at <a href="https://keycloak.gitbooks.io/server-installation-and-configuration/content/v/2.2/topics/network/outgoing.html" target="_blank">https://keycloak.gitbooks.io/<wbr>server-installation-and-<wbr>configuration/content/v/2.2/<wbr>topics/network/outgoing.html</a> and now I've got this:<br><br><spi name="connectionsHttpClient"><br> <provider name="default" enabled="true"/><br> <properties><br> <property name="client-keystore" value="${jboss.home.dir}/<wbr>standalone/configuration/<wbr>keycloak.jks"/><br> <property name="client-keystore-<wbr>password" value="Test1234"/><br> <property name="client-key-password" value="Test1234"/><br> </properties><br> </spi><br><br></div>And also:<br><br> <spi name="truststore"><br> <provider name="file" enabled="true"><br> <wbr> <properties><br> <wbr> <property name="file" value="${jboss.home.dir}/<wbr>standalone/configuration/<wbr>keycloak.jks"/><br> <wbr> <property name="password" value="Test1234"/><br> <wbr> <property name="hostname-verification-<wbr>policy" value="WILDCARD"/><br> <wbr> <property name="disabled" value="false"/><br> <wbr> </properties><br> </provider><br> </spi><br><br></div>However, when I start Keycloak I get this error:<br><br>18:07:46,305 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.<wbr>persistence.<wbr>ConfigurationPersistenceExcept<wbr>ion: WFLYCTL0085: Failed to parse configuration<br> at org.jboss.as.controller.<wbr>persistence.<wbr>XmlConfigurationPersister.<wbr>load(<wbr>XmlConfigurationPersister.<wbr>java:131)<br> at org.jboss.as.server.<wbr>ServerService.boot(<wbr>ServerService.java:356)<br> at org.jboss.as.controller.<wbr>AbstractControllerService$1.<wbr>run(AbstractControllerService.<wbr>java:299)<br> at java.lang.Thread.run(Thread.<wbr>java:745)<br>Caused by: javax.xml.stream.<wbr>XMLStreamException: Unknown keycloak-server subsystem tag: property<br> at org.keycloak.subsystem.server.<wbr>extension.<wbr>KeycloakSubsystemParser.<wbr>readElement(<wbr>KeycloakSubsystemParser.java:<wbr>82)<br> at org.keycloak.subsystem.server.<wbr>extension.<wbr>KeycloakSubsystemParser.<wbr>readElement(<wbr>KeycloakSubsystemParser.java:<wbr>56)<br> at org.jboss.staxmapper.<wbr>XMLMapperImpl.processNested(<wbr>XMLMapperImpl.java:110)<br> at org.jboss.staxmapper.<wbr>XMLExtendedStreamReaderImpl.<wbr>handleAny(<wbr>XMLExtendedStreamReaderImpl.<wbr>java:69)<br> at org.jboss.as.server.parsing.<wbr>StandaloneXml_4.<wbr>parseServerProfile(<wbr>StandaloneXml_4.java:546)<br> at org.jboss.as.server.parsing.<wbr>StandaloneXml_4.<wbr>readServerElement(<wbr>StandaloneXml_4.java:242)<br> at org.jboss.as.server.parsing.<wbr>StandaloneXml_4.readElement(<wbr>StandaloneXml_4.java:141)<br> at org.jboss.as.server.parsing.<wbr>StandaloneXml.readElement(<wbr>StandaloneXml.java:103)<br> at org.jboss.as.server.parsing.<wbr>StandaloneXml.readElement(<wbr>StandaloneXml.java:49)<br> at org.jboss.staxmapper.<wbr>XMLMapperImpl.processNested(<wbr>XMLMapperImpl.java:110)<br> at org.jboss.staxmapper.<wbr>XMLMapperImpl.parseDocument(<wbr>XMLMapperImpl.java:69)<br> at org.jboss.as.controller.<wbr>persistence.<wbr>XmlConfigurationPersister.<wbr>load(<wbr>XmlConfigurationPersister.<wbr>java:123)<br> ... 3 more<br><br>18:07:46,306 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.<br><br></div>Did I do it wrong?<br></div>
<br>______________________________<wbr>_________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>