OAuthException Object ( [message:protected] => making the request failed (Peer certificate cannot be authenticated with given CA certificates) [string:Exception:private] => [code:protected] => -1 [file:protected] => /usr/local/www/apache22/data/enter.php [line:protected] => 21 [trace:Exception:private] => Array ( [0] => Array ( [file] => /usr/local/www/apache22/data/enter.php [line] => 21 [function] => getRequestToken [class] => OAuth [type] => -> [args] => Array ( [0] => http://learn.urfu.ru/oauth/v1/request_token ) ) ) [previous:Exception:private] => [lastResponse] => [debugInfo] => Array ( [sbs] => GET&https%3A%2F%2Flearn.urfu.ru%2Foauth%2Fv1%2Frequest_token&oauth_consumer_key%3D90a5fd9729%26oauth_nonce%3D563534195c18ca3c509b13.04363384%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1545128508%26oauth_version%3D1.0 [info] => About to connect() to learn.urfu.ru port 443 (#0) Trying 212.193.64.129... connected Connected to learn.urfu.ru (212.193.64.129) port 443 (#0) successfully set certificate verify locations: CAfile: /usr/local/share/certs/ca-root-nss.crt CApath: none SSLv3, TLS handshake, Client hello (1): SSLv3, TLS handshake, Server hello (2): SSLv3, TLS handshake, CERT (11): SSLv3, TLS alert, Server hello (2): SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed Closing connection #0 Peer certificate cannot be authenticated with given CA certificates ) )