Facebook Object Debugger: Curl Error : SSL_PEER_CE

2019-04-10 09:09发布

I am unable to test the open graph tags on a site using the Facebook object debugger (lint tool) (https://developers.facebook.com/tools/debug/og/object/). The errors returned are:

Object at URL 'https://www.musicharvest.org/' of type 'website' is invalid because a required property 'og:title' of type 'string' was not provided.

Curl Error : SSL_PEER_CERTIFICATE SSL: no alternative certificate subject name matches target host name 'www.musicharvest.org'

and the result is that no open graph tags are interpreted.

The site exists and the SSL certificate contains both www.musicharvest.org and musicharvest.org.

Does anybody have an idea as to what the problem might be here?

2条回答
Animai°情兽
2楼-- · 2019-04-10 09:30

Searching for this problem I noticed my normal "http" URL I put in the debugger pointed to my registrar, instead of my website. So a DNS thing i thought, and i was right. When i changed the ipv6 AAAA record of my domain and pointed it to the ipv6 address of my server, the "SSL_PEER_CERTIFICATE SSL" error went away for my "https" links.

Maybe this also fixes it for you.

Seems like Facebook does some things with ipv6

查看更多
Fickle 薄情
3楼-- · 2019-04-10 09:34

I had the same issue. The problem is that Facebook addressed to my website using IPv6 protocol. The solution was to delete AAAA records in DNS manager on my hosting. After when I deleted it all started working perfect.

查看更多
登录 后发表回答