OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: bignick8t3 on June 04, 2020, 12:44:38 PM

Title: Let's Encrypt Automation upload certs via sftp
Post by: bignick8t3 on June 04, 2020, 12:44:38 PM
Hi All,

Been using the LE plugin for a longtime with no issues.

Today I've been trying to upload the certs to another server for usage but keep getting the following errors when I test the connection or click the "show identity" button.

[04-Jun-2020 11:38:07 Europe/London] PHP Warning:  "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /usr/local/opnsense/scripts/OPNsense/AcmeClient/upload_sftp.php on line 302
[04-Jun-2020 11:38:13 Europe/London] PHP Warning:  "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /usr/local/opnsense/scripts/OPNsense/AcmeClient/upload_sftp.php on line 302
[04-Jun-2020 11:38:17 Europe/London] PHP Warning:  "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /usr/local/opnsense/scripts/OPNsense/AcmeClient/upload_sftp.php on line 302
[04-Jun-2020 11:38:18 Europe/London] PHP Warning:  "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /usr/local/opnsense/scripts/OPNsense/AcmeClient/upload_sftp.php on line 302


This also triggers the system reporter and I get the "A problem was detected. Click here for more information." on the main dashboard.

I have submitted the report was just after some input on how I might resolve this issue?

Many thanks,

Nick
Title: Re: Let's Encrypt Automation upload certs via sftp
Post by: astromeier on June 04, 2020, 08:51:59 PM
Hi Nick,
this warning is a result of an issue with php 7.3
The warning will no longer be displayed in the upcoming version, but you'll have to wait for the update...
Title: Re: Let's Encrypt Automation upload certs via sftp
Post by: bignick8t3 on June 05, 2020, 11:17:39 AM
At least I wasn't doing something stupid.

Thanks for letting me know.

Nick