AI智能
改变未来

Aria2+Rclone+DirectoryLister+Aria2Ng一键安装脚本 for Debian

另外,生成ssl证书时总是错误,加上–debug后输出结果如下,不知道是为什么
root@srv11168:~# ~/.acme.sh/acme.sh –issue -d usefultools.tk –standalone -k ec-256 –force –debug
[Thu Aug 27 10:19:52 CST 2020] Lets find script dir.
[Thu Aug 27 10:19:52 CST 2020] _SCRIPT_=’/root/.acme.sh/acme.sh’
[Thu Aug 27 10:19:52 CST 2020] _script=’/root/.acme.sh/acme.sh’
[Thu Aug 27 10:19:52 CST 2020] _script_home=’/root/.acme.sh’
[Thu Aug 27 10:19:52 CST 2020] Using config home:/root/.acme.sh
https://github.com/acmesh-official/acme.sh
v2.8.7
[Thu Aug 27 10:19:52 CST 2020] Running cmd: issue
[Thu Aug 27 10:19:52 CST 2020] _main_domain=’usefultools.tk’
[Thu Aug 27 10:19:52 CST 2020] _alt_domains=’no’
[Thu Aug 27 10:19:52 CST 2020] Using config home:/root/.acme.sh
[Thu Aug 27 10:19:52 CST 2020] default_acme_server
[Thu Aug 27 10:19:52 CST 2020] ACME_DIRECTORY=’https://acme-v02.api.letsencrypt.org/directory’
[Thu Aug 27 10:19:52 CST 2020] DOMAIN_PATH=’/root/.acme.sh/usefultools.tk_ecc’
[Thu Aug 27 10:19:52 CST 2020] Using ACME_DIRECTORY: https://acme-v02.api.letsencrypt.org/directory
[Thu Aug 27 10:19:52 CST 2020] _init api for server: https://acme-v02.api.letsencrypt.org/directory
[Thu Aug 27 10:19:52 CST 2020] GET
[Thu Aug 27 10:19:52 CST 2020] url=’https://acme-v02.api.letsencrypt.org/directory’
[Thu Aug 27 10:19:52 CST 2020] timeout=
[Thu Aug 27 10:19:52 CST 2020] _CURL=’curl -L –silent –dump-header /root/.acme.sh/http.header -g ‘
[Thu Aug 27 10:19:53 CST 2020] ret=’0′
[Thu Aug 27 10:19:53 CST 2020] ACME_KEY_CHANGE=’https://acme-v02.api.letsencrypt.org/acme/key-change’
[Thu Aug 27 10:19:53 CST 2020] ACME_NEW_AUTHZ
[Thu Aug 27 10:19:53 CST 2020] ACME_NEW_ORDER=’https://acme-v02.api.letsencrypt.org/acme/new-order’
[Thu Aug 27 10:19:53 CST 2020] ACME_NEW_ACCOUNT=’https://acme-v02.api.letsencrypt.org/acme/new-acct’
[Thu Aug 27 10:19:53 CST 2020] ACME_REVOKE_CERT=’https://acme-v02.api.letsencrypt.org/acme/revoke-cert’
[Thu Aug 27 10:19:53 CST 2020] ACME_AGREEMENT=’https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf’
[Thu Aug 27 10:19:53 CST 2020] ACME_NEW_NONCE=’https://acme-v02.api.letsencrypt.org/acme/new-nonce’
[Thu Aug 27 10:19:53 CST 2020] ACME_VERSION=’2′
[Thu Aug 27 10:19:53 CST 2020] Le_NextRenewTime
[Thu Aug 27 10:19:53 CST 2020] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Thu Aug 27 10:19:53 CST 2020] _on_before_issue
[Thu Aug 27 10:19:53 CST 2020] _chk_main_domain=’usefultools.tk’
[Thu Aug 27 10:19:53 CST 2020] _chk_alt_domains
[Thu Aug 27 10:19:53 CST 2020] Le_LocalAddress
[Thu Aug 27 10:19:53 CST 2020] d=’usefultools.tk’
[Thu Aug 27 10:19:53 CST 2020] Check for domain=’usefultools.tk’
[Thu Aug 27 10:19:53 CST 2020] _currentRoot=’no’
[Thu Aug 27 10:19:53 CST 2020] Standalone mode.
[Thu Aug 27 10:19:53 CST 2020] _checkport=’80’
[Thu Aug 27 10:19:53 CST 2020] _checkaddr
[Thu Aug 27 10:19:53 CST 2020] Using: ss
[Thu Aug 27 10:19:53 CST 2020] d
[Thu Aug 27 10:19:53 CST 2020] _saved_account_key_hash is not changed, skip register account.
[Thu Aug 27 10:19:53 CST 2020] Read key length:ec-256
[Thu Aug 27 10:19:53 CST 2020] _createcsr
[Thu Aug 27 10:19:53 CST 2020] Single domain=’usefultools.tk’
[Thu Aug 27 10:19:54 CST 2020] Getting domain auth token for each domain
[Thu Aug 27 10:19:54 CST 2020] d
[Thu Aug 27 10:19:54 CST 2020] url=’https://acme-v02.api.letsencrypt.org/acme/new-order’
[Thu Aug 27 10:19:54 CST 2020] payload='{“identifiers”: [{“type”:”dns”,”value”:”usefultools.tk”}]}’
[Thu Aug 27 10:19:54 CST 2020] RSA key
[Thu Aug 27 10:19:54 CST 2020] HEAD
[Thu Aug 27 10:19:54 CST 2020] _post_url=’https://acme-v02.api.letsencrypt.org/acme/new-nonce’
[Thu Aug 27 10:19:54 CST 2020] _CURL=’curl -L –silent –dump-header /root/.acme.sh/http.header -g -I ‘
[Thu Aug 27 10:19:54 CST 2020] _ret=’0′
[Thu Aug 27 10:19:55 CST 2020] POST
[Thu Aug 27 10:19:55 CST 2020] _post_url=’https://acme-v02.api.letsencrypt.org/acme/new-order’
[Thu Aug 27 10:19:55 CST 2020] _CURL=’curl -L –silent –dump-header /root/.acme.sh/http.header -g ‘
[Thu Aug 27 10:20:01 CST 2020] _ret=’0′
[Thu Aug 27 10:20:01 CST 2020] code=’201′
[Thu Aug 27 10:20:01 CST 2020] Le_LinkOrder=’https://acme-v02.api.letsencrypt.org/acme/order/94987318/4881475092′
[Thu Aug 27 10:20:01 CST 2020] Le_OrderFinalize=’https://acme-v02.api.letsencrypt.org/acme/finalize/94987318/4881475092′
[Thu Aug 27 10:20:01 CST 2020] url=’https://acme-v02.api.letsencrypt.org/acme/authz-v3/6797585515′
[Thu Aug 27 10:20:01 CST 2020] payload
[Thu Aug 27 10:20:01 CST 2020] POST
[Thu Aug 27 10:20:01 CST 2020] _post_url=’https://acme-v02.api.letsencrypt.org/acme/authz-v3/6797585515′
[Thu Aug 27 10:20:01 CST 2020] _CURL=’curl -L –silent –dump-header /root/.acme.sh/http.header -g ‘
[Thu Aug 27 10:20:03 CST 2020] _ret=’0′
[Thu Aug 27 10:20:03 CST 2020] code=’200′
[Thu Aug 27 10:20:03 CST 2020] d=’usefultools.tk’
[Thu Aug 27 10:20:03 CST 2020] Getting webroot for domain=’usefultools.tk’
[Thu Aug 27 10:20:03 CST 2020] _w=’no’
[Thu Aug 27 10:20:03 CST 2020] _currentRoot=’no’
[Thu Aug 27 10:20:03 CST 2020] entry='”type”:”http-01″,”status”:”pending”,”url”:”https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg”,”token”:”mPOY-WEypNLQWippOo6ryozyq35DoiBHu9cbEkw28g4″‘
[Thu Aug 27 10:20:03 CST 2020] token=’mPOY-WEypNLQWippOo6ryozyq35DoiBHu9cbEkw28g4′
[Thu Aug 27 10:20:03 CST 2020] uri=’https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg’
[Thu Aug 27 10:20:03 CST 2020] keyauthorization=’mPOY-WEypNLQWippOo6ryozyq35DoiBHu9cbEkw28g4.fi8xXMLMhXKCX4LLpJU8UdDzmtuBCKl89L0KdjKM3ME’
[Thu Aug 27 10:20:03 CST 2020] dvlist=’usefultools.tk#mPOY-WEypNLQWippOo6ryozyq35DoiBHu9cbEkw28g4.fi8xXMLMhXKCX4LLpJU8UdDzmtuBCKl89L0KdjKM3ME#https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg#http-01#no’
[Thu Aug 27 10:20:03 CST 2020] d
[Thu Aug 27 10:20:03 CST 2020] vlist=’usefultools.tk#mPOY-WEypNLQWippOo6ryozyq35DoiBHu9cbEkw28g4.fi8xXMLMhXKCX4LLpJU8UdDzmtuBCKl89L0KdjKM3ME#https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg#http-01#no,’
[Thu Aug 27 10:20:03 CST 2020] d=’usefultools.tk’
[Thu Aug 27 10:20:03 CST 2020] ok, let’s start to verify
[Thu Aug 27 10:20:04 CST 2020] Verifying: usefultools.tk
[Thu Aug 27 10:20:04 CST 2020] d=’usefultools.tk’
[Thu Aug 27 10:20:04 CST 2020] keyauthorization=’mPOY-WEypNLQWippOo6ryozyq35DoiBHu9cbEkw28g4.fi8xXMLMhXKCX4LLpJU8UdDzmtuBCKl89L0KdjKM3ME’
[Thu Aug 27 10:20:04 CST 2020] uri=’https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg’
[Thu Aug 27 10:20:04 CST 2020] _currentRoot=’no’
[Thu Aug 27 10:20:04 CST 2020] Standalone mode server
[Thu Aug 27 10:20:04 CST 2020] content=’mPOY-WEypNLQWippOo6ryozyq35DoiBHu9cbEkw28g4.fi8xXMLMhXKCX4LLpJU8UdDzmtuBCKl89L0KdjKM3ME’
[Thu Aug 27 10:20:04 CST 2020] ncaddr
[Thu Aug 27 10:20:04 CST 2020] startserver: 23399
[Thu Aug 27 10:20:04 CST 2020] Le_HTTPPort=’80’
[Thu Aug 27 10:20:04 CST 2020] Le_Listen_V4
[Thu Aug 27 10:20:04 CST 2020] Le_Listen_V6
[Thu Aug 27 10:20:04 CST 2020] _content_len=’87’
[Thu Aug 27 10:20:04 CST 2020] _NC=’socat TCP-LISTEN:80,crlf,reuseaddr,fork’
[Thu Aug 27 10:20:05 CST 2020] serverproc=’24221′
[Thu Aug 27 10:20:05 CST 2020] url=’https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg’
[Thu Aug 27 10:20:05 CST 2020] payload='{}’
[Thu Aug 27 10:20:05 CST 2020] POST
[Thu Aug 27 10:20:05 CST 2020] _post_url=’https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg’
[Thu Aug 27 10:20:05 CST 2020] _CURL=’curl -L –silent –dump-header /root/.acme.sh/http.header -g ‘
[Thu Aug 27 10:20:07 CST 2020] _ret=’0′
[Thu Aug 27 10:20:09 CST 2020] code=’200′
[Thu Aug 27 10:20:09 CST 2020] trigger validation code: 200
[Thu Aug 27 10:20:09 CST 2020] sleep 2 secs to verify
[Thu Aug 27 10:20:11 CST 2020] checking
[Thu Aug 27 10:20:11 CST 2020] url=’https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg’
[Thu Aug 27 10:20:11 CST 2020] payload
[Thu Aug 27 10:20:11 CST 2020] POST
[Thu Aug 27 10:20:11 CST 2020] _post_url=’https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg’
[Thu Aug 27 10:20:11 CST 2020] _CURL=’curl -L –silent –dump-header /root/.acme.sh/http.header -g ‘
[Thu Aug 27 10:20:12 CST 2020] _ret=’0′
[Thu Aug 27 10:20:12 CST 2020] code=’200′
[Thu Aug 27 10:20:12 CST 2020] usefultools.tk:Verify error:Fetching http://usefultools.tk/.well-known/acme-challenge/mPOY-WEypNLQWippOo6ryozyq35DoiBHu9cbEkw28g4: Connection refused
[Thu Aug 27 10:20:12 CST 2020] Debug: get token url.
[Thu Aug 27 10:20:12 CST 2020] GET
[Thu Aug 27 10:20:12 CST 2020] url=’http://usefultools.tk/.well-known/acme-challenge/mPOY-WEypNLQWippOo6ryozyq35DoiBHu9cbEkw28g4′
[Thu Aug 27 10:20:12 CST 2020] timeout=1
[Thu Aug 27 10:20:12 CST 2020] _CURL=’curl -L –silent –dump-header /root/.acme.sh/http.header -g –connect-timeout 1′
[Thu Aug 27 10:20:14 CST 2020] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 28
[Thu Aug 27 10:20:14 CST 2020] ret=’28’
[Thu Aug 27 10:20:14 CST 2020] Skip for removelevel:
[Thu Aug 27 10:20:14 CST 2020] pid=’24221′
[Thu Aug 27 10:20:14 CST 2020] No need to restore nginx, skip.
[Thu Aug 27 10:20:14 CST 2020] _clearupdns
[Thu Aug 27 10:20:14 CST 2020] dns_entries
[Thu Aug 27 10:20:14 CST 2020] skip dns.
[Thu Aug 27 10:20:14 CST 2020] _on_issue_err
[Thu Aug 27 10:20:14 CST 2020] Please add ‘–debug’ or ‘–log’ to check more details.
[Thu Aug 27 10:20:14 CST 2020] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
[Thu Aug 27 10:20:14 CST 2020] url=’https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg’
[Thu Aug 27 10:20:14 CST 2020] payload='{}’
[Thu Aug 27 10:20:14 CST 2020] POST
[Thu Aug 27 10:20:14 CST 2020] _post_url=’https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg’
[Thu Aug 27 10:20:14 CST 2020] _CURL=’curl -L –silent –dump-header /root/.acme.sh/http.header -g ‘
[Thu Aug 27 10:20:21 CST 2020] _ret=’0′
[Thu Aug 27 10:20:21 CST 2020] code=’400′
[Thu Aug 27 10:20:21 CST 2020] Diagnosis versions:
openssl:openssl
OpenSSL 1.1.0l 10 Sep 2019 (Library: OpenSSL 1.1.0f 25 May 2017)
apache:
apache doesn’t exist.
nginx:
nginx version: nginx/1.10.3
built with OpenSSL 1.1.0l 10 Sep 2019 (running with OpenSSL 1.1.0f 25 May 2017)
TLS SNI support enabled
configure arguments: –with-cc-opt=’-g -O2 -fdebug-prefix-map=/build/nginx-GAwZrH/nginx-1.10.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2′ –with-ld-opt=’-Wl,-z,relro -Wl,-z,now’ –prefix=/usr/share/nginx –conf-path=/etc/nginx/nginx.conf –http-log-path=/var/log/nginx/access.log –error-log-path=/var/log/nginx/error.log –lock-path=/var/lock/nginx.lock –pid-path=/run/nginx.pid –modules-path=/usr/lib/nginx/modules –http-client-body-temp-path=/var/lib/nginx/body –http-fastcgi-temp-path=/var/lib/nginx/fastcgi –http-proxy-temp-path=/var/lib/nginx/proxy –http-scgi-temp-path=/var/lib/nginx/scgi –http-uwsgi-temp-path=/var/lib/nginx/uwsgi –with-debug –with-pcre-jit –with-ipv6 –with-http_ssl_module –with-http_stub_status_module –with-http_realip_module –with-http_auth_request_module –with-http_v2_module –with-http_dav_module –with-http_slice_module –with-threads –with-http_addition_module –with-http_geoip_module=dynamic –with-http_gunzip_module –with-http_gzip_static_module –with-http_image_filter_module=dynamic –with-http_sub_module –with-http_xslt_module=dynamic –with-stream=dynamic –with-stream_ssl_module –with-mail=dynamic –with-mail_ssl_module –add-dynamic-module=/build/nginx-GAwZrH/nginx-1.10.3/debian/modules/nginx-auth-pam –add-dynamic-module=/build/nginx-GAwZrH/nginx-1.10.3/debian/modules/nginx-dav-ext-module –add-dynamic-module=/build/nginx-GAwZrH/nginx-1.10.3/debian/modules/nginx-echo –add-dynamic-module=/build/nginx-GAwZrH/nginx-1.10.3/debian/modules/nginx-upstream-fair –add-dynamic-module=/build/nginx-GAwZrH/nginx-1.10.3/debian/modules/ngx_http_substitutions_filter_module
socat:
socat by Gerhard Rieger – see www.dest-unreach.org
socat version 1.7.3.1 on Jul 14 2017 13:52:03
running on Linux version #1 SMP Tue Feb 12 18:03:03 EST 2019, release 4.20.8-1.el7.elrepo.x86_64, machine x86_64
features:
#define WITH_STDIO 1
#define WITH_FDNUM 1
#define WITH_FILE 1
#define WITH_CREAT 1
#define WITH_GOPEN 1
#define WITH_TERMIOS 1
#define WITH_PIPE 1
#define WITH_UNIX 1
#define WITH_ABSTRACT_UNIXSOCKET 1
#define WITH_IP4 1
#define WITH_IP6 1
#define WITH_RAWIP 1
#define WITH_GENERICSOCKET 1
#define WITH_INTERFACE 1
#define WITH_TCP 1
#define WITH_UDP 1
#define WITH_SCTP 1
#define WITH_LISTEN 1
#define WITH_SOCKS4 1
#define WITH_SOCKS4A 1
#define WITH_PROXY 1
#define WITH_SYSTEM 1
#define WITH_EXEC 1
#undef WITH_READLINE
#define WITH_TUN 1
#define WITH_PTY 1
#define WITH_OPENSSL 1
#undef WITH_FIPS
#define WITH_LIBWRAP 1
#define WITH_SYCLS 1
#define WITH_FILAN 1
#define WITH_RETRY 1
#define WITH_MSGLEVEL 0 /debug/
好像是28错误,是超时了

赞(0) 打赏
未经允许不得转载:爱站程序员基地 » Aria2+Rclone+DirectoryLister+Aria2Ng一键安装脚本 for Debian