Skip to content

How to force initiation with a known certificate for oauth or suppress peerverify ssl #24

@aloksinha2001

Description

@aloksinha2001

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions