-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Drive backup no longer functional in 24.1 #7184
Comments
|
I should also have mentioned that this has also been encountered by several other users in the 24.1 thread in the forums. |
|
Could be an incompatibility with OpenSSL 3. Will pick this up soon. |
|
In order to read the legacy pkcs12 files, legacy mode need to be enabled in
|
Since exising gdrive backups are in legacy mode, these can only be parsed when legacy is enabled. For more information about openssl_pkcs12_read() and used configuration, see https://www.php.net/manual/en/function.openssl-pkcs12-read.php In order for this to work, one need to generate the template (handled on bootup https://github.com/opnsense/core/blob/master/src/etc/rc.syshook.d/early/15-templates) and restart the webgui. To validate in a console if legacy mode is available, use the command below: Providers: default name: OpenSSL Default Provider version: 3.0.12 status: active legacy name: OpenSSL Legacy Provider version: 3.0.12 status: active
The bug:
Google Drive backups are no longer working after upgrade to 24.1. It previously worked daily up until yesterday on version 23.7.12.
The setup configuration is still in place but attempting a backup produces the message "Invalid P12 key, openssl_pkcs12_read() failed".
Configuring a new valid p12 file and supplying that in the configuration instead also produces the same message.
To Reproduce
Steps to reproduce the behavior:
"The following input errors were detected:
Invalid P12 key, openssl_pkcs12_read() failed
Saved settings, but remote backup failed."
Expected behavior
Usually and up until today, a backup is saved to the configured Google Drive and a list of the backups currently stored there already is displayed.
Alternatives:
Manual backups seem to be the only option currently without finding and installing plugins.
Software version used and hardware type:
OPNsense 24.1-amd64
CPU type | 12th Gen Intel(R) Core(TM) i3-1215U (6 cores, 8 threads)
The text was updated successfully, but these errors were encountered: