Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
SensiNact/gateway-felix-configuration
Contents
Configuration of Felix
Enable the HTTPS
By default, the sensiNact REST API is available using the HTTP protocol. Enabling the HTTPS requires a keystore and to configure Felix to use it.
Generating a keystore
If you don't have a keystore, you need to generate one. Here is the procedure to generate this keystore.
You then needs to copy this keystore in the $SNA_ROOT/load/rest/
Configuring the felix
To enable the HTTPS protocol, you need to comment the following line in the $SNA_ROOT/conf/config.properties
file (add a #
before the line you want to comment):
#org.osgi.service.http.port=8080
You also need to uncomment the following lines:
org.apache.felix.http.enable=false org.apache.felix.https.enable=true org.osgi.service.http.port.secure=443 org.apache.felix.https.keystore=/you_datastore/keystore.jks org.apache.felix.https.keystore.password=key_store_password org.apache.felix.https.keystore.key.password=key_password