How to replace an ssl certificate from commandline

  • I would like to replace the ssl certificate for the omv server from the command line.
    The manual procedure ist to import an SSL certificate in System->Certificates->SSL, to select the new certificate in System->General Settings and to save the configuration.
    What ist the best way to do this from the command line or in a shell/perl/php/python script?
    I thought of editing the /etc/openmediavault/config.xml file, but I'm not sure if it would get overwritten by omv.


    I'm running omv 4.1.8 on a RasPi 2.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!