vps交流

转战lnmp失败,ssl错误


[Fri 13 May 2022 05:44:26 PM CST] 我的域名:Verify error:我的ip: Invalid response from http://我的域名/.well-known/acme-challenge/pGOiqu1qje9rLX-toCcuTdI6vDJLvHrN9fvoJVRAAco: 404
[Fri 13 May 2022 05:44:26 PM CST] Please check log file for more details: /usr/local/acme.sh/acme.sh.log
Let’s Encrypt SSL Certificate create failed!

日志显示time out啥的,这个怎么解?试了其他几个安装选项都失败了

用那台直接 curl http://你的域名  如果是返回403,就检查lnmp ssl add里的站点路径有没有对
Please check log file for more details: /usr/local/acme.sh/acme.sh.log转战lnmp失败,ssl错误
那就再转回宝塔

很难不支持

不了,继续折腾

acme要注册了才给ssl 是不是这个原因

asd1314s 发表于 2022-5-13 17:55
Please check log file for more details: /usr/local/acme.sh/acme.sh.log

[Fri 13 May 2022 05:59:51 PM CST] Running cmd: issue
[Fri 13 May 2022 05:59:51 PM CST] _main_domain=’我的域名’
[Fri 13 May 2022 05:59:51 PM CST] _alt_domains=’no’
[Fri 13 May 2022 05:59:51 PM CST] Using config home:/usr/local/acme.sh
[Fri 13 May 2022 05:59:51 PM CST] ACME_DIRECTORY=’https://acme-v02.api.letsencrypt.org/directory’
[Fri 13 May 2022 05:59:51 PM CST] DOMAIN_PATH=’/usr/local/nginx/conf/ssl/我的域名’
[Fri 13 May 2022 05:59:51 PM CST] Le_NextRenewTime
[Fri 13 May 2022 05:59:51 PM CST] Using ACME_DIRECTORY: https://acme-v02.api.letsencrypt.org/directory
[Fri 13 May 2022 05:59:51 PM CST] _init api for server: https://acme-v02.api.letsencrypt.org/directory
[Fri 13 May 2022 05:59:51 PM CST] GET
[Fri 13 May 2022 05:59:51 PM CST] url=’https://acme-v02.api.letsencrypt.org/directory’
[Fri 13 May 2022 05:59:51 PM CST] timeout=
[Fri 13 May 2022 05:59:51 PM CST] _CURL=’curl –silent –dump-header /usr/local/acme.sh/http.header  -L ‘
[Fri 13 May 2022 05:59:52 PM CST] ret=’0′
[Fri 13 May 2022 05:59:52 PM CST] ACME_KEY_CHANGE=’https://acme-v02.api.letsencrypt.org/acme/key-change’
[Fri 13 May 2022 05:59:52 PM CST] ACME_NEW_AUTHZ
[Fri 13 May 2022 05:59:52 PM CST] ACME_NEW_ORDER=’https://acme-v02.api.letsencrypt.org/acme/new-order’
[Fri 13 May 2022 05:59:52 PM CST] ACME_NEW_ACCOUNT=’https://acme-v02.api.letsencrypt.org/acme/new-acct’
[Fri 13 May 2022 05:59:52 PM CST] ACME_REVOKE_CERT=’https://acme-v02.api.letsencrypt.org/acme/revoke-cert’
[Fri 13 May 2022 05:59:52 PM CST] ACME_AGREEMENT=’https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf’
[Fri 13 May 2022 05:59:52 PM CST] ACME_NEW_NONCE=’https://acme-v02.api.letsencrypt.org/acme/new-nonce’
[Fri 13 May 2022 05:59:52 PM CST] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Fri 13 May 2022 05:59:52 PM CST] _on_before_issue
[Fri 13 May 2022 05:59:52 PM CST] _chk_main_domain=’我的域名’
[Fri 13 May 2022 05:59:52 PM CST] _chk_alt_domains
[Fri 13 May 2022 05:59:52 PM CST] Le_LocalAddress
[Fri 13 May 2022 05:59:52 PM CST] d=’我的域名’
[Fri 13 May 2022 05:59:52 PM CST] Check for domain=’我的域名’
[Fri 13 May 2022 05:59:52 PM CST] _currentRoot=’ssl’
[Fri 13 May 2022 05:59:52 PM CST] d
[Fri 13 May 2022 05:59:52 PM CST] _saved_account_key_hash is not changed, skip register account.
[Fri 13 May 2022 05:59:52 PM CST] Read key length:2048
[Fri 13 May 2022 05:59:52 PM CST] _createcsr
[Fri 13 May 2022 05:59:52 PM CST] Single domain=’我的域名’
[Fri 13 May 2022 05:59:52 PM CST] Getting domain auth token for each domain
[Fri 13 May 2022 05:59:52 PM CST] d
[Fri 13 May 2022 05:59:52 PM CST] url=’https://acme-v02.api.letsencrypt.org/acme/new-order’
[Fri 13 May 2022 05:59:52 PM CST] payload='{"identifiers": [{"type":"dns","value":"我的域名"}]}’
[Fri 13 May 2022 05:59:52 PM CST] RSA key
[Fri 13 May 2022 05:59:52 PM CST] HEAD
[Fri 13 May 2022 05:59:52 PM CST] _post_url=’https://acme-v02.api.letsencrypt.org/acme/new-nonce’
[Fri 13 May 2022 05:59:52 PM CST] _CURL=’curl –silent –dump-header /usr/local/acme.sh/http.header  -L  -I  ‘
[Fri 13 May 2022 05:59:52 PM CST] _ret=’0′
[Fri 13 May 2022 05:59:52 PM CST] POST
[Fri 13 May 2022 05:59:52 PM CST] _post_url=’https://acme-v02.api.letsencrypt.org/acme/new-order’
[Fri 13 May 2022 05:59:52 PM CST] _CURL=’curl –silent –dump-header /usr/local/acme.sh/http.header  -L ‘
[Fri 13 May 2022 05:59:53 PM CST] _ret=’0′
[Fri 13 May 2022 05:59:53 PM CST] code=’201′
[Fri 13 May 2022 05:59:53 PM CST] Le_LinkOrder=’https://acme-v02.api.letsencrypt.org/acme/order/541361926/88259590146′
[Fri 13 May 2022 05:59:53 PM CST] Le_OrderFinalize=’https://acme-v02.api.letsencrypt.org/acme/finalize/541361926/88259590146′
[Fri 13 May 2022 05:59:53 PM CST] url=’https://acme-v02.api.letsencrypt.org/acme/authz-v3/108102364416′
[Fri 13 May 2022 05:59:53 PM CST] payload
[Fri 13 May 2022 05:59:53 PM CST] POST
[Fri 13 May 2022 05:59:53 PM CST] _post_url=’https://acme-v02.api.letsencrypt.org/acme/authz-v3/108102364416′
[Fri 13 May 2022 05:59:53 PM CST] _CURL=’curl –silent –dump-header /usr/local/acme.sh/http.header  -L ‘
[Fri 13 May 2022 05:59:53 PM CST] _ret=’0′
[Fri 13 May 2022 05:59:53 PM CST] code=’200′
[Fri 13 May 2022 05:59:53 PM CST] d=’我的域名’
[Fri 13 May 2022 05:59:53 PM CST] Getting webroot for domain=’我的域名’
[Fri 13 May 2022 05:59:53 PM CST] _w=’ssl’
[Fri 13 May 2022 05:59:53 PM CST] _currentRoot=’ssl’
[Fri 13 May 2022 05:59:53 PM CST] entry=’"type":"http-01","status":"pending","url":"https://acme-v02.api.letsencrypt.org/acme/chall-v3/108102364416/mW2mzg","token":"r9wnDsTa8zFGwl5LBbeA4KQgDbR5RYf8sNKbeWzKkL0"’
[Fri 13 May 2022 05:59:53 PM CST] token=’r9wnDsTa8zFGwl5LBbeA4KQgDbR5RYf8sNKbeWzKkL0′
[Fri 13 May 2022 05:59:53 PM CST] uri=’https://acme-v02.api.letsencrypt.org/acme/chall-v3/108102364416/mW2mzg’
[Fri 13 May 2022 05:59:53 PM CST] keyauthorization=’r9wnDsTa8zFGwl5LBbeA4KQgDbR5RYf8sNKbeWzKkL0.Zy1z3YMm7U2HSZOgfKL_dDq8f-D_ud4OaqjbCRnYP3o’
[Fri 13 May 2022 05:59:53 PM CST] dvlist=’我的域名#r9wnDsTa8zFGwl5LBbeA4KQgDbR5RYf8sNKbeWzKkL0.Zy1z3YMm7U2HSZOgfKL_dDq8f-D_ud4OaqjbCRnYP3o#https://acme-v02.api.letsencrypt.org/acme/chall-v3/108102364416/mW2mzg#http-01#ssl’
[Fri 13 May 2022 05:59:53 PM CST] d
[Fri 13 May 2022 05:59:53 PM CST] vlist=’我的域名#r9wnDsTa8zFGwl5LBbeA4KQgDbR5RYf8sNKbeWzKkL0.Zy1z3YMm7U2HSZOgfKL_dDq8f-D_ud4OaqjbCRnYP3o#https://acme-v02.api.letsencrypt.org/acme/chall-v3/108102364416/mW2mzg#http-01#ssl,’
[Fri 13 May 2022 05:59:53 PM CST] d=’我的域名’
[Fri 13 May 2022 05:59:53 PM CST] ok, let’s start to verify
[Fri 13 May 2022 05:59:53 PM CST] Verifying: 我的域名
[Fri 13 May 2022 05:59:53 PM CST] d=’我的域名’
[Fri 13 May 2022 05:59:53 PM CST] keyauthorization=’r9wnDsTa8zFGwl5LBbeA4KQgDbR5RYf8sNKbeWzKkL0.Zy1z3YMm7U2HSZOgfKL_dDq8f-D_ud4OaqjbCRnYP3o’
[Fri 13 May 2022 05:59:53 PM CST] uri=’https://acme-v02.api.letsencrypt.org/acme/chall-v3/108102364416/mW2mzg’
[Fri 13 May 2022 05:59:53 PM CST] _currentRoot=’ssl’
[Fri 13 May 2022 05:59:53 PM CST] wellknown_path=’ssl/.well-known/acme-challenge’
[Fri 13 May 2022 05:59:53 PM CST] writing token:r9wnDsTa8zFGwl5LBbeA4KQgDbR5RYf8sNKbeWzKkL0 to ssl/.well-known/acme-challenge/r9wnDsTa8zFGwl5LBbeA4KQgDbR5RYf8sNKbeWzKkL0
[Fri 13 May 2022 05:59:53 PM CST] Changing owner/group of .well-known to root:root
[Fri 13 May 2022 05:59:53 PM CST] url=’https://acme-v02.api.letsencrypt.org/acme/chall-v3/108102364416/mW2mzg’
[Fri 13 May 2022 05:59:53 PM CST] payload='{}’
[Fri 13 May 2022 05:59:53 PM CST] POST
[Fri 13 May 2022 05:59:53 PM CST] _post_url=’https://acme-v02.api.letsencrypt.org/acme/chall-v3/108102364416/mW2mzg’
[Fri 13 May 2022 05:59:53 PM CST] _CURL=’curl –silent –dump-header /usr/local/acme.sh/http.header  -L ‘
[Fri 13 May 2022 05:59:53 PM CST] _ret=’0′
[Fri 13 May 2022 05:59:53 PM CST] code=’200′
[Fri 13 May 2022 05:59:53 PM CST] trigger validation code: 200
[Fri 13 May 2022 05:59:53 PM CST] Pending, The CA is processing your order, please just wait. (1/30)
[Fri 13 May 2022 05:59:53 PM CST] sleep 2 secs to verify again
[Fri 13 May 2022 05:59:56 PM CST] checking
[Fri 13 May 2022 05:59:56 PM CST] url=’https://acme-v02.api.letsencrypt.org/acme/chall-v3/108102364416/mW2mzg’
[Fri 13 May 2022 05:59:56 PM CST] payload
[Fri 13 May 2022 05:59:56 PM CST] POST
[Fri 13 May 2022 05:59:56 PM CST] _post_url=’https://acme-v02.api.letsencrypt.org/acme/chall-v3/108102364416/mW2mzg’
[Fri 13 May 2022 05:59:56 PM CST] _CURL=’curl –silent –dump-header /usr/local/acme.sh/http.header  -L ‘
[Fri 13 May 2022 05:59:56 PM CST] _ret=’0′
[Fri 13 May 2022 05:59:56 PM CST] code=’200′
[Fri 13 May 2022 05:59:56 PM CST] 我的域名:Verify error:我的ip: Invalid response from http://我的域名/.well-known/acme-challenge/r9wnDsTa8zFGwl5LBbeA4KQgDbR5RYf8sNKbeWzKkL0: 404
[Fri 13 May 2022 05:59:56 PM CST] pid
[Fri 13 May 2022 05:59:56 PM CST] No need to restore nginx, skip.
[Fri 13 May 2022 05:59:56 PM CST] _clearupdns
[Fri 13 May 2022 05:59:56 PM CST] dns_entries
[Fri 13 May 2022 05:59:56 PM CST] skip dns.
[Fri 13 May 2022 05:59:56 PM CST] _on_issue_err
[Fri 13 May 2022 05:59:56 PM CST] Please check log file for more details: /usr/local/acme.sh/acme.sh.log
[Fri 13 May 2022 05:59:56 PM CST] url=’https://acme-v02.api.letsencrypt.org/acme/chall-v3/108102364416/mW2mzg’
[Fri 13 May 2022 05:59:56 PM CST] payload='{}’
[Fri 13 May 2022 05:59:56 PM CST] POST
[Fri 13 May 2022 05:59:56 PM CST] _post_url=’https://acme-v02.api.letsencrypt.org/acme/chall-v3/108102364416/mW2mzg’
[Fri 13 May 2022 05:59:56 PM CST] _CURL=’curl –silent –dump-header /usr/local/acme.sh/http.header  -L ‘
[Fri 13 May 2022 05:59:57 PM CST] _ret=’0′
[Fri 13 May 2022 05:59:57 PM CST] code=’400′

刷机半生,归来仍是宝塔

莆田郑少斌 发表于 2022-5-13 17:55
acme要注册了才给ssl 是不是这个原因

不清楚,第一次用lnmp,选了第三个申请选项,需要填邮箱的,也失败

这么麻烦