Hello folks. I tried searching but didn't seem to find any infos. For OMV5 there does not seem to be leetsencrypt plugin. I enabled the testing toggle in OMV-Extras but still can't seem to find letsencrypt listed in plugins. Is there a way to use the plug-in for OMV5?
openmediavault-letsencrypt
-
- OMV 3.x
- fubz
-
-
Yes via docker. Best use: linuxserver/letsencrypt
-
Hello folks. I tried searching but didn't seem to find any infos. For OMV5 there does not seem to be leetsencrypt plugin. I enabled the testing toggle in OMV-Extras but still can't seem to find letsencrypt listed in plugins. Is there a way to use the plug-in for OMV5?
-
-
I have a docker running let'sencrypt. It's working fine!
But I can not figure out how to use this certificate for the WebUI of OMV??
there is no way to go and select it (as it was possible in OMV 4.X with letsencrypt plugin)
Can you help?
Thanks -
Here is how I do it. Unfortunately I don't see a way to do it in the gui. This is for a wild card cert.
Find the currently used certs.
ls /etc/ssl//private/
ls /etc/ssl/certsThen I run a script to copy the new cert to the proper place. It works but it is not pretty.
Bash
Display More#!/bin/bash # scp username@remote:/file/to/send /where/to/put # letsencrypt is the local server that generates the certs scp root@letsencrypt:/etc/letsencrypt/live/example.com/privkey.pem /etc/ssl//private/openmediavault-your-cert.key scp root@letsencrypt:/etc/letsencrypt/live/example.com/fullchain.pem /etc/ssl/certs/openmediavault-your-cert.crt systemctl restart nginx
It will ask for password but you could use ssh key to get around that.
https://www.digitalocean.com/c…ication-on-a-linux-server -
-
-
I generated and copied the cert, but OMV still don't see that cert in the drop-down menu.
-
Did you change the name to match the one OMV is using?
/ls /etc/ssl//private/ls /etc/ssl/certs
-
I don't have any OMV cert running at the moment.
I self generated a cert, and use that cert name for LE, but no luck. -
-
would it be possible to have a select file option instead of a drop-down menu to define the cert to use?
-
would it be possible to have a select file option instead of a drop-down menu to define the cert to use?
The plugin is not being maintained anymore.
-
-
-
it is not plugin related, it is in general settings, secure connections.
I doubt Volker would change that since there is a section for certs with an option to import a cert. Once imported, it will show up in the drop down. Otherwise, here is the php code from the plugin that updates an existing cert with a new cert.
-
I doubt Volker would change that since there is a section for certs with an option to import a cert. Once imported, it will show up in the drop down. Otherwise, here is the php code from the plugin that updates an existing cert with a new cert.
If I'm not wrong, Import a cert in the cert section is by Copy-Paste the text .
It is not so easy than importing a file, that is updated monthly by letsencrypt...As a example, in Emby Server, you can define where is the cert file... and even if it is updated by letsencrypt, secure access is always functionnal
But may be the change would be better in the import cert section than in this general settings section ??
-
Import your cert the first time.
Then you can use the script above. Just change the name and maybe fix the file type if required.I asked for the import file a long time ago. It was thought not to be needed. Or might be too hard. I forget. There are many types of file and it may take a lot of code to determine what form your cert is and convert it to what omv expects. This is open source and I am sure pull requests would be looked at. It is above my skill level.
I showed what works for me on 4,x and it should be very similar for 5.x. If it does not work for you post a new thread and maybe some of us can help. It's been a while since I did this so maybe things have changed. But it still works for me.
-
-
If I'm not wrong, Import a cert in the cert section is by Copy-Paste the text .
It is not so easy than importing a file, that is updated monthly by letsencrypt...I understand that. I was just mentioning why Volker probably won't change it to a file. And that is why I pointed to the code. It wouldn't be hard to have a cron job take the cert that the letsencrypt container is making and update the cert in OMV.
-
I understand that. I was just mentioning why Volker probably won't change it to a file. And that is why I pointed to the code. It wouldn't be hard to have a cron job take the cert that the letsencrypt container is making and update the cert in OMV.
Did I miss the code?
-
Did I miss the code?
Yep, you missed the link I forgot to post lol. Previous posted fixed too.
-
-
I looked at the codes, and it seemed to be the similar solution: convert 'privkey.pem > omv--aabb.key; "fullchain.pem' > 'omv-abb.crt'.
We still missing some piece of the puzzle to key it import into OMV GUI. -
We still missing some piece of the puzzle to key it import into OMV GUI.
Line 229-234 does that. If you don't want to use php, the original bash code may still work - https://github.com/OpenMediaVa…/sbin/omv-letsencrypt#L50
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!