<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    We don't have to use the wildfly config file but the
    apiman.properties file located under also standalone/configuration
    folder of wildfly<br>
    <br>
    #
    ---------------------------------------------------------------------<br>
    # SSL/TLS settings for the gateway connector(s).<br>
    #
    ---------------------------------------------------------------------<br>
    <br>
    # Enable devMode for HTTPS connections (gateway trusts any
    certificate).<br>
    # This should *NOT* be used in production mode. *Use with great
    care.*<br>
    apiman-gateway.connector-factory.tls.devMode=true<br>
    <br>
    The connector-factory property will be next retrieved by the gateway
    as such :
<a class="moz-txt-link-freetext" href="https://github.com/cmoulliard/apiman/blob/master/gateway/platforms/war/src/main/java/io/apiman/gateway/platforms/war/WarEngineConfig.java#L134">https://github.com/cmoulliard/apiman/blob/master/gateway/platforms/war/src/main/java/io/apiman/gateway/platforms/war/WarEngineConfig.java#L134</a><br>
    <br>
    ...<br>
    <br>
    On 12/11/15 11:26, Jakub Čecháček wrote:<br>
    <blockquote
cite="mid:CALvAxYs9wmo1LSDOJzV+tyFcNajn+au3Q181bOF3wZeG-2BmBw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello Charles, 
        <div><br>
        </div>
        <div>The example you used is specific for the VertX
          implementation of Apiman's gateway. </div>
        <div><br>
        </div>
        <div>I am not actually sure about the microservice
          implementation and the use of Jetty for example. However in
          case of WildFly you can configure the truststore in
          ${APIMAN_HOME}/standalone/configuration/standalone-apiman.xml
           (or any other WF config you decide to use for running apiman)</div>
        <div><br>
        </div>
        <div>Jakub</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Nov 12, 2015 at 11:21 AM,
          Charles Moulliard <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:cmoulliard@redhat.com"
              target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:cmoulliard@redhat.com">cmoulliard@redhat.com</a></a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
            <br>
            According to the ApimanMan code<br>
            (<a moz-do-not-send="true"
href="https://github.com/cmoulliard/apiman/blob/master/gateway/platforms/vertx3/vertx3/src/main/java/io/apiman/gateway/platforms/vertx3/verticles/HttpsGatewayVerticle.java#L36-L53"
              rel="noreferrer" target="_blank">https://github.com/cmoulliard/apiman/blob/master/gateway/platforms/vertx3/vertx3/src/main/java/io/apiman/gateway/platforms/vertx3/verticles/HttpsGatewayVerticle.java#L36-L53</a>),<br>
            HTTPS is supported and the trustore, keystore password ...
            can be<br>
            defined using this file<br>
            (<a moz-do-not-send="true"
href="https://github.com/cmoulliard/apiman/blob/master/gateway/platforms/vertx3/vertx3/src/conf/conf.json#L22"
              rel="noreferrer" target="_blank">https://github.com/cmoulliard/apiman/blob/master/gateway/platforms/vertx3/vertx3/src/conf/conf.json#L22</a>).<br>
            <br>
            <br>
            How can we configure this file when apiman is deployed as a
            WAR in<br>
            wildfly or in any other Java Container ?<br>
            <br>
            Regards,<br>
            <br>
            Charles<br>
            _______________________________________________<br>
            Apiman-user mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Apiman-user@lists.jboss.org">Apiman-user@lists.jboss.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.jboss.org/mailman/listinfo/apiman-user"
              rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/apiman-user</a><br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>