精华内容
下载资源
问答
  • 宝塔SSL证书无法获取证书的解决办法
    千次阅读
    2021-02-28 22:27:40

    2019年11月开始,陆续发现AMH4.2.1中SSL证书无法正常获取证书了,包括使用命令行渠道也无法获取证书。
    尝试生成会有如下提示:

    Register account Error: {“type”:“urn:acme:error:unauthorized”,“detail”:“Account creation on ACMEv1 is disabled.
    Please upgrade your ACME client to a version that supports ACMEv2 / RFC 8555.
    See https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430 for details.”,“status”: 403}
    [Fri Nov 15 02:29:17 UTC 2019] Please add ‘–debug’ or ‘–log’ to check more details.

    原来LET’S ENCRYPT官方在2019年11月将终止V1证书的注册了。

    如何判断自己用的是V1还是V2,或是否已升级到V2?
    在SSH中执行以下命令
    cat /root/.acme.sh/acme.sh | grep VER=
    若显示是2.7.3则表示是V1
    若是2.8.*或以上则表示是V2

    解决办法
    在SSH中执行以下命令,完成获取证书的脚本更新即可。
    /root/.acme.sh/acme.sh --upgrade

    更多相关内容
  • Android 写完app或者测试,运行APP的时候,报错 导致的问题是都是无法运行,但原因却多种多样, 例如途中出来的,INSTALL_CANCELED_BY_USER, ...3.debug.keystore,文件在sdk/.Android中的文件备份后删除操作

    Android 写完app或者测试,运行APP的时候,报错
    这里写图片描述
    导致的问题是都是无法运行,但原因却多种多样,
    例如途中出来的,INSTALL_CANCELED_BY_USER,
    是因为手机端拒绝安装造成的,
    1.是否有同包名应用,(特别是不同的开发工具开发出来一样的app,必须删除)
    2.检查手机的开发者权限中调试,安装等权限,是否开启
    3.adb端口是否正常,(一般情况不会,但也的排除)

    淡然除了这个,还有其他原因
    1.如文件规范问题,命名不规范,application有没有注册名称,一些固定的设施
    2.jar文件的导入,和手机版本的对应兼容
    3.debug.keystore,文件在sdk/.Android中的文件备份后删除操作

    展开全文
  •  近日,在使用Android手机进行应用测试的时候出现了以下错误提示:[...]Installation error: INSTALL_CANCELED_BY_USER [...]Please check logcat output for more details. [...]Launch canceled! 这个错误,从...

           近日,在使用Android手机进行应用测试的时候出现了以下错误提示:[...]Installation error: INSTALL_CANCELED_BY_USER  [...]Please check logcat output for more details. [...]Launch canceled! 这个错误,从字面上理解,就是应用在安装的时候被用户取消了。但实际情况是,并没有做任何操作,结合实际经验终于找到了问题.....



    红米note4 有一个usb调试安全设置 一起也打开就好了

    usb 安装

    和usb调试都打开


    看上面 一共是三个东西 

    展开全文
  • 参考:https://github.com/Neilpang/acme.sh/wiki/How-to-issue-a-cert 这种方法官方是不推荐的,不能自动续期(即需要手动续签) acme.sh的DNS手动模式生成证书 应该需要一个有公网ip的机器,至少我是这样,回头...

    参考:https://github.com/Neilpang/acme.sh/wiki/How-to-issue-a-cert

    这种方法官方是不推荐的,不能自动续期(即需要手动续签)

    acme.sh的DNS手动模式生成证书

    应该需要一个有公网ip的机器,至少我是这样,回头我再考证一下。

    2018年12月10日测试:可以在虚拟机上使用,不需要公网IP

     

    一、安装

    curl https://get.acme.sh | sh

    二、确保服务器的nginx和apache没有运行,别占用80端口(DNS手动模式不需要)

    三、动手

    命令就一行,出现了报错,要求在dns解析里加入两行txt解析

    root@david-test:~/.acme.sh# acme.sh --issue -d bombstory.com -d *.bombstory.com --dns dns-01
    [Wed Dec  5 11:58:54 UTC 2018] Multi domain='DNS:bombstory.com,DNS:*.bombstory.com'
    [Wed Dec  5 11:58:54 UTC 2018] Getting domain auth token for each domain
    [Wed Dec  5 11:58:56 UTC 2018] Getting webroot for domain='bombstory.com'
    [Wed Dec  5 11:58:56 UTC 2018] Getting webroot for domain='*.bombstory.com'
    [Wed Dec  5 11:58:57 UTC 2018] Can not find dns api hook for: dns-01
    [Wed Dec  5 11:58:57 UTC 2018] You need to add the txt record manually.
    [Wed Dec  5 11:58:57 UTC 2018] Add the following TXT record:
    [Wed Dec  5 11:58:57 UTC 2018] Domain: '_acme-challenge.bombstory.com'
    [Wed Dec  5 11:58:57 UTC 2018] TXT value: 'nuV36UCKAvU3KiWLFkAxNIQAVahmmnC5witMoOrk7MQ'
    [Wed Dec  5 11:58:57 UTC 2018] Please be aware that you prepend _acme-challenge. before your domain
    [Wed Dec  5 11:58:57 UTC 2018] so the resulting subdomain will be: _acme-challenge.bombstory.com
    [Wed Dec  5 11:58:57 UTC 2018] Can not find dns api hook for: dns-01
    [Wed Dec  5 11:58:57 UTC 2018] You need to add the txt record manually.
    [Wed Dec  5 11:58:57 UTC 2018] Add the following TXT record:
    [Wed Dec  5 11:58:57 UTC 2018] Domain: '_acme-challenge.bombstory.com'
    [Wed Dec  5 11:58:57 UTC 2018] TXT value: 'HKXRN73W33CZnDCsUgXxCDDrgsn5xMagUPaMZl4yjkU'
    [Wed Dec  5 11:58:57 UTC 2018] Please be aware that you prepend _acme-challenge. before your domain
    [Wed Dec  5 11:58:57 UTC 2018] so the resulting subdomain will be: _acme-challenge.bombstory.com
    [Wed Dec  5 11:58:57 UTC 2018] Please add the TXT records to the domains, and re-run with --renew.
    [Wed Dec  5 11:58:57 UTC 2018] Please add '--debug' or '--log' to check more details.
    [Wed Dec  5 11:58:57 UTC 2018] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh

    四、解析DNS

    如下图:

    五、稍等一会儿,再次执行命令,这次执行后面要加--renew参数

    root@david-test:~/.acme.sh# acme.sh --issue -d bombstory.com -d *.bombstory.com --dns dns-01 --renew
    [Wed Dec  5 12:02:09 UTC 2018] Renew: 'bombstory.com'
    [Wed Dec  5 12:02:10 UTC 2018] Multi domain='DNS:bombstory.com,DNS:*.bombstory.com'
    [Wed Dec  5 12:02:10 UTC 2018] Getting domain auth token for each domain
    [Wed Dec  5 12:02:10 UTC 2018] Verifying:bombstory.com
    [Wed Dec  5 12:02:14 UTC 2018] Success
    [Wed Dec  5 12:02:14 UTC 2018] Verifying:*.bombstory.com
    [Wed Dec  5 12:02:17 UTC 2018] Pending
    [Wed Dec  5 12:02:20 UTC 2018] Success
    [Wed Dec  5 12:02:20 UTC 2018] Verify finished, start to sign.
    [Wed Dec  5 12:02:22 UTC 2018] Cert success.
    -----BEGIN CERTIFICATE-----
    ......此处省略一大段无用输出......
    -----END CERTIFICATE-----
    [Wed Dec  5 12:02:22 UTC 2018] Your cert is in  /root/.acme.sh/bombstory.com/bombstory.com.cer 
    [Wed Dec  5 12:02:22 UTC 2018] Your cert key is in  /root/.acme.sh/bombstory.com/bombstory.com.key 
    [Wed Dec  5 12:02:22 UTC 2018] The intermediate CA cert is in  /root/.acme.sh/bombstory.com/ca.cer 
    [Wed Dec  5 12:02:22 UTC 2018] And the full chain certs is there:  /root/.acme.sh/bombstory.com/fullchain.cer 

    六、其中,需要用到的文件有两个:

    一个key:/root/.acme.sh/bombstory.com/bombstory.com.key

    一个证书:/root/.acme.sh/bombstory.com/fullchain.cer

     


    2018年12月10日更新

    使用DNS手动模式生成的证书续签:

    一、两条DNS解析记录别删

    二、该证书是4天前做的,还有85天

    ops@zabbix2:~$ zabbix_get -s 127.0.0.1 -k https.remaining[bombstory.com]
    85

    三、手动续签:

    root@david-test:~/.acme.sh# acme.sh --renew -d bombstory.com --force
    [Mon Dec 10 05:14:54 UTC 2018] Renew: 'bombstory.com'
    [Mon Dec 10 05:14:55 UTC 2018] Multi domain='DNS:bombstory.com,DNS:*.bombstory.com'
    [Mon Dec 10 05:14:55 UTC 2018] Getting domain auth token for each domain
    [Mon Dec 10 05:14:57 UTC 2018] Getting webroot for domain='bombstory.com'
    [Mon Dec 10 05:14:57 UTC 2018] Getting webroot for domain='*.bombstory.com'
    [Mon Dec 10 05:14:57 UTC 2018] bombstory.com is already verified, skip dns-01.
    [Mon Dec 10 05:14:57 UTC 2018] *.bombstory.com is already verified, skip dns-01.
    [Mon Dec 10 05:14:57 UTC 2018] Verify finished, start to sign.
    [Mon Dec 10 05:15:00 UTC 2018] Cert success.
    -----BEGIN CERTIFICATE-----
    ......
    -----END CERTIFICATE-----
    [Mon Dec 10 05:15:00 UTC 2018] Your cert is in  /root/.acme.sh/bombstory.com/bombstory.com.cer 
    [Mon Dec 10 05:15:00 UTC 2018] Your cert key is in  /root/.acme.sh/bombstory.com/bombstory.com.key 
    [Mon Dec 10 05:15:00 UTC 2018] The intermediate CA cert is in  /root/.acme.sh/bombstory.com/ca.cer 
    [Mon Dec 10 05:15:00 UTC 2018] And the full chain certs is there:  /root/.acme.sh/bombstory.com/fullchain.cer 
    root@david-test:~/.acme.sh# sz /root/.acme.sh/bombstory.com/fullchain.cer

    四、替换证书文件,reload nginx

    root@bombstory:/etc/nginx/ssl# ls -l
    total 12
    -rw-r--r-- 1 root root 1675 Dec  5 19:51 bombstory.com.key
    -rw-r--r-- 1 root root 3575 Dec 10 13:15 fullchain.cer
    -rw-r--r-- 1 root root 3575 Dec  5 20:02 fullchain.cerbak
    root@bombstory:/etc/nginx/ssl# nginx -t
    nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
    nginx: configuration file /etc/nginx/nginx.conf test is successful
    root@bombstory:/etc/nginx/ssl# nginx -s reload

    五、再次查看,成功

    ops@zabbix2:~$ zabbix_get -s 127.0.0.1 -k https.remaining[bombstory.com]
    89

     

    展开全文
  • 使用 acme.sh 签发 SSL证书失败

    千次阅读 2022-02-11 13:49:44
    执行命令: $ ~/.acme.sh/acme.sh ...Please add '--debug' or '--log' to check more details. See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh 加上 --log 之后发现: config file is e
  • checking libxml2 install dir... nochecking for xml2-config path... /usr/bin/xml2-configchecking whether libxml build works... noconfigure: error: build test ... Please check the config.log for de...
  • check the logfile log/iobroker.log or run node node_modules/iobroker.js-controller/controller.js in the ioBroker directory to start the ioBroker controller in foreground and watch the log on ...
  • or specify -Ipath/to/debug/lib in RUBYOPT or each ruby command-line option, especially for debug this gem development. If you use Bundler, write the following line to your Gemfile. gem "debug", ">=...
  • Use :NullLsLog to open your debug log in the current Neovim instance or :NullLsInfo to get the path to your debug log. As with LSP logging, debug mode will slow down Neovim. Make sure to disable the...
  • It's also recommended to add --debug flag to get more useful logs of what's happening behind the scenes. Don't attempt to deploy by running serverless deploy, use only serverless Custom domain name ...
  • RUST_LOG=debug check_if_email_exists [FLAGS] [OPTIONS] [TO_EMAIL] 5. Usage as a Rust Library In your own Rust project, you can add check-if-email-exists in your Cargo.toml: [dependencies] check-if-...
  • php.ini-development

    2015-05-08 15:43:45
    Please see the actual settings later in the document for more details as to why ; we recommend these changes in PHP's behavior. ; display_errors ; Default Value: On ; Development Value: On ; ...
  • AOSP$ lunch mini_emulator_x86_64-userdebug AOSP$$ source build/envsetup.sh make >>>>>error: ro.build.fingerprint cannot exceed 91 bytes: Android/mini_emulator_x86_64/mini-emulat...
  • compiling log4cplus targeted to Windows Vista or later. Linking on Windows If you are linking your application with DLL variant of log4cplus, define LOG4CPLUS_BUILD_DLL preprocessor symbol. This ...
  • registryList.contains(item.getRegistryValue())) { registryList.add(item.getRegistryValue()); } appAddressMap.put(appname, registryList); } } } ...
  • C:\Users\司超龙\AppData\Roaming\npm-cache\_logs\2021-07-22T09_49_47_408Z-debug.log PS E:\项目\guli-shop-vue\renren-fast-vue> npm run dev > renren-fast-vue@1.2.2 dev E:\项目\guli-shop-vue\renren-fast-...
  • IDEA Debug启动报错(笔记)报错内容: 报错内容: #我是检查了一下配置才解决的 1. 2. 3. #最后发现是没有配置JRE然后添加上就完成啦!
  • then log_failure_msg "$DOCKERD not present or not executable" exit 1 fi check_init() { # see also init_is_upstart in /lib/lsb/init-functions (which isn't available in Ubuntu 12.04, or we'd use it ...
  • [00.277][mmc]: can't find node "mmc0",will add new node [00.282][mmc]: fdt err returned [00.286][mmc]: Using default timing para [00.290][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.307][mmc]: ...
  • redis-server.exe双击闪退 win10系统

    千次阅读 2019-09-30 00:41:12
    possible to listen to just one or multiple selected interfaces using # the " bind " configuration directive, followed by one or more IP addresses. # # Examples: # # bind 192.168 . 1.100 10.0 ....
  • ORACLE RAC DATABASE IS READY TO USE ! #################################### 从日志可知,整个过程耗时1小时24分(另两次用了1小时23分,1小时9分)。 以下是完整的,正确执行的日志,尽管其中有许多错误和...
  • # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Ansible. If not, see <http://www.gnu.org/licenses/>. ########...
  • For more details about OFBiz please visit the OFBiz Documentation page: OFBiz documentation OFBiz License Note: If you want to use Eclipse, read the "Setup eclipse project for OFBiz" section ...
  • 项目中常常遇到node-sass安装失败,动不动就是报各种错误。以前我一次也没有失败过,自从系统重装我的天呀,node-sass就没有成功过,我能做的node...https://blog.csdn.net/lzfengquan/article/details/122729257?spm=
  • # 使用-redis.password指定redis密码 # 使用-debug开启debug模式 # 更多参数(比如TLS、暴露更多metrics等),请直接./redis-exporter --help ./redis_exporter -redis.addr redis://localhost:7000 启动后,可以...
  •  panic("** CONFIG_OF_CONTROL defined but no FDT - please see "  "doc/README.fdt-control");  } #endif 串口和控制台初始化好后,下面就可以调用debug打印信息了。  debug("monitor len: %08lX\n", gd->mon_...
  • If enabled the driver will throw an exception for a queries issued on a stale or dead connection, which belong to the current transaction, but will attempt reconnect before the next query issued on ...
  • To enable debug logging, build Apollo Save Tool with make DEBUGLOG=1. The application will send debug messages to UDP multicast address 239.255.0.100:30000. To receive them you can use socat on your ...
  • Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 37s Running Gradle task 'assembleDebug'... ...
  • Only run update check if no players are connected to the server (true or false) RESTART_CRON 0 5 * * * Cron schedule for server restarts (disabled if set to an empty string) RESTART_IF_IDLE true ...

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 5,250
精华内容 2,100
关键字:

please add '--debug' or '--log' to check more details.

友情链接: KalmanFilter.zip