Is it possible to change certificates for the file stations and synology ui by shell?

Yes, it is.

You can find and replace the certs here:


After editing the certificates you can use the syno-cli to manipulate the services:

Work with the root user (careful):

# synoservice 
you'll get the help and see --status

# synoservice --status
Now you have all syno services listed.

For restarting the webserver (nginx) you can restart the nginx service which you find in the status list:

Service [nginx] status=[enable]
required upstart job: 
	[nginx] is start. 

Use the synoservicectl tool to restart the service:

# synoservicectl --restart nginx
Helps for system administration with systemd:

Control and manipulate services

systemctl enable [servicename]
systemctl stop/start [servicename]
systemctl disable [servicename]

Remove services from systemd

systemctl stop [servicename]
systemctl disable [servicename]
rm /etc/systemd/system/[servicename]
systemctl daemon-reload
systemctl reset-failed

Check a certificate

openssl x509 -in server.crt -text -noout

Check a key

openssl rsa -in server.key -check

Check a CSR

openssl req -text -noout -verify -in server.csr

Verify a certificate and key matches

openssl x509 -noout -modulus -in server.crt| openssl md5
openssl rsa -noout -modulus -in server.key| openssl md5
How to configure Linux to use Trackpoint Scrolling on Lenovo Thinkpads:

Just create a file '20-thinkpad.conf'
in /usr/share/X11/xorg.conf.d/

with content:

Section "InputClass"
     Identifier "Trackpoint Wheel Emulation"
     MatchProduct       "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|ThinkPad Compact USB Keyboard with TrackPoint|USB Trackpoint pointing device"
     MatchDevicePath    "/dev/input/event*"
     Option             "EmulateWheel"          "true"
     Option             "EmulateWheelButton"    "2"
     Option             "Emulate3Buttons"       "false"
     Option             "XAxisMapping"          "6 7"
     Option             "YAxisMapping"          "4 5"

restart mdm (for LinuxMint Cinnamon) or reboot.