OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • 24.1 Legacy Series »
  • Google Drive backups no longer function
« previous next »
  • Print
Pages: [1] 2

Author Topic: Google Drive backups no longer function  (Read 4228 times)

bucker00

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Google Drive backups no longer function
« on: January 31, 2024, 09:06:37 am »
Since the upgrade all working good, except for Google Drive backup failed when I tried a manual one.
The error was that the p12 key wasn't valid.
I removed and regenerated a new key but get the following response:

The following input errors were detected:

 - Invalid P12 key, openssl_pkcs12_read() failed
 - Saved settings, but remote backup failed.



Pretty sure this isn't a me problem as all the other settings are unchanged.
Can someone give theirs a go
Logged

Gilad

  • Newbie
  • *
  • Posts: 18
  • Karma: 2
    • View Profile
Re: Google Drive backups no longer function
« Reply #1 on: January 31, 2024, 10:49:08 am »
Same here  :(
Logged

Roland

  • Newbie
  • *
  • Posts: 1
  • Karma: 1
    • View Profile
Re: Google Drive backups no longer function
« Reply #2 on: January 31, 2024, 10:50:26 am »
Same here :(
Logged

amichel

  • Jr. Member
  • **
  • Posts: 87
  • Karma: 8
    • View Profile
Re: Google Drive backups no longer function
« Reply #3 on: January 31, 2024, 11:46:17 am »
I can confirm the same behavior.
Logged

bucker00

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: Google Drive backups no longer function
« Reply #4 on: January 31, 2024, 12:39:30 pm »
This has also now been logged as a bug https://github.com/opnsense/core/issues/7184
Thank you for the confirmation folks!
Logged

amichel

  • Jr. Member
  • **
  • Posts: 87
  • Karma: 8
    • View Profile
Re: Google Drive backups no longer function
« Reply #5 on: January 31, 2024, 07:49:49 pm »
The info in the bugtracker to solve the issue did not work for me, but it pointed me into the right direction:
https://www.practicalnetworking.net/practical-tls/openssl-3-and-legacy-providers/

I modified the /usr/local/openssl/openssl.cnf file

Code: [Select]
[provider_sect]
default = default_sect
legacy = legacy_sect
and
Code: [Select]
[default_sect]
activate = 1
[legacy_sect]
activate = 1

restarted webgui --> Backup worked
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17709
  • Karma: 1618
    • View Profile
Re: Google Drive backups no longer function
« Reply #6 on: January 31, 2024, 07:51:52 pm »
Since it's patching a template it doesn't work immediately, but a reboot or a reconfiguration of the trust subsystem would do the trick (but I don't know which GUI knob that is from the top of my head).


Cheers,
Franco
Logged

amichel

  • Jr. Member
  • **
  • Posts: 87
  • Karma: 8
    • View Profile
Re: Google Drive backups no longer function
« Reply #7 on: January 31, 2024, 07:56:17 pm »
Got that franco, thank you for clarification
Logged

Starrbuck

  • Newbie
  • *
  • Posts: 10
  • Karma: 1
    • View Profile
Re: Google Drive backups no longer function
« Reply #8 on: January 31, 2024, 08:50:20 pm »
Quote from: amichel on January 31, 2024, 07:49:49 pm
I modified the /usr/local/openssl/openssl.cnf file

Code: [Select]
[provider_sect]
default = default_sect
legacy = legacy_sect
and
Code: [Select]
[default_sect]
activate = 1
[legacy_sect]
activate = 1

restarted webgui --> Backup worked

This worked for me as well after a reboot.
« Last Edit: January 31, 2024, 08:57:03 pm by Starrbuck »
Logged

bucker00

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: Google Drive backups no longer function
« Reply #9 on: January 31, 2024, 08:54:33 pm »
Thanks all, muchly appreciated!
Logged

clumsyzombie

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Google Drive backups no longer function
« Reply #10 on: February 01, 2024, 10:31:52 pm »
This worked flowless and corrected the issue thank you so much for the information. 
Logged

Melittamann

  • Newbie
  • *
  • Posts: 15
  • Karma: 1
    • View Profile
Re: Google Drive backups no longer function
« Reply #11 on: February 02, 2024, 08:06:03 am »
Works as described by amichel and Starrbuck. Thank you very much
Logged

adamrc

  • Newbie
  • *
  • Posts: 9
  • Karma: 2
    • View Profile
Re: Google Drive backups no longer function
« Reply #12 on: February 02, 2024, 07:40:47 pm »
Will there be a future patch/update that will be deployed to address this issue for those of us that do not want to manually modify the file referenced above?
Logged

jp0469

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 8
    • View Profile
Re: Google Drive backups no longer function
« Reply #13 on: February 02, 2024, 09:40:57 pm »
Quote from: adamrc on February 02, 2024, 07:40:47 pm
Will there be a future patch/update that will be deployed to address this issue for those of us that do not want to manually modify the file referenced above?
You don't have to manually edit the file. You can just apply the commit from github yourself.

opnsense-patch d8ba131

Or you can wait until the next OPNsense update.
« Last Edit: February 02, 2024, 09:53:00 pm by jp0469 »
Logged

adamrc

  • Newbie
  • *
  • Posts: 9
  • Karma: 2
    • View Profile
Re: Google Drive backups no longer function
« Reply #14 on: February 03, 2024, 02:32:44 am »
Quote from: jp0469 on February 02, 2024, 09:40:57 pm
Quote from: adamrc on February 02, 2024, 07:40:47 pm
Will there be a future patch/update that will be deployed to address this issue for those of us that do not want to manually modify the file referenced above?
You don't have to manually edit the file. You can just apply the commit from github yourself.

opnsense-patch d8ba131

Or you can wait until the next OPNsense update.

That worked great! Thanks! I had to reboot for the changes to apply.
Logged

  • Print
Pages: [1] 2
« previous next »
  • OPNsense Forum »
  • English Forums »
  • 24.1 Legacy Series »
  • Google Drive backups no longer function
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2