DocMoto
Server

Configuring the DocMoto server to use an externally verified SSL certificate

By default a DocMoto server uses a self signed SSL certificate.

For improved security newer versions of the DocMoto client will warn users if they connect to a server using a self signed certificate.

configuring-the-docmoto-server-to-use-an-externally-verified-ssl-certificate.jpg

New versions of the DocMoto client will warn users if the server is not using a verified certificate

The warning is once only, so does not persist for those installations where self signed remains the most expedient option.

What do I need to switch from a self signed certificate?

  1. Firstly your DocMoto server will need to be on a server with a legal internet name. If you are already using the DocMoto server with external users the odds are your server will already have this.
  2. A valid verified SSL certificate from an internet certificate provider matching the server's internet name.

Configuring the DocMoto Server

Obtaining a verified SSL certificate is outside of the scope of this article. However once you have your certificate you will need it in the pem format (ie my cert file.pem).

If your pem file is password protected you will also need that

The procedure for configuring your DocMoto server to use your verified certificate is as follows:

  1. Open terminal and switch to super user by typing
    sudo -s
  2. Move to the settings folder by typing
    cd /var/opt/docmoto/settings
  3. Rename the existing self signed certificate by typing
    mv DocMoto.pem DocMoto.pem.org
  4. Copy the new pem file to the settings folder by typing
    cp <the full path to my pem>.pem .
  5. Change the ownership of the pem file to user DocMoto by typing
    chown docmoto <my pem file>.pem
  6. Edit the serverConfig.conf to ensure the default secure port 3984 uses the new certificate
    <Https
         port="3984"
         pem-filename="<path to my certificate file>.pem" 
         pem-password="<password for pem file if required>">
         <WebDav />
         <Admin />
    </Https>
  7. Restart the DocMoto server by going into System Preferences, finding DocMoto Server, and restarting.

Still have a question?

If you still can't find the answer to your question or need more information, please contact the DocMoto team on +44 (0)1242 225230 or email us

We value your privacy

We use Cookies to make using our website easy and meaningful for you, and to better understand how it is used by our customers. By using our website, you are agreeing to our privacy policy.

I agree