fitbitphp
fitbitphp copied to clipboard
How to force initiation with a known certificate for oauth or suppress peerverify ssl
Hi,
Trying to setup basics of fitbit-php here.
in the php.ini file, i already have curl.cainfo pointing to a cacert.pem file.
However - keep getting these errors.
Warning: OAuth::getRequestToken(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /var/www/lo/g8_fbit/lib/fitbitphp.php on line 184
Warning: OAuth::getRequestToken(): Failed to enable crypto in /var/www/lo/g8_fbit/lib/fitbitphp.php on line 184
Warning: OAuth::getRequestToken(https://api.fitbit.com/oauth/request_token): failed to open stream: operation failed in /var/www/lo/g8_fbit/lib/fitbitphp.php on line 184
Any option to specify curl verify peer ssl false ?
Alok