Back
Warning: You need to set Client ID, Email address and the location of the Key from the
Google API console
Warning: file_get_contents(): Filename cannot be empty in /var/www/html/ng-crm/yiiapp/vendor/google/apiclient/examples/service-account.php on line 67
Fatal error: Uncaught Google_Auth_Exception: Unable to parse the p12 file. Is this a .p12 file? Is the password correct? OpenSSL error: in /var/www/html/ng-crm/yiiapp/vendor/google/apiclient/src/Google/Signer/P12.php:52
Stack trace:
#0 /var/www/html/ng-crm/yiiapp/vendor/google/apiclient/src/Google/Auth/AssertionCredentials.php(132): Google_Signer_P12->__construct(false, 'notasecret')
#1 /var/www/html/ng-crm/yiiapp/vendor/google/apiclient/src/Google/Auth/AssertionCredentials.php(109): Google_Auth_AssertionCredentials->makeSignedJwt('{"aud":"https:/...')
#2 /var/www/html/ng-crm/yiiapp/vendor/google/apiclient/src/Google/Auth/OAuth2.php(305): Google_Auth_AssertionCredentials->generateAssertion()
#3 /var/www/html/ng-crm/yiiapp/vendor/google/apiclient/examples/service-account.php(75): Google_Auth_OAuth2->refreshTokenWithAssertion(Object(Google_Auth_AssertionCredentials))
#4 {main}
thrown in /var/www/html/ng-crm/yiiapp/vendor/google/apiclient/src/Google/Signer/P12.php on line 52