質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
CentOS

CentOSは、主にRed Hat Enterprise Linux(RHEL)をベースにした、フリーのソフトウェアオペレーティングシステムです。

nginx

nginixは軽量で高性能なwebサーバーの1つです。BSD-likeライセンスのもとリリースされており、あわせてHTTPサーバ、リバースプロキシ、メールプロキシの機能も備えています。MacOSX、Windows、Linux、上で動作します。

Q&A

1回答

2888閲覧

nginxで起動しようとするとエラーが出る

ryuujinn

総合スコア72

CentOS

CentOSは、主にRed Hat Enterprise Linux(RHEL)をベースにした、フリーのソフトウェアオペレーティングシステムです。

nginx

nginixは軽量で高性能なwebサーバーの1つです。BSD-likeライセンスのもとリリースされており、あわせてHTTPサーバ、リバースプロキシ、メールプロキシの機能も備えています。MacOSX、Windows、Linux、上で動作します。

1グッド

1クリップ

投稿2018/10/05 04:42

編集2018/10/05 04:53

nginx,centos共に最新版を使用しています

systemctl start nginx

でnginxを起動しようとすると以下のエラーが出ます

Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.

そのため、

nginx -t

で構文がエラーがないか確認してみたところ以下のようなエラーメッセージが出ました

nginx: [emerg] BIO_new_file("/etc/letsencrypt/live/www.example.com/fullchain.pem")failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/www.example.com/fullchain.pem','r')error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nfginx.conf test failed

調べてみるとSELinuxが原因らしいと見つかったので状態を確認したらdisabledになっています

firewallの設定がおかしいのかと思い、

firewall-cmd --list-serviceで確認したところ
ssh dhcpv6-client http https共に設定しています

これはどのようにすれば解決するのでしょうか?

set0gut1👍を押しています

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

fullchain.pem ファイルのエラーではないですか?
/etc/letsencrypt/live/www.example.com/fullchain.pem が読み込めないエラーなので、

  • letsencrypt(certbot)で正しく証明書が発行されているか
  • 証明書ファイルが設置されており、nginxで読み取り可能の権限設定になっているか
  • (letsencryptを使用していない場合)設定項目(/etc/nginx/nfginx.conf 内にあると思われる)から該当箇所を削除する

間違っていたらすいません。

投稿2018/10/05 06:02

退会済みユーザー

退会済みユーザー

総合スコア0

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

ryuujinn

2018/10/05 06:36 編集

Harusamさん、コメントありがとうございます letsencrypt(certbot)で正しく証明書が発行をしようとすると以下のようなエラーが出ます certbotのインストールは問題なくできましたが、 サーバー証明書の作成でつまづきます これはどのようにすれば改善されますか? 行ったことは以下です # certbot certonly --webroot -w /usr/share/nginx/examplecom/wordpress -d www.example.com -d example.com IMPORTANT NOTES: The following errors were reported by the server: Domain: www.example.com Type: connection Detail: Fetching http://www.example.com/.well-known/acme-challengne/tjS6KRcuowBxbje6mYh4Z1gA4wWfHQI0JoL4pLoaZKA: Timeout during connect (likely firewall problem) To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address. additionally, please check that your computer has a publicly routable IP address and that no firewall are preventing the server from commnicating with the client . If you're using the webroot plugin, you should also verfy that you are serving files from the webroot path you provided.
退会済みユーザー

退会済みユーザー

2018/10/05 06:46 編集

certbotについてはあまり詳しくないのですが、 ・firewallで80番(HTTP)、443番(HTTPS)ポートは開放していますか? ・DNS設定は正しく行えていますか?(www.example.comの部分) certbotでのエラーは、デフォルトで /var/log/letsencrypt/letsencrypt.log に格納されます。 エラー文章をよく読み、調べてみてください。 それでもわからない場合はまた質問してください。 また、記憶が正しければcertbotでの証明書発行には回数制限がありますので、ご注意ください。(7日間に5回とかだったと思います。)
ryuujinn

2018/10/05 07:24

