We don't have to use the wildfly config file but the apiman.properties
file located under also standalone/configuration folder of wildfly
# ---------------------------------------------------------------------
# SSL/TLS settings for the gateway connector(s).
# ---------------------------------------------------------------------
# Enable devMode for HTTPS connections (gateway trusts any certificate).
# This should *NOT* be used in production mode. *Use with great care.*
apiman-gateway.connector-factory.tls.devMode=true
The connector-factory property will be next retrieved by the gateway as
such :
Hello Charles,
The example you used is specific for the VertX implementation of
Apiman's gateway.
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)
Jakub
On Thu, Nov 12, 2015 at 11:21 AM, Charles Moulliard
<cmoulliard(a)redhat.com <mailto:cmoulliard@redhat.com>> wrote:
Hi,
According to the ApimanMan code
(
https://github.com/cmoulliard/apiman/blob/master/gateway/platforms/vertx3...),
HTTPS is supported and the trustore, keystore password ... can be
defined using this file
(
https://github.com/cmoulliard/apiman/blob/master/gateway/platforms/vertx3...).
How can we configure this file when apiman is deployed as a WAR in
wildfly or in any other Java Container ?
Regards,
Charles
_______________________________________________
Apiman-user mailing list
Apiman-user(a)lists.jboss.org <mailto:Apiman-user@lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/apiman-user