我通过LetsEncrypt在我的域https://blog.andytriboletti.com上安装了https Mac或iPhone上的浏览器没有错误。 我注意到Facebook用于预览的开放式图形URL刮刀无法正常工作。
调查后我注意到wget https://blog.andytriboletti.com在我的Macbook上有效,但在我的Centos服务器上无效。在Mac上我使用的是基于darwin15.2.0构建的wget版本GNU Wget 1.17.1。在Centos上我使用的是基于linux-gnu构建的GNU Wget 1.14。我升级到基于linux-gnu构建的GNU Wget 1.18,它仍然无效。
Debugger如何看到您的网址为空: https://developers.facebook.com/tools/debug/echo/?q=http%3A%2F%2Fblog.andytriboletti.com%2F
我在Facebook上打开了一个错误:https://developers.facebook.com/bugs/546742535513914/
我尝试使用Google Plus发布网站,预览有效:https://plus.google.com/+AndyTriboletti/posts/3uzLN83Ysgn
wget --version的完整输出,它可以在我的Macbook上下载https://blog.andytriboletti.com/:
Andys-MBP:~ andytriboletti$ brew upgrade wget
Error: wget 1.17.1 already installed
Andys-MBP:~ andytriboletti$ wget --version
GNU Wget 1.17.1 built on darwin15.2.0.
+digest -gpgme +https +ipv6 -iri +large-file -metalink -nls +ntlm
+opie -psl +ssl/openssl
Wgetrc:
/usr/local/etc/wgetrc (system)
Compile:
clang -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/usr/local/etc/wgetrc"
-DLOCALEDIR="/usr/local/Cellar/wget/1.17.1/share/locale" -I.
-I../lib -I../lib -I/usr/local/opt/openssl/include -DNDEBUG
Link:
clang -DNDEBUG -L/usr/local/opt/openssl/lib -lssl -lcrypto -ldl -lz
ftp-opie.o openssl.o http-ntlm.o ../lib/libgnu.a
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Originally written by Hrvoje Niksic <hniksic@xemacs.org>.
Please send bug reports and questions to <bug-wget@gnu.org>.
Andys-MBP:~ andytriboletti$ wget https://blog.andytriboletti.com/
--2016-06-20 15:44:41-- https://blog.andytriboletti.com/
Resolving blog.andytriboletti.com... 104.237.138.56, 2600:3c00::f03c:91ff:fe84:6879
Connecting to blog.andytriboletti.com|104.237.138.56|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'index.html.16'
index.html.16 [ <=> ] 55.68K --.-KB/s in 0.09s
2016-06-20 15:44:41 (641 KB/s) - 'index.html.16' saved [57012]
当我在Linux服务器上运行时,我收到错误:
-bash-4.2$ wget https://blog.andytriboletti.com/
--2016-06-19 13:10:44-- https://blog.andytriboletti.com/
Resolving blog.andytriboletti.com (blog.andytriboletti.com)... 2600:3c00::f03c:91ff:fe84:6879, 104.237.138.56
Connecting to blog.andytriboletti.com (blog.andytriboletti.com)|2600:3c00::f03c:91ff:fe84:6879|:443... connected.
ERROR: no certificate subject alternative name matches
requested host name ‘blog.andytriboletti.com’.
To connect to blog.andytriboletti.com insecurely, use `--no-check-certificate'.
和wget一样,这也是curl的一个问题。
Facebook网址预览适用于我使用Namecheap证书购买的域名。
答案 0 :(得分:0)
发布在letsencrypt论坛上,这个域的IPv6 dns记录存在问题,但Apache没有在此域上设置IPv6。