转战lnmp失败,ssl错误

koehler1月前0

[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啥的,这个怎么解?试了其他几个安装选项都失败了
最新回复 (33)
  • 用那台直接 curl http://你的域名如果是返回403,就检查lnmp ssl add里的站点路径有没有对
  • asd1314s1月前
    引用3
    Please check log file for more details: /usr/local/acme.sh/acme.sh.log
  • 那就再转回宝塔
  • 笑花落半世琉璃 发表于 2022-5-13 17:50
    那就再转回宝塔
    很难不支持
  • 楼主koehler1月前
    引用6
    笑花落半世琉璃 发表于 2022-5-13 17:50
    那就再转回宝塔
    不了,继续折腾
  • acme要注册了才给ssl 是不是这个原因
  • 楼主koehler1月前
    引用8
    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'
  • 表妹1月前
    引用9
    刷机半生,归来仍是宝塔
  • 楼主koehler1月前
    引用10
    莆田郑少斌 发表于 2022-5-13 17:55
    acme要注册了才给ssl 是不是这个原因
    不清楚,第一次用lnmp,选了第三个申请选项,需要填邮箱的,也失败
  • 引用11
    这么麻烦
  • 引用12
    你的域名解析到IP了吗?
  • taigt1月前
    引用13
    域名要解析到服务器IP,CF的话,不要开启云朵
  • 楼主koehler1月前
    引用14
    进来看看 发表于 2022-5-13 18:22
    你的域名解析到IP了吗?
    解析了,已经ping通
  • 咦呀1月前
    引用15
    50解君愁
  • 楼主koehler1月前
    引用16
    taigt 发表于 2022-5-13 18:30
    域名要解析到服务器IP,CF的话,不要开启云朵
    这个还是懂的,之前自己用脚本是成功的,用lnmp ssl add失败
  • lspro1月前
    引用17
    vhost add 试试?
  • 菜单1月前
    引用18
    系统干净吗
  • 用那台直接 curl http://你的域名如果是返回403,就检查lnmp ssl add里的站点路径有没有对
  • 楼主koehler1月前
    引用20
    lspro 发表于 2022-5-13 18:42
    vhost add 试试?
    vhost add提示域名已经添加过了
  • 网站对应目录你是不是填错了
  • 楼主koehler1月前
    引用22
    笑花落半世琉璃 发表于 2022-5-13 18:45
    用那台直接 curl http://你的域名如果是返回403,就检查lnmp ssl add里的站点路径有没有对 ...
    提示404错误
  • 楼主koehler1月前
    引用23
    菜单 发表于 2022-5-13 18:45
    系统干净吗
    刚干净系统装完lnmp
  • airsteam1月前
    引用24
    先acme.sh --list看一下
  • 引用25
    大佬不要急,当初我转战lnmp废了好久,捣鼓了很久才熟练。熟练了就觉得简单多了。
  • 菜单1月前
    引用26
    koehler 发表于 2022-5-13 18:55
    刚干净系统装完lnmp
    实在不行,自己申请个ssl传上去。
    https://zerossl.com/
  • koehler 发表于 2022-5-13 18:52
    提示404错误
    。。。。curl http://你的域名都404??lnmp vhost del删除下,lnmp vhost add重新建,ssl不要选。
    再次curl http://你的域名 得403才行 403再去lnmp ssl add申请ssl
  • 虎谷1月前
    引用28
    不是黑产灰产的就继续宝塔吧,向宝塔妥协~
  • 李云龙1月前
    引用29
    给我吧,我李云龙会
  • 楼主koehler1月前
    引用30
    笑花落半世琉璃 发表于 2022-5-13 18:57
    。。。。curl http://你的域名都404??lnmp vhost del删除下,lnmp vhost add重新建,ssl不要选。
    再 ...
    大佬,按照你的方法已经403了,链接已经跳转https,看样子ssl已经成功了,但是网站打开还是403,是还是要设置哪里吗?
  • koehler 发表于 2022-5-13 19:04
    大佬,按照你的方法已经403了,链接已经跳转https,看样子ssl已经成功了,但是网站打开还是403,是还是要 ...
    你倒是放文件进去啊。。。index.htmlindex.php之类都行,这个状态已经是可以用了,直接上传网站文件
  • lspro1月前
    引用32
    网线目录里面没东西就会403
  • 楼主koehler1月前
    引用33
    谢谢上面各位大佬,问题已经解决,还要多多摸索
  • ledouz1月前
    引用34
    为啥一定要用一键脚本呢 acme官方说明很详细 dnsapi模式基本无脑
  • 游客
    35
返回