wiki:KarafDistribution

Version 1 (modified by dgf, 8 years ago) (diff)

install and HTTPS config

Server Installation

extract archive

$ tar xzvf dm4server-4.0.13-SNAPSHOT.tar.gz
$ cd dm4server-4.0.13-SNAPSHOT

first boot

$ bin/karaf
...
PluginManager ########## All Plugins Activated ##########

open the webconsole http://localhost:8080/system/console/bundles login to "DeepaMehta" with "admin/" and to "karaf" with "karaf/karaf"

stop karaf with <Ctrl + D> and start it as service

read the karaf manual http://karaf.apache.org/manual/2.2.9/users-guide/index.html

use the deploy folder to install additional plugins

SSH access

Configuration > Apache Karaf Shell

configure HTTPS

create a key and trust store

$ cd etc/ && mkdir ssl && cd ssl
$ keytool -genkey -keystore key.jks -keyalg RSA

Configuration > Apache Felix Jetty Based Http Service

  • disable HTTP
  • enable HTTPS on Port 443 (needs a boot as root)
  • set Keystore, Truststore and all passwords