PHP Error?

Started by spetrillo, October 19, 2019, 09:29:09 PM

Previous topic - Next topic
I am getting these. Is this a bug?

[17-Oct-2019 01:00:01 America/New_York] PHP Fatal error:  Uncaught Google_Auth_Exception: Unable to parse the p12 file.  Is this a .p12 file?  Is the password correct?  OpenSSL error:  in /usr/local/opnsense/contrib/google-api-php-client/Google/Signer/P12.php:53
Stack trace:
#0 /usr/local/opnsense/contrib/google-api-php-client/Google/Auth/AssertionCredentials.php(130): Google_Signer_P12->__construct('', 'notasecret')
#1 /usr/local/opnsense/contrib/google-api-php-client/Google/Auth/AssertionCredentials.php(107): Google_Auth_AssertionCredentials->makeSignedJwt('{"aud":"https:/...')
#2 /usr/local/opnsense/contrib/google-api-php-client/Google/Auth/OAuth2.php(306): Google_Auth_AssertionCredentials->generateAssertion()
#3 /usr/local/opnsense/contrib/google-api-php-client/Google/Auth/OAuth2.php(233): Google_Auth_OAuth2->refreshTokenWithAssertion()
#4 /usr/local/opnsense/contrib/google-api-php-client/Google/Service/Resource.php(208): Google_Auth_OAuth2->sign(Object(Google_Http_Request))
#5 /usr/local/opnsense/contrib/google-api-php-client/Google/Service/Drive.php(1775): Goo in /usr/local/opnsense/contrib/google-api-php-client/Google/Signer/P12.php on line 53

Already fixed and will be released in .6