Harusamさん、返信ありがとうございます >・firewallで80番(HTTP)、443番(HTTPS)ポートは開放していますか? はい、両方とも開放しています >・DNS設定は正しく行えていますか?(www.example.comの部分) はい、DNS設定は正しく行えています 以下がlogにあったエラー内容なのですがどこをどう直せばいいのかご教授頂けないでしょうか? よろしくお願い致します 2018-10-05 15:45:31,429:DEBUG:certbot.main:certbot version: 0.27.1 2018-10-05 15:45:31,429:DEBUG:certbot.main:Arguments: ['--webroot', '-w', '/usr/share/nginx/adultjapanxyz/wordpress', '-d', 'www.example.com', '-d', 'adultjapan.xyz'] 2018-10-05 15:45:31,429:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot) 2018-10-05 15:45:31,454:DEBUG:certbot.log:Root logging level set at 20 2018-10-05 15:45:31,455:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log 2018-10-05 15:45:31,456:DEBUG:certbot.plugins.selection:Requested authenticator webroot and installer None 2018-10-05 15:45:31,457:DEBUG:certbot.plugins.selection:Single candidate plugin: * webroot Description: Place files in webroot directory Interfaces: IAuthenticator, IPlugin Entry point: webroot = certbot.plugins.webroot:Authenticator Initialized: <certbot.plugins.webroot.Authenticator object at 0x7fade6603a50> Prep: True 2018-10-05 15:45:31,457:DEBUG:certbot.plugins.selection:Selected authenticator <certbot.plugins.webroot.Authenticator object at 0x7fade6603a50> and installer None 2018-10-05 15:45:31,457:INFO:certbot.plugins.selection:Plugins selected: Authenticator webroot, Installer None 2018-10-05 15:45:31,482:DEBUG:certbot.main:Picked account: <Account(RegistrationResource(body=Registration(status=None, terms_of_service_agreed=None, agreement=None, only_return_existing=None, contact=(), key=None), uri=u'https://acme-v02.api.letsencrypt.org/acme/acct/43278333', new_authzr_uri=None, terms_of_service=None), f69f8bf3fcce4767be3138e9f68d7f83, Meta(creation_host=u'localhost.localdomain', creation_dt=datetime.datetime(2018, 10, 4, 16, 48, 44, tzinfo=<UTC>)))> 2018-10-05 15:45:31,491:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/directory. 2018-10-05 15:45:31,500:INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org 2018-10-05 15:45:31,685:DEBUG:requests.packages.urllib3.connectionpool:"GET /directory HTTP/1.1" 200 658 2018-10-05 15:45:31,685:DEBUG:acme.client:Received response: HTTP 200 content-length: 658 expires: Fri, 05 Oct 2018 06:45:31 GMT strict-transport-security: max-age=604800 server: nginx connection: keep-alive pragma: no-cache cache-control: max-age=0, no-cache, no-store date: Fri, 05 Oct 2018 06:45:31 GMT x-frame-options: DENY content-type: application/json { "jkb6_0KJCLI": "https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417", "keyChange": "https://acme-v02.api.letsencrypt.org/acme/key-change", "meta": { "caaIdentities": [ "letsencrypt.org" ], "termsOfService": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf", "website": "https://letsencrypt.org" }, "newAccount": "https://acme-v02.api.letsencrypt.org/acme/new-acct", "newNonce": "https://acme-v02.api.letsencrypt.org/acme/new-nonce", "newOrder": "https://acme-v02.api.letsencrypt.org/acme/new-order", "revokeCert": "https://acme-v02.api.letsencrypt.org/acme/revoke-cert" } 2018-10-05 15:45:31,686:INFO:certbot.main:Obtaining a new certificate 2018-10-05 15:45:31,762:DEBUG:certbot.crypto_util:Generating key (2048 bits): /etc/letsencrypt/keys/0004_key-certbot.pem 2018-10-05 15:45:31,766:DEBUG:certbot.crypto_util:Creating CSR: /etc/letsencrypt/csr/0004_csr-certbot.pem 2018-10-05 15:45:31,766:DEBUG:acme.client:Requesting fresh nonce 2018-10-05 15:45:31,767:DEBUG:acme.client:Sending HEAD request to https://acme-v02.api.letsencrypt.org/acme/new-order. 2018-10-05 15:45:31,918:DEBUG:requests.packages.urllib3.connectionpool:"HEAD /acme/new-order HTTP/1.1" 405 0 2018-10-05 15:45:31,918:DEBUG:acme.client:Received response: HTTP 405 content-length: 103 pragma: no-cache expires: Fri, 05 Oct 2018 06:45:31 GMT server: nginx connection: keep-alive allow: POST cache-control: max-age=0, no-cache, no-store date: Fri, 05 Oct 2018 06:45:31 GMT content-type: application/problem+json replay-nonce: wUyEL9ZQZdcUmfgND_syDnR7OBRJk8d5sQogzwZAP8Q 2018-10-05 15:45:31,918:DEBUG:acme.client:Storing nonce: wUyEL9ZQZdcUmfgND_syDnR7OBRJk8d5sQogzwZAP8Q 2018-10-05 15:45:31,919:DEBUG:acme.client:JWS payload: { "status": "pending", "identifiers": [ { "type": "dns", "value": "www.example.com" }, { "type": "dns", "value": "adultjapan.xyz" } ], "resource": "new-order" } 2018-10-05 15:45:31,922:DEBUG:acme.client:Sending POST request to https://acme-v02.api.letsencrypt.org/acme/new-order: { "protected": "eyJub25jZSI6ICJ3VXlFTDlaUVpkY1VtZmdORF9zeURuUjdPQlJKazhkNXNRb2d6d1pBUDhRIiwgInVybCI6ICJodHRwczovL2FjbWUtdjAyLmFwaS5sZXRzZW5jcnlwdC5vcmcvYWNtZS9uZXctb3JkZXIiLCAia2lkIjogImh0dHBzOi8vYWNtZS12MDIuYXBpLmxldHNlbmNyeXB0Lm9yZy9hY21lL2FjY3QvNDMyNzgzMzMiLCAiYWxnIjogIlJTMjU2In0", "payload": "ewogICJzdGF0dXMiOiAicGVuZGluZyIsIAogICJpZGVudGlmaWVycyI6IFsKICAgIHsKICAgICAgInR5cGUiOiAiZG5zIiwgCiAgICAgICJ2YWx1ZSI6ICJ3d3cuYWR1bHRqYXBhbi54eXoiCiAgICB9LCAKICAgIHsKICAgICAgInR5cGUiOiAiZG5zIiwgCiAgICAgICJ2YWx1ZSI6ICJhZHVsdGphcGFuLnh5eiIKICAgIH0KICBdLCAKICAicmVzb3VyY2UiOiAibmV3LW9yZGVyIgp9", "signature": "eJdW0VR_GPSqTOVqrgmw0vL8LMEWnoRRQ2FqzkLnAyWRG8UrJe-rJ5Cw2CVfc17XHnpglzi2ohdxfLrLD_Jo1xjjr29XiU1F6y2SSJUTfVM3bZMuAipzfO1RA3xLN2Ry0QupH75Ncppa67z1qmxijrUVQgYbSPUR2clcZ3t2OzhgYo7LsxPd_S5ME8PL2wNA_tejQxX-QfBVUtdPQpAyWhv39VTMw7ZlKFGwGGWiF9PTKR6mmsxTjRq_ebSl-IwqrsIE9zKskIbm1FTCwaaQMAox8B3yUAXn0DOOsykZ3kj-zkl7GXVJrrEfbTSrGxuuRTnCfBQeDUIVGAuufZ0-ZQ" } 2018-10-05 15:45:32,253:DEBUG:requests.packages.urllib3.connectionpool:"POST /acme/new-order HTTP/1.1" 201 541 2018-10-05 15:45:32,253:DEBUG:acme.client:Received response: HTTP 201 content-length: 541 expires: Fri, 05 Oct 2018 06:45:32 GMT cache-control: max-age=0, no-cache, no-store strict-transport-security: max-age=604800 server: nginx connection: keep-alive location: https://acme-v02.api.letsencrypt.org/acme/order/43278333/99256263 pragma: no-cache boulder-requester: 43278333 date: Fri, 05 Oct 2018 06:45:32 GMT x-frame-options: DENY content-type: application/json replay-nonce: eGW3Jj16Q74oT-SMMmXNCedCZ99YM5u1k4tEiMk99zo { "status": "pending", "expires": "2018-10-12T06:45:32.121256701Z", "identifiers": [ { "type": "dns", "value": "adultjapan.xyz" }, { "type": "dns", "value": "www.example.com" } ], "authorizations": [ "https://acme-v02.api.letsencrypt.org/acme/authz/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ", "https://acme-v02.api.letsencrypt.org/acme/authz/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14" ], "finalize": "https://acme-v02.api.letsencrypt.org/acme/finalize/43278333/99256263" } 2018-10-05 15:45:32,253:DEBUG:acme.client:Storing nonce: eGW3Jj16Q74oT-SMMmXNCedCZ99YM5u1k4tEiMk99zo 2018-10-05 15:45:32,254:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/acme/authz/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ. 2018-10-05 15:45:32,421:DEBUG:requests.packages.urllib3.connectionpool:"GET /acme/authz/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ HTTP/1.1" 200 906 2018-10-05 15:45:32,422:DEBUG:acme.client:Received response: HTTP 200 content-length: 906 expires: Fri, 05 Oct 2018 06:45:32 GMT strict-transport-security: max-age=604800 server: nginx connection: keep-alive pragma: no-cache cache-control: max-age=0, no-cache, no-store date: Fri, 05 Oct 2018 06:45:32 GMT x-frame-options: DENY content-type: application/json
ryuujinn

2018/10/05 07:25

続きです { "identifier": { "type": "dns", "value": "adultjapan.xyz" }, "status": "pending", "expires": "2018-10-12T06:45:32Z", "challenges": [ { "type": "http-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ/7962385951", "token": "KZBOpe1jr6q6rjw2fPrDhbgoSXRd70b6Jg8dhcNE3Qc" }, { "type": "dns-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ/7962385952", "token": "gnYz04xiGb6sTbmmjSwgo67M_xStbovVFpLJaGZzFkM" }, { "type": "tls-alpn-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ/7962385953", "token": "plMujfKctyiJwHvufKBaRhQUN4UehOyE0rpxpRorV94" } ] } 2018-10-05 15:45:32,423:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/acme/authz/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14. 2018-10-05 15:45:32,595:DEBUG:requests.packages.urllib3.connectionpool:"GET /acme/authz/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14 HTTP/1.1" 200 910 2018-10-05 15:45:32,596:DEBUG:acme.client:Received response: HTTP 200 content-length: 910 expires: Fri, 05 Oct 2018 06:45:32 GMT strict-transport-security: max-age=604800 server: nginx connection: keep-alive pragma: no-cache cache-control: max-age=0, no-cache, no-store date: Fri, 05 Oct 2018 06:45:32 GMT x-frame-options: DENY content-type: application/json { "identifier": { "type": "dns", "value": "www.example.com" }, "status": "pending", "expires": "2018-10-12T06:45:32Z", "challenges": [ { "type": "http-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14/7962385954", "token": "Bxe2UKLKlArD0f-nV25G3Z8owcd4C1jDu4hnoJBLohk" }, { "type": "tls-alpn-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14/7962385955", "token": "lwa5BYkh9N0wIyCdY6Ra1hltiNaebkM97XnLXcfPhQ0" }, { "type": "dns-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14/7962385956", "token": "dW2kGzb5IE8zmlqMAkttdRmsm7rG1H0OVVEUrD3P3PQ" } ] } 2018-10-05 15:45:32,597:INFO:certbot.auth_handler:Performing the following challenges: 2018-10-05 15:45:32,597:INFO:certbot.auth_handler:http-01 challenge for adultjapan.xyz 2018-10-05 15:45:32,600:INFO:certbot.auth_handler:http-01 challenge for www.example.com 2018-10-05 15:45:32,602:INFO:certbot.plugins.webroot:Using the webroot path /usr/share/nginx/adultjapanxyz/wordpress for all unmatched domains. 2018-10-05 15:45:32,605:DEBUG:certbot.plugins.webroot:Creating root challenges validation dir at /usr/share/nginx/adultjapanxyz/wordpress/.well-known/acme-challenge 2018-10-05 15:45:32,605:DEBUG:certbot.plugins.webroot:Creating root challenges validation dir at /usr/share/nginx/adultjapanxyz/wordpress/.well-known/acme-challenge 2018-10-05 15:45:32,612:DEBUG:certbot.plugins.webroot:Attempting to save validation to /usr/share/nginx/adultjapanxyz/wordpress/.well-known/acme-challenge/KZBOpe1jr6q6rjw2fPrDhbgoSXRd70b6Jg8dhcNE3Qc 2018-10-05 15:45:32,617:DEBUG:certbot.plugins.webroot:Attempting to save validation to /usr/share/nginx/adultjapanxyz/wordpress/.well-known/acme-challenge/Bxe2UKLKlArD0f-nV25G3Z8owcd4C1jDu4hnoJBLohk 2018-10-05 15:45:32,617:INFO:certbot.auth_handler:Waiting for verification... 2018-10-05 15:45:32,618:DEBUG:acme.client:JWS payload: { "keyAuthorization": "KZBOpe1jr6q6rjw2fPrDhbgoSXRd70b6Jg8dhcNE3Qc.F6LUc0WWY1GqvY8RfH74LyNYIRUrDsJtquorVIQuK38", "type": "http-01", "resource": "challenge" } 2018-10-05 15:45:32,622:DEBUG:acme.client:Sending POST request to https://acme-v02.api.letsencrypt.org/acme/challenge/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ/7962385951: { "protected": "eyJub25jZSI6ICJlR1czSmoxNlE3NG9ULVNNTW1YTkNlZENaOTlZTTV1MWs0dEVpTWs5OXpvIiwgInVybCI6ICJodHRwczovL2FjbWUtdjAyLmFwaS5sZXRzZW5jcnlwdC5vcmcvYWNtZS9jaGFsbGVuZ2Uvamc0aGVWZEk5UjZlT2JaMklXOXRCNkNxNGFNS3V0MXMtYk5iLTBiMWZEUS83OTYyMzg1OTUxIiwgImtpZCI6ICJodHRwczovL2FjbWUtdjAyLmFwaS5sZXRzZW5jcnlwdC5vcmcvYWNtZS9hY2N0LzQzMjc4MzMzIiwgImFsZyI6ICJSUzI1NiJ9", "payload": "ewogICJrZXlBdXRob3JpemF0aW9uIjogIktaQk9wZTFqcjZxNnJqdzJmUHJEaGJnb1NYUmQ3MGI2Smc4ZGhjTkUzUWMuRjZMVWMwV1dZMUdxdlk4UmZINzRMeU5ZSVJVckRzSnRxdW9yVklRdUszOCIsIAogICJ0eXBlIjogImh0dHAtMDEiLCAKICAicmVzb3VyY2UiOiAiY2hhbGxlbmdlIgp9", "signature": "Mt_ugcwPKjGYfGZB_ogfIpKnt6dg2g0b9emtCP9FuQuoeXhMJkUDXVz-0uaqG0zX00b-C9c-siiRmK3pItuexxAQlcQnJfPEvxFSh5F7qTs6KMdk2KcWBuMP44z0VQkldFEPRW6Yk5Uqw4OqnrdmQDX80jWr-VsAQGY7YpqCjYHbTYga9DgLhsXcZLt0x7wYDYjuMzLbQTPYv8HCCK1cL95GWH99diU-D5MWzkZQydTE-76uGZMvvJ_bDVbdGgSLnc3vr80jqhMFzMVUrawtkqaGpx3WkG-ohYDQXVcVYUkHuOg71TiY7Rv_BtIZuYc4ItNP1TCZpBfC2LeLtY33Rw" } 2018-10-05 15:45:32,832:DEBUG:requests.packages.urllib3.connectionpool:"POST /acme/challenge/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ/7962385951 HTTP/1.1" 200 223 2018-10-05 15:45:32,833:DEBUG:acme.client:Received response: HTTP 200 content-length: 223 expires: Fri, 05 Oct 2018 06:45:32 GMT cache-control: max-age=0, no-cache, no-store strict-transport-security: max-age=604800 server: nginx connection: keep-alive link: <https://acme-v02.api.letsencrypt.org/acme/authz/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ>;rel="up" location: https://acme-v02.api.letsencrypt.org/acme/challenge/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ/7962385951 pragma: no-cache boulder-requester: 43278333 date: Fri, 05 Oct 2018 06:45:32 GMT x-frame-options: DENY content-type: application/json replay-nonce: qCcr48lJ3WT83Pfqetk5Is7aNViZt8mLwRuaKzx1khE { "type": "http-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ/7962385951", "token": "KZBOpe1jr6q6rjw2fPrDhbgoSXRd70b6Jg8dhcNE3Qc" } 2018-10-05 15:45:32,833:DEBUG:acme.client:Storing nonce: qCcr48lJ3WT83Pfqetk5Is7aNViZt8mLwRuaKzx1khE 2018-10-05 15:45:32,834:DEBUG:acme.client:JWS payload: { "keyAuthorization": "Bxe2UKLKlArD0f-nV25G3Z8owcd4C1jDu4hnoJBLohk.F6LUc0WWY1GqvY8RfH74LyNYIRUrDsJtquorVIQuK38", "type": "http-01", "resource": "challenge" } 2018-10-05 15:45:32,838:DEBUG:acme.client:Sending POST request to https://acme-v02.api.letsencrypt.org/acme/challenge/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14/7962385954: { "protected": "eyJub25jZSI6ICJxQ2NyNDhsSjNXVDgzUGZxZXRrNUlzN2FOVmladDhtTHdSdWFLengxa2hFIiwgInVybCI6ICJodHRwczovL2FjbWUtdjAyLmFwaS5sZXRzZW5jcnlwdC5vcmcvYWNtZS9jaGFsbGVuZ2UvQTc0T2R2RWxjMFlRT193YnRqNG9hNTlvVkI4ZkE5bnUyb3B5bmRWeGMxNC83OTYyMzg1OTU0IiwgImtpZCI6ICJodHRwczovL2FjbWUtdjAyLmFwaS5sZXRzZW5jcnlwdC5vcmcvYWNtZS9hY2N0LzQzMjc4MzMzIiwgImFsZyI6ICJSUzI1NiJ9", "payload": "ewogICJrZXlBdXRob3JpemF0aW9uIjogIkJ4ZTJVS0xLbEFyRDBmLW5WMjVHM1o4b3djZDRDMWpEdTRobm9KQkxvaGsuRjZMVWMwV1dZMUdxdlk4UmZINzRMeU5ZSVJVckRzSnRxdW9yVklRdUszOCIsIAogICJ0eXBlIjogImh0dHAtMDEiLCAKICAicmVzb3VyY2UiOiAiY2hhbGxlbmdlIgp9", "signature": "Pt7Iv0xatCzpzTzX-qi-_HHwRFth5lVbESomks_8L3XYKmojvdLS8Hwt1_di0ccZ0sVtvM3Z4f882VWXXAp2Awoc3DM2meYm85y5qEsd9eVPiNEhxldX6W4m7x5T9-R5nMX4FFaWII6e7kWTPQ6E67X-n-CilHOlPAdP4hFt1TW5WBtupr-PwVvYKYct0xPNyuMztsoXBoGBgsy7otVcx2egWsm9sIJoqU78ilneq7eAOTLmqgKOoXN88TNF31YlqQPPk2hDC8MdYShMv_loUfJZqc-F9NVfeF5mjCApu4ODsCpILWVx0Qrbtepxiw-zPxsVdcQxwE6AcrjvgZuCng" }
ryuujinn

2018/10/05 07:26

2018-10-05 15:45:33,068:DEBUG:requests.packages.urllib3.connectionpool:"POST /acme/challenge/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14/7962385954 HTTP/1.1" 200 223 2018-10-05 15:45:33,069:DEBUG:acme.client:Received response: HTTP 200 content-length: 223 expires: Fri, 05 Oct 2018 06:45:33 GMT cache-control: max-age=0, no-cache, no-store strict-transport-security: max-age=604800 server: nginx connection: keep-alive link: <https://acme-v02.api.letsencrypt.org/acme/authz/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14>;rel="up" location: https://acme-v02.api.letsencrypt.org/acme/challenge/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14/7962385954 pragma: no-cache boulder-requester: 43278333 date: Fri, 05 Oct 2018 06:45:33 GMT x-frame-options: DENY content-type: application/json replay-nonce: e_ugkifNK_yqKPBtFEGEJX_W4nvv6gFKSuXE7wEM7Dk { "type": "http-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14/7962385954", "token": "Bxe2UKLKlArD0f-nV25G3Z8owcd4C1jDu4hnoJBLohk" } 2018-10-05 15:45:33,069:DEBUG:acme.client:Storing nonce: e_ugkifNK_yqKPBtFEGEJX_W4nvv6gFKSuXE7wEM7Dk 2018-10-05 15:45:36,073:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/acme/authz/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ. 2018-10-05 15:45:36,251:DEBUG:requests.packages.urllib3.connectionpool:"GET /acme/authz/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ HTTP/1.1" 200 906 2018-10-05 15:45:36,251:DEBUG:acme.client:Received response: HTTP 200 content-length: 906 expires: Fri, 05 Oct 2018 06:45:36 GMT strict-transport-security: max-age=604800 server: nginx connection: keep-alive pragma: no-cache cache-control: max-age=0, no-cache, no-store date: Fri, 05 Oct 2018 06:45:36 GMT x-frame-options: DENY content-type: application/json { "identifier": { "type": "dns", "value": "adultjapan.xyz" }, "status": "pending", "expires": "2018-10-12T06:45:32Z", "challenges": [ { "type": "http-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ/7962385951", "token": "KZBOpe1jr6q6rjw2fPrDhbgoSXRd70b6Jg8dhcNE3Qc" }, { "type": "dns-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ/7962385952", "token": "gnYz04xiGb6sTbmmjSwgo67M_xStbovVFpLJaGZzFkM" }, { "type": "tls-alpn-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ/7962385953", "token": "plMujfKctyiJwHvufKBaRhQUN4UehOyE0rpxpRorV94" } ] } 2018-10-05 15:45:36,253:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/acme/authz/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14. 2018-10-05 15:45:36,432:DEBUG:requests.packages.urllib3.connectionpool:"GET /acme/authz/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14 HTTP/1.1" 200 910 2018-10-05 15:45:36,433:DEBUG:acme.client:Received response: HTTP 200 content-length: 910 expires: Fri, 05 Oct 2018 06:45:36 GMT strict-transport-security: max-age=604800 server: nginx connection: keep-alive pragma: no-cache cache-control: max-age=0, no-cache, no-store date: Fri, 05 Oct 2018 06:45:36 GMT x-frame-options: DENY content-type: application/json { "identifier": { "type": "dns", "value": "www.example.com" }, "status": "pending", "expires": "2018-10-12T06:45:32Z", "challenges": [ { "type": "http-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14/7962385954", "token": "Bxe2UKLKlArD0f-nV25G3Z8owcd4C1jDu4hnoJBLohk" }, { "type": "tls-alpn-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14/7962385955", "token": "lwa5BYkh9N0wIyCdY6Ra1hltiNaebkM97XnLXcfPhQ0" }, { "type": "dns-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14/7962385956", "token": "dW2kGzb5IE8zmlqMAkttdRmsm7rG1H0OVVEUrD3P3PQ" } ] } 2018-10-05 15:45:39,438:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/acme/authz/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ. 2018-10-05 15:45:39,616:DEBUG:requests.packages.urllib3.connectionpool:"GET /acme/authz/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ HTTP/1.1" 200 906 2018-10-05 15:45:39,617:DEBUG:acme.client:Received response: HTTP 200 content-length: 906 expires: Fri, 05 Oct 2018 06:45:39 GMT strict-transport-security: max-age=604800 server: nginx connection: keep-alive pragma: no-cache cache-control: max-age=0, no-cache, no-store date: Fri, 05 Oct 2018 06:45:39 GMT x-frame-options: DENY content-type: application/json { "identifier": { "type": "dns", "value": "adultjapan.xyz" }, "status": "pending", "expires": "2018-10-12T06:45:32Z", "challenges": [ { "type": "http-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ/7962385951", "token": "KZBOpe1jr6q6rjw2fPrDhbgoSXRd70b6Jg8dhcNE3Qc" }, { "type": "dns-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ/7962385952", "token": "gnYz04xiGb6sTbmmjSwgo67M_xStbovVFpLJaGZzFkM" }, { "type": "tls-alpn-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ/7962385953", "token": "plMujfKctyiJwHvufKBaRhQUN4UehOyE0rpxpRorV94" } ] }
ryuujinn

2018/10/05 07:26

2018-10-05 15:45:39,618:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/acme/authz/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14. 2018-10-05 15:45:39,781:DEBUG:requests.packages.urllib3.connectionpool:"GET /acme/authz/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14 HTTP/1.1" 200 910 2018-10-05 15:45:39,782:DEBUG:acme.client:Received response: HTTP 200 content-length: 910 expires: Fri, 05 Oct 2018 06:45:39 GMT strict-transport-security: max-age=604800 server: nginx connection: keep-alive pragma: no-cache cache-control: max-age=0, no-cache, no-store date: Fri, 05 Oct 2018 06:45:39 GMT x-frame-options: DENY content-type: application/json { "identifier": { "type": "dns", "value": "www.example.com" }, "status": "pending", "expires": "2018-10-12T06:45:32Z", "challenges": [ { "type": "http-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14/7962385954", "token": "Bxe2UKLKlArD0f-nV25G3Z8owcd4C1jDu4hnoJBLohk" }, { "type": "tls-alpn-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14/7962385955", "token": "lwa5BYkh9N0wIyCdY6Ra1hltiNaebkM97XnLXcfPhQ0" }, { "type": "dns-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14/7962385956", "token": "dW2kGzb5IE8zmlqMAkttdRmsm7rG1H0OVVEUrD3P3PQ" } ] } 2018-10-05 15:45:42,786:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/acme/authz/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ. 2018-10-05 15:45:42,966:DEBUG:requests.packages.urllib3.connectionpool:"GET /acme/authz/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ HTTP/1.1" 200 906 2018-10-05 15:45:42,967:DEBUG:acme.client:Received response: HTTP 200 content-length: 906 expires: Fri, 05 Oct 2018 06:45:42 GMT strict-transport-security: max-age=604800 server: nginx connection: keep-alive pragma: no-cache cache-control: max-age=0, no-cache, no-store date: Fri, 05 Oct 2018 06:45:42 GMT x-frame-options: DENY content-type: application/json { "identifier": { "type": "dns", "value": "adultjapan.xyz" }, "status": "pending", "expires": "2018-10-12T06:45:32Z", "challenges": [ { "type": "http-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ/7962385951", "token": "KZBOpe1jr6q6rjw2fPrDhbgoSXRd70b6Jg8dhcNE3Qc" }, { "type": "dns-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ/7962385952", "token": "gnYz04xiGb6sTbmmjSwgo67M_xStbovVFpLJaGZzFkM" }, { "type": "tls-alpn-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ/7962385953", "token": "plMujfKctyiJwHvufKBaRhQUN4UehOyE0rpxpRorV94" } ] } 2018-10-05 15:45:42,968:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/acme/authz/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14. 2018-10-05 15:45:43,146:DEBUG:requests.packages.urllib3.connectionpool:"GET /acme/authz/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14 HTTP/1.1" 200 910 2018-10-05 15:45:43,147:DEBUG:acme.client:Received response: HTTP 200 content-length: 910 expires: Fri, 05 Oct 2018 06:45:43 GMT strict-transport-security: max-age=604800 server: nginx connection: keep-alive pragma: no-cache cache-control: max-age=0, no-cache, no-store date: Fri, 05 Oct 2018 06:45:43 GMT x-frame-options: DENY content-type: application/json { "identifier": { "type": "dns", "value": "www.example.com" }, "status": "pending", "expires": "2018-10-12T06:45:32Z", "challenges": [ { "type": "http-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14/7962385954", "token": "Bxe2UKLKlArD0f-nV25G3Z8owcd4C1jDu4hnoJBLohk" }, { "type": "tls-alpn-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14/7962385955", "token": "lwa5BYkh9N0wIyCdY6Ra1hltiNaebkM97XnLXcfPhQ0" }, { "type": "dns-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14/7962385956", "token": "dW2kGzb5IE8zmlqMAkttdRmsm7rG1H0OVVEUrD3P3PQ" } ] } 2018-10-05 15:45:46,149:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/acme/authz/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ. 2018-10-05 15:45:46,329:DEBUG:requests.packages.urllib3.connectionpool:"GET /acme/authz/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ HTTP/1.1" 200 906 2018-10-05 15:45:46,330:DEBUG:acme.client:Received response: HTTP 200 content-length: 906 expires: Fri, 05 Oct 2018 06:45:46 GMT strict-transport-security: max-age=604800 server: nginx connection: keep-alive pragma: no-cache cache-control: max-age=0, no-cache, no-store date: Fri, 05 Oct 2018 06:45:46 GMT x-frame-options: DENY content-type: application/json
ryuujinn

2018/10/05 07:27

{ "identifier": { "type": "dns", "value": "adultjapan.xyz" }, "status": "pending", "expires": "2018-10-12T06:45:32Z", "challenges": [ { "type": "http-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ/7962385951", "token": "KZBOpe1jr6q6rjw2fPrDhbgoSXRd70b6Jg8dhcNE3Qc" }, { "type": "dns-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ/7962385952", "token": "gnYz04xiGb6sTbmmjSwgo67M_xStbovVFpLJaGZzFkM" }, { "type": "tls-alpn-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/jg4heVdI9R6eObZ2IW9tB6Cq4aMKut1s-bNb-0b1fDQ/7962385953", "token": "plMujfKctyiJwHvufKBaRhQUN4UehOyE0rpxpRorV94" } ] } 2018-10-05 15:45:46,331:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/acme/authz/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14. 2018-10-05 15:45:46,510:DEBUG:requests.packages.urllib3.connectionpool:"GET /acme/authz/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14 HTTP/1.1" 200 1551 2018-10-05 15:45:46,511:DEBUG:acme.client:Received response: HTTP 200 content-length: 1551 expires: Fri, 05 Oct 2018 06:45:46 GMT strict-transport-security: max-age=604800 server: nginx connection: keep-alive pragma: no-cache cache-control: max-age=0, no-cache, no-store date: Fri, 05 Oct 2018 06:45:46 GMT x-frame-options: DENY content-type: application/json { "identifier": { "type": "dns", "value": "www.example.com" }, "status": "invalid", "expires": "2018-10-12T06:45:32Z", "challenges": [ { "type": "http-01", "status": "invalid", "error": { "type": "urn:ietf:params:acme:error:connection", "detail": "Fetching http://www.example.com/.well-known/acme-challenge/Bxe2UKLKlArD0f-nV25G3Z8owcd4C1jDu4hnoJBLohk: Timeout during connect (likely firewall problem)", "status": 400 }, "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14/7962385954", "token": "Bxe2UKLKlArD0f-nV25G3Z8owcd4C1jDu4hnoJBLohk", "validationRecord": [ { "url": "http://www.example.com/.well-known/acme-challenge/Bxe2UKLKlArD0f-nV25G3Z8owcd4C1jDu4hnoJBLohk", "hostname": "www.example.com", "port": "80", "addressesResolved": [ "121.110.20.178" ], "addressUsed": "121.110.20.178" } ] }, { "type": "tls-alpn-01", "status": "invalid", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14/7962385955", "token": "lwa5BYkh9N0wIyCdY6Ra1hltiNaebkM97XnLXcfPhQ0" }, { "type": "dns-01", "status": "invalid", "url": "https://acme-v02.api.letsencrypt.org/acme/challenge/A74OdvElc0YQO_wbtj4oa59oVB8fA9nu2opyndVxc14/7962385956", "token": "dW2kGzb5IE8zmlqMAkttdRmsm7rG1H0OVVEUrD3P3PQ" } ] } 2018-10-05 15:45:46,512:DEBUG:certbot.reporter:Reporting to user: The following errors were reported by the server: Domain: www.example.com Type: connection Detail: Fetching http://www.example.com/.well-known/acme-challenge/Bxe2UKLKlArD0f-nV25G3Z8owcd4C1jDu4hnoJBLohk: Timeout during connect (likely firewall problem) To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address. Additionally, please check that your computer has a publicly routable IP address and that no firewalls are preventing the server from communicating with the client. If you're using the webroot plugin, you should also verify that you are serving files from the webroot path you provided. 2018-10-05 15:45:46,513:DEBUG:certbot.error_handler:Encountered exception: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/certbot/auth_handler.py", line 82, in handle_authorizations self._respond(aauthzrs, resp, best_effort) File "/usr/lib/python2.7/site-packages/certbot/auth_handler.py", line 155, in _respond self._poll_challenges(aauthzrs, chall_update, best_effort) File "/usr/lib/python2.7/site-packages/certbot/auth_handler.py", line 226, in _poll_challenges raise errors.FailedChallenges(all_failed_achalls) FailedChallenges: Failed authorization procedure. www.example.com (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://www.example.com/.well-known/acme-challenge/Bxe2UKLKlArD0f-nV25G3Z8owcd4C1jDu4hnoJBLohk: Timeout during connect (likely firewall problem) 2018-10-05 15:45:46,513:DEBUG:certbot.error_handler:Calling registered functions 2018-10-05 15:45:46,514:INFO:certbot.auth_handler:Cleaning up challenges 2018-10-05 15:45:46,514:DEBUG:certbot.plugins.webroot:Removing /usr/share/nginx/adultjapanxyz/wordpress/.well-known/acme-challenge/KZBOpe1jr6q6rjw2fPrDhbgoSXRd70b6Jg8dhcNE3Qc 2018-10-05 15:45:46,515:DEBUG:certbot.plugins.webroot:Removing /usr/share/nginx/adultjapanxyz/wordpress/.well-known/acme-challenge/Bxe2UKLKlArD0f-nV25G3Z8owcd4C1jDu4hnoJBLohk 2018-10-05 15:45:46,515:DEBUG:certbot.plugins.webroot:All challenges cleaned up 2018-10-05 15:45:46,516:DEBUG:certbot.log:Exiting abnormally: Traceback (most recent call last): File "/bin/certbot", line 9, in <module> load_entry_point('certbot==0.27.1', 'console_scripts', 'certbot')() File "/usr/lib/python2.7/site-packages/certbot/main.py", line 1364, in main return config.func(config, plugins) File "/usr/lib/python2.7/site-packages/certbot/main.py", line 1254, in certonly lineage = _get_and_save_cert(le_client, config, domains, certname, lineage) File "/usr/lib/python2.7/site-packages/certbot/main.py", line 120, in _get_and_save_cert lineage = le_client.obtain_and_enroll_certificate(domains, certname) File "/usr/lib/python2.7/site-packages/certbot/client.py", line 391, in obtain_and_enroll_certificate cert, chain, key, _ = self.obtain_certificate(domains) File "/usr/lib/python2.7/site-packages/certbot/client.py", line 334, in obtain_certificate orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names) File "/usr/lib/python2.7/site-packages/certbot/client.py", line 370, in _get_order_and_authorizations authzr = self.auth_handler.handle_authorizations(orderr, best_effort) File "/usr/lib/python2.7/site-packages/certbot/auth_handler.py", line 82, in handle_authorizations self._respond(aauthzrs, resp, best_effort) File "/usr/lib/python2.7/site-packages/certbot/auth_handler.py", line 155, in _respond self._poll_challenges(aauthzrs, chall_update, best_effort) File "/usr/lib/python2.7/site-packages/certbot/auth_handler.py", line 226, in _poll_challenges raise errors.FailedChallenges(all_failed_achalls) FailedChallenges: Failed authorization procedure. www.example.com (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://www.example.com/.well-known/acme-challenge/Bxe2UKLKlArD0f-nV25G3Z8owcd4C1jDu4hnoJBLohk: Timeout during connect (likely firewall problem)
退会済みユーザー

退会済みユーザー

2018/10/05 07:40

ざっと確認しましたが、www.example.comの部分はお持ちのドメインに置き換えていますよね? サーバのhostname設定も見直してみてください。(確認方法は、OSやバージョンによって異なるため調べてください。) 未設定か、別のドメインをhostnameに設定している場合(複数のドメインを設定している場合等)は、bind(named)などのDNSサーバの設定も必要になる場合があります。 それでも解決しない場合、私では対応できかねますので他の方に質問お願いします。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだベストアンサーが選ばれていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問