05-24-2017, 07:24 PM
Hi
I'm testing userspice and on a fresh install, I setup google sign in and after I click on "Allow" on the google auth page I get this:
Fatal error: Uncaught Google_IOException: HTTP Error: (0) error setting certificate verify locations: CAfile: /home/xxxxxxxxxxxxxxx/domains/xxxxxxxxxxx/ssl.cert CApath: /etc/ssl/certs in /home/sendtext/public_html/users/src/Google/io/Google_CurlIO.php:128 Stack trace: #0 /home/sendtext/public_html/users/src/Google/auth/Google_OAuth2.php(100): Google_CurlIO->makeRequest(Object(Google_HttpRequest)) #1 /home/sendtext/public_html/users/src/Google/Google_Client.php(131): Google_OAuth2->authenticate(Array, '4/2zAkOTRQ9z4ex...') #2 /home/sendtext/public_html/users/includes/google_oauth.php(29): Google_Client->authenticate() #3 /home/sendtext/public_html/users/includes/header.php(75): require_once('/home/sendtext/...') #4 /home/sendtext/public_html/users/oauth_success.php(23): require_once('/home/sendtext/...') #5 {main} thrown in /home/sendtext/public_html/users/src/Google/io/Google_CurlIO.php on line 128
It looks like it's looking for the cert in the wrong place. The right place would be /home/sendtext/ssl.cert
Any idea?
I'm running
Ubuntu 16.04
Apache 2.4.18
PHP 7.0
everything configured via virtualmin
I'm testing userspice and on a fresh install, I setup google sign in and after I click on "Allow" on the google auth page I get this:
Fatal error: Uncaught Google_IOException: HTTP Error: (0) error setting certificate verify locations: CAfile: /home/xxxxxxxxxxxxxxx/domains/xxxxxxxxxxx/ssl.cert CApath: /etc/ssl/certs in /home/sendtext/public_html/users/src/Google/io/Google_CurlIO.php:128 Stack trace: #0 /home/sendtext/public_html/users/src/Google/auth/Google_OAuth2.php(100): Google_CurlIO->makeRequest(Object(Google_HttpRequest)) #1 /home/sendtext/public_html/users/src/Google/Google_Client.php(131): Google_OAuth2->authenticate(Array, '4/2zAkOTRQ9z4ex...') #2 /home/sendtext/public_html/users/includes/google_oauth.php(29): Google_Client->authenticate() #3 /home/sendtext/public_html/users/includes/header.php(75): require_once('/home/sendtext/...') #4 /home/sendtext/public_html/users/oauth_success.php(23): require_once('/home/sendtext/...') #5 {main} thrown in /home/sendtext/public_html/users/src/Google/io/Google_CurlIO.php on line 128
It looks like it's looking for the cert in the wrong place. The right place would be /home/sendtext/ssl.cert
Any idea?
I'm running
Ubuntu 16.04
Apache 2.4.18
PHP 7.0
everything configured via virtualmin