r/UgreenNASync • • 1d ago

šŸ§‘ā€šŸ’» Apps SSL Cert for Container Help

I’ve added actual budget server in Docker on my DH4300+ but the web page keeps saying a self signed cert is a minimum requirement.
I’ve created a cert on the NAS over SSH but can’t see how to add it for use in the Docker settings & AI keeps showing me how to do it in YAML but the only editable option I see is environment variables… Does anybody know this stuff well enough to help me fix it, please?

3 Upvotes

8 comments sorted by

•

u/AutoModerator 1d ago

Please check on the Community Guide if your question doesn't already have an answer. Make sure to join our Discord server, the German Discord Server, or the German Forum for the latest information, the fastest help, and more!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/CustomerExtreme7079 1d ago

Hi all, I worked this out with a bit of trial & error - Actual have a couple of environment variables which I pointed at the files I'd generated with OpenSSL. I simply had to create a location for the container to find them & set it to read only.

1

u/rabbitaim DXP2800 1d ago

nobody here can help you without more info.
is this container on a publicly accessible address?
what is the container image?
if this is just a private container on your network that's not been exposed to the Internet you can use a different browser like Firefox to access it. You may have to put in exceptions though.

1

u/CustomerExtreme7079 1d ago

Here’s the publicly accessible image: Ā  https://hub.docker.com/u/actualbudget

The warning says that some https component/object is required & that a certificate is needed to enable it properly.

I’m trying to run it as directed by the dev.

1

u/tghuverd 1d ago

If you're struggling to wrap the service in a https cert, I'd consider whether you'll know if result is sufficiently secured to protect your NAS and / or your financial details.

But you can use a reverse proxy like Caddy to handle SSL certificate generation and automatic renewals without needing to manage certificate files inside Actual Budget. That would be enabled as a project via YAML, which is probably why AI is suggesting that. Then there is config to do via a file in the Docker file system path.

Caddy will automatically fetch a Let's Encrypt certificate if you're exposing Actual Budget outside of your LAN. Otherwise, Caddy's built-in internal CA can generate a self-signed cert for local use only.

1

u/CustomerExtreme7079 1d ago

Thanks for the suggestion - I’ll take a look at Caddy. I’m intending to use Wireguard to get into my LAN when using Actual remotely so technically I’m not exposing it to the direct internet ( I think… ).

1

u/waldano DXP4800 Plus 1d ago

I am using all my web containers behind a reverse proxy via nginx/npm. All of them are on https. You can use your own domain or a free one like duckdns etc. Maybe this would resolve your issue?