Skip to content

corese server devel

Erwan Demairy edited this page Jun 19, 2018 · 9 revisions

Deployment on corese.inria.fr

corese.inria.fr service

start and stop

$ ssh corese.inria.fr # Ildap login/passwords 
$ sudo systemctl start corese # Start the server corese.inria.fr
$ sudo systemctl stop corese  # Stop the server corese.inria.fr

Note that as any service, the server is launched as root user which makes the host very vulnerable to any security breach in the jvm or in the corese program.

configuration

  • The configuration file for the service can be found at /usr/lib/systemd/system/corese.service
  • Note the rights:

$ ls -la /usr/lib/systemd/system/corese.service -rw-r----- 1 root root 417 Apr 25 17:15 /usr/lib/systemd/system/corese.service

Build a certificate for https://corese.inria.fr

Build a private key on corese.inria.fr

As root user: SERVICE_NAME=corese.inria.fr openssl req -newkey rsa:4096 -keyout $SERVICE_NAME.key -out $SERVICE_NAME.csr -nodes -sha256 -subj "/CN=$SERVICE_NAME/OU=Wimmics/emailAddress=[email protected]"