Closed KurtStam closed 8 years ago
If you'd like to run apiman over SSL then first double check you have the following system parameters set correctly:
KUBERNETES_DOMAIN = vagrant.f8 KUBERNETES_NAMESPACE = default
Now you can run:
mvn -Pssl clean compile
to generate a selfsigned certificate for hostname 'apiman-default.vagrant.f8', in the target/secret directory, and it adds it as a secret called 'apiman-keystore' in the current 'default' namespace.
Now to deploy apiman with SSL support you execute
mvn -Pssl -Pf8-local-deploy
which mounts the secrets in the /secret directory in the pod and Jetty will start up using the SslConnectionFactory, based to the system parameter 'APIMAN_SSL' being set to 'true'. See also the properties set in the maven 'ssl' profile
The Openshift console runs on HTTPS, so if we want to link to the apiman console then the apiman console needs to run under SSL.