Coder Social home page Coder Social logo

Comments (10)

alxwolf avatar alxwolf commented on July 21, 2024

Hi @llaforest

disclaimer first: I do not have a UDM SE so cannot verify anything, and you seem to well understand the differences between the UDM (Basic and Pro) and the UDM SE firmware differences, with the UDM SE running UniFiOS on the "bare metal", not via podman.

On boostchicken's repository I find this explanation on how to get Podman going on a UDM-SE.

Does that maybe help?

And yes, running acme.sh directly from filesystem could be a feasible way, too. I have not tried it. There may be some commands / components not available on a bare-bone UDM (Pro or SE), which are part of the acme.sh container.

Latest when Ubiquiti switches to V2.x for the UDM(P), this will have to be investigated more deeply, so looking forward to your experience with that.

Regards Alex

from ubios-cert.

llaforest avatar llaforest commented on July 21, 2024

Hello @alxwolf, thanks for the reply. I continued to investigate and created my own fork (https://github.com/llaforest/ubios-cert). It's not yet complete but almost working on UDM SE. I will test it right after on a UDM Pro. Then we can discuss, review and maybe we merge if you feel it goes your way.
From what I understand, it would not be easy to persist a firmware update with podman as it gets removed. So this is why I moved away from it instead of fighting to get it installed.

from ubios-cert.

alxwolf avatar alxwolf commented on July 21, 2024

Just had a quick glimpse at it and it already looks pretty good @llaforest!

Would be a huge step forward anticipating the move from 1.x to 2.x for the "older" units, Thank You!

from ubios-cert.

llaforest avatar llaforest commented on July 21, 2024

You can look at my repo, I would suggest you also try it if you have some time.
I ran it on my UDM SE and on a UDM Pro using the README and both passed.

from ubios-cert.

alxwolf avatar alxwolf commented on July 21, 2024

You can look at my repo, I would suggest you also try it if you have some time.

Doing that right now, pulled your fork in the baremetal branch here.

Love this part: sed -i 's#/mnt/data#/data#g' "${SCRIPT_DIR}/ubios-cert/ubios-cert.env" "${SCRIPT_DIR}/ubios-cert/ubios-cert.sh" "${SCRIPT_DIR}/ubios-cert/on_boot.d/99-ubios-cert.sh"

from ubios-cert.

llaforest avatar llaforest commented on July 21, 2024

Great! It looks good. I saw you even merged baremetal at his time! I will give it a try on my UDM-SE and UDM-Pro of my niece. Will let you know.

from ubios-cert.

alxwolf avatar alxwolf commented on July 21, 2024

OK, next step then is to get of podman completely as acme.sh seems to run also fine on V1.x.

Created a branch native_acmefor that.

from ubios-cert.

llaforest avatar llaforest commented on July 21, 2024

I don't get it, podman is out completely, no? The only place it's found is when updating guest portal as it needs to be done inside a container running on UDM-Pro...

from ubios-cert.

alxwolf avatar alxwolf commented on July 21, 2024

Of course, you're right. Disregard... and there we need to call podman as the certs are stored under /data/unifi-core/config (with /data being a symbolic link to /mnt/data/unifi-os on the UDM/P), but the key store is part of the container's volume...

Removed the branch, seems like we're done! The acme.sh podman container is gone... Thanks.

from ubios-cert.

llaforest avatar llaforest commented on July 21, 2024

Yeah we're good! Issue can be closed.

from ubios-cert.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.