HowTo: OpenMediaVault – Enable HTTPS encryption for web access

After installing OpenMediaVault, the first thing you should do is enable HTTPS encryption for web access. This ensures that when you access the OMV web interface, all data is encrypted with HTTPS.

You should activate this option, especially if you also want to access your OMV instance via a public network.

What you have to do is described in the following article.


Safety instructions

I know the following hints are always a bit annoying and seem unnecessary. But unfortunately, many people who knew it "better" from carelessness lost their eyes, fingers or other things or hurt themselves. In comparison, a loss of data is almost not worth mentioning, but even these can be really annoying. Therefore, please take five minutes to read the safety instructions. Even the coolest project is worth no injury or other annoyance. https://www.nerdiy.de/en/sicherheitshinweise/

Affiliate links / advertising links

The links to online shops listed here are so-called affiliate links. If you click on such an affiliate link and shop via this link, Nerdiy.de receives a commission from the online shop or provider concerned. The price doesn't change for you. If you do your purchases via these links, you will support Nerdiy.de in being able to offer further useful projects in the future. 🙂


Requirements

Helpful articles:
Before you start this article, you should have prepared a Raspberry Pi so that it can be reached via the network and controlled via SSH.

The following articles describe what needs to be done to prepare the Raspberry Pi.

In the following lists you will find all the parts you need to implement this article.

Required tool:

NumberLink
1xSchraubendreher Set  Bei Amazon kaufen
1xSD Kartenleser  Bei Amazon kaufen

Required material:

NumberLink
1x Raspberry Pi  Bei Amazon kaufen
1x Raspberry Pi Netzteil  Bei Amazon kaufen
1x Raspberry Pi Gehäuse  Bei Amazon kaufen
1x Micro SD Karte 64GB  Bei Amazon kaufen


Create SSL certificate under OpenMediaVault

You should activate HTTPS encryption especially if you are accessing via a public network. This can be, for example, the Internet or an unencrypted WiFi network.

To do this, open the web interface of your OpenMediaVault installation.

Then click on the “System” tab and on the “Certificates” subcategory.

Then click on the “SSL tile” to first create an SSL certificate.

In the view that appears, click on the plus in the upper left corner and then on “Create”.

You will then be redirected to this view.

Here you can set the properties and descriptions of the certificate. The empty fields in the picture are optional.

Of course, you can also set the term of the certificate to be longer.

Click “Create” to apply the settings.

You then have to enable the configuration by clicking on the checkmark in the yellow area and…

… accept another confirmation.

This completes the creation of the SSL certificate.


Activate login to the web interface via HTTPS

After you have created the SSL certificate, you can now activate the HTTPS encryption.

Now switch to the “Workbench” tab.

There you can select the SSL certificate you just created.

You should also check the box at

  • SSL/TLS enabled

and

  • Force SSL/TLS

Then click on “Save” to apply the changes.

You then have to enable the configuration by clicking on the checkmark in the yellow area and…

… accept another confirmation.


Test HTTPS encryption

In order to be able to access the web interface of your OpenMediaVault installation, you must call it with an https:// in front. If the address of your OpenMediaVault instance is “omvtestserver”, you must now enter

  • https://omvtestserver

into the address bar of your web browser to access the web interface.

You will most likely get this error message.

This is displayed to you because you are using a self-signed (i.e. unknown to the browser) certificate.

In most cases, however, this is harmless. You can then resolve the error message by clicking on “Advanced” and…

… “Continue to…”.

You should then be redirected to the OpenMediaVault web interface or login as usual.


More articles related to Open Media Vault

This completes the installation of OMV. I have described the many other functions in other articles. There you will also find information on how to expand the functionality of your OMV installation accordingly. These articles are all grouped into the following categories.


Have fun with the project

I hope everything worked as described. If not or you have any other questions or suggestions, please let me know in the comments. Also, ideas for new projects are always welcome. 🙂

P.S. Many of these projects - especially the hardware projects - cost a lot of time and money. Of course I do this because I enjoy it, but if you appreciate it that I share these information with you, I would be happy about a small donation to the coffee box. 🙂

Buy Me a Coffee at ko-fi.com   

Leave a Reply

Your email address will not be published. Required fields are marked *