2016-06-21 12 views
0

私のドメインには、LetsEncrypt経由でhttpsがインストールされていますhttps://blog.andytriboletti.com MacまたはiPhoneのブラウザにエラーはありません。 プレビューに使用したFacebookのオープングラフのURLスクレーパーが機能しないという問題に気付いた。wgetを使用してサーバー上のhttps letsencryptサイトをダウンロードすることはできませんが、Macでは動作します。

調査したところ、私は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にアップグレードしましたが、それでも動作しません。デバッガは、あなたのURLが空白になって見てどのように

https://developers.facebook.com/tools/debug/echo/?q=http%3A%2F%2Fblog.andytriboletti.com%2F

私はFacebookのバグ開いている:私はグーグルプラスでサイトを投稿しようとしていると、プレビューが機能https://developers.facebook.com/bugs/546742535513914/

を: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 <[email protected]>. 
Please send bug reports and questions to <[email protected]>. 
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] 
01私は私の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コマンドを、それはまた、カールの問題です。

Facebook URLのプレビューは、Namecheap証明書を使用して購入したドメインで動作します。

答えて

関連する問題