How to replace an ssl certificate from commandline

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • 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.
      Gruß
      Jörg