OAuth PECL v1.2.2
Hello, I have installed the latest OAuth PECL extension for PHP and tried to use the supplied sample code provided by LinkedIn with the appropriate API keys. Whenever I try to execute the code I get the following errors.
PHP Warning: OAuth::getRequestToken(): SSL: Connection reset by peer in /xxx/xxx/oauth.php on line 16
PHP Warning: OAuth::getRequestToken(https://api.linkedin.com/uas/oauth/requestToken): failed to open stream: HTTP request failed! in /xxx/xxx/oauth.php on line 16
ERROR: exception 'OAuthException' with message 'making the request failed (dunno why)' in /xxx/xxx/oauth.php:16
#0 /xxx/xxx/oauth.php(16): OAuth->getRequestToken('https://api.lin...')
I've tested the Twitter OAuth API and it seems to work correctly so I am really at my wits end. I haven't seem to be able to find anyone else that is having this issue, so I do not know where to begin. Any help would be greatly appreciated.