acme.sh The domain is not a cert name解决方法
使用acme.sh安装证书到指定路径时出现了下面的错误
acme.sh安装证书到指定路径命令如下
1
acme.sh --installcert -d www.domain.com -d domain.com --key-file /etc/ssl/domain.key --fullchain-file /etc/ssl/domain.key .pem
错误信息如下
1
2
[Wed Jul 29 11:06:29 UTC 2020] The domain 'www.domain.com' is not a cert name. You must use the cert name to specify the cert to install.
[Wed Jul 29 11:06:29 UTC 2020] Can not find path:'/var/.acme.sh/www.domain.com'
摸索发现原来时命令出现了错误,正确使用acme.sh安装证书到指定路径应该是如下代码
1
2
3
4
acme.sh --installcert -d domain.com -d www.domain.com --key-file /etc/ssl/domain.key --fullchain-file /etc//ssl/domain.pem
////成功会显示如下信息
[Wed Jul 29 11:08:22 UTC 2020] Installing key to:/etc/ssl/domain.key
[Wed Jul 29 11:08:22 UTC 2020] Installing full chain to:/etc/ssl/domain.pem
💘 相关文章
- 解決使用acme.sh申请zerossl证书出现timeout的解决方法
- acme.sh使用某云dns申请Let'sEncrypt证书时遇到的大坑
- Use acme.sh Let's Encrypt Let's wait 10 seconds and check again
- 在openlitespeed下配置acme.sh脚本证书折腾了两天
- mac系统Error: The current working directory doesn't exist, cannot proceed.的解决方法
- Seek the full name of this movie
- how to find out the ssh port of the cpanel host
- How to query the hard disk usage time of various distribution Linux systems
- Change the user's home directory for centos
- 3 ways to implement domain name jump to www including https using 301