OPNsense Forum

English Forums => 24.1 Production Series => Topic started by: wiggleroom on February 19, 2024, 05:03:21 pm

Title: Acme plugin automation to upload to synology dsm crashes opnsense
Post by: wiggleroom on February 19, 2024, 05:03:21 pm
In the ACME Client I pick a certificate and use the run-automations tool. If that includes any Synology DSM uploads it will crash. I get the red dot and can submit a crash from the firmware. I don't see a failure in the ACME client log. Extended logging will show me /var paths for certs getting passed into the acme.sh and all those seem to checkout as valid. It fails on three different certificates and different synology hosts that were all working just recently. The user and password are correct and the user is an administrator on the synology.

I had this working like week before last. Don't know if the 2.4.1->2.4.1.1 update affected it or something else?
Title: Re: Acme plugin automation to upload to synology dsm crashes opnsense
Post by: julsssark on February 19, 2024, 05:20:42 pm
I'm using 24.1.1 and the ACME plugin v4.0. I am not seeing the same behavior. When I click run automations, the log shows the cert being copied to my Synology NAS and I don't see a crash.
Title: Re: Acme plugin automation to upload to synology dsm crashes opnsense
Post by: wiggleroom on February 19, 2024, 05:23:35 pm
Thanks. I'm using HTTPS and a custom port too. How about you?
Title: Re: Acme plugin automation to upload to synology dsm crashes opnsense
Post by: julsssark on February 19, 2024, 05:49:21 pm
I am using HTTPS and a custom port too.
Title: Re: Acme plugin automation to upload to synology dsm crashes opnsense
Post by: julsssark on February 19, 2024, 05:52:01 pm
Have you tried removing any other automations for that cert and running just the copy to Synology automation?
Title: Re: Acme plugin automation to upload to synology dsm crashes opnsense
Post by: Fright on February 19, 2024, 07:04:25 pm
https://github.com/opnsense/plugins/issues/3790 may be
Title: Re: Acme plugin automation to upload to synology dsm crashes opnsense
Post by: wiggleroom on February 19, 2024, 07:58:40 pm
Thank You! I applied the 3790 patch you mention. Works like a charm  :)