Note that there are some explanatory texts on larger screens.

plurals
  1. POFacebook cannot verify my SSL certificate
    primarykey
    data
    text
    <p>I am trying to register my app with FB Realtime Graph updates and having issues with FB verifying my callback URL. I can successfully register (and receive updates) with FB using HTTP but I need to switch to HTTPS.</p> <pre><code>curl -XPOST -i -v \ -d 'access_token=$OAUTH_TOKEN' \ -H 'Accept: application/json' -H 'Content-Type: application/json' \ -d "object=user" -d "fields=friends,name" -d "callback_url=https://$MY_RUL" \ -d "verify_token=$VERIFY_TOKEN" "https://graph.facebook.com/$APP_ID/subscriptions" </code></pre> <p>and yes, I am using the correct values in all <code>$</code> variables.</p> <p>I receive an <code>HTTP 400 Bad Request</code> with body:</p> <pre><code>{"error":{"message":"(#2200) callback verification failed: SSL certificate problem, verify that the CA cert is OK. Details:\nerror:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed","type":"OAuthException"}} </code></pre> <p>But I do have SSL setup correctly, as far as I can tell. I can issue other CURL calls against my HTTPS endpoint.</p> <pre><code>$ curl -i https://foo.com/health HTTP/1.1 200 OK Content-Type: text/plain Date: Mon, 17 Oct 2011 19:56:42 GMT Status: 200 X-Rack-Cache: miss X-Runtime: 0.002040 Content-Length: 21 Connection: keep-alive pong </code></pre> <p>Where is the issue, is it on my end or facebooks?</p> <p>Note: I see similar issues here on SO especially in regards to Ruby / HTTPS, such as:</p> <p><a href="http://facebook.stackoverflow.com/questions/4528101/ssl-connect-returned-1-errno-0-state-sslv3-read-server-certificate-b-certificat">SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed</a></p> <p>But I <strong>dont</strong> think this is my issue, and again, I am attempting to us CURL directly to ensure its not a Ruby/OpenSSL issue.</p> <p>Plus, since FB says <code>callback verification failed</code> it makes me think the error is on FBs end when it is verifying MY callback URL.</p> <p>Any help would be appreciated.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload