Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - ftrojahn

#1
Quote from: longshot338 on November 01, 2023, 04:03:41 PM
Thanks for the info, cookiemonster, but how do we get acme.sh to look there for the file(s)?  I tried using the full path in my command line use of acme.sh, but that didn't work either.  I would really like to set-up everything in the GUI, and allow the triggers to execute things without me having to manually intervene.

I have a similar problem: acme with dns and dns-alias seems not to work in Proxmox itself, but in OPNsense.
So I tried to deploy from OPNsense to Proxmox, too, and found this thread.

What I have found:

  • we need to copy the deploy dir from examples to the acme-client home:

cp -a /usr/local/share/examples/acme.sh/deploy /var/etc/acme-client/home/


  • since my PVE node has a self signed cert, the automation fails with:

=> Send SSL data, 5 bytes (0x5)
0000: .....
== Info: TLSv1.3 (OUT), TLS alert, unknown CA (560):
=> Send SSL data, 2 bytes (0x2)
0000: .0
== Info: SSL certificate problem: unable to get local issuer certificate
== Info: Closing connection


which means: curl must not check the certificate of the node. To achieve this, I found no other way
than edit acme.sh and add:

HTTPS_INSECURE=1



Now, when starting the automation - the GUI says successful. But ... cert wasn't imported, in the pveproxy/access.log
I only see:
"POST /api2/json/nodes/proxhost/certificates/custom HTTP/1.1" 401 -

My api token has the the sys.modify right ... but maybe this is not sufficient. Tried with both pveversion 7.4 and 8.0.4

Did anyone get this to work?
#2
We had the same problem last week. Tried to install 20.1, then 19.7 by importing from usb-stick:conf/config.xml.

Same here - all was working flawlessly, but then it failed every time after first reboot, see attachment. On every try it stuck after "pfsync.ko". Using 19.7 it was somewhere later ... but same blue "Booting..." line, then nothing.

Then, we tried the install without import, configuring only lan/wan interfaces,internal IP and DHCP-Server.
We imported the same config.xml after installation via Gui - no problems with reboot after that.

For now, we stick with 19.7 as we had no time to do further tests.