V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
fangwenxue
V2EX  ›  问与答

acme nginx 模式怎么泛域名

  •  
  •   fangwenxue · Nov 29, 2021 · 1681 views
    This topic created in 1615 days ago, the information mentioned may be changed or developed.
    acme.sh --issue -d abc.com -d *.abc.com --nginx /usr/local/nginx/conf/vhost/abc.com.conf --force
    
    

    Error, can not get domain token entry *.abc.com for http-01

    4 replies    2021-11-30 08:56:50 +08:00
    SbloodyS
        1
    SbloodyS  
       Nov 29, 2021
    如果是自动认证的话,这样试试
    export DP_Id="xxx"
    export DP_Key="xxxx"

    acme.sh --issue --dns dns_dp -d xxx.cn -d *.xxx.cn
    yaott2020
        2
    yaott2020  
       Nov 29, 2021
    acme.sh --set-default-ca --server letsencrypt
    acme.sh --issue --dns dns_cf -d example.com -d *.example.com
    acme.sh --install-cert -d example.com \
    --key-file /etc/nginx/certs/mydomain.com/key.pem \
    --fullchain-file /etc/nginx/certs/mydomain.com/fullchain.pem \
    --reloadcmd "systemctl reload nginx.service"
    Showfom
        3
    Showfom  
    PRO
       Nov 29, 2021
    泛域名只能 DNS 模式,无法用 nginx 模式
    fangwenxue
        4
    fangwenxue  
    OP
       Nov 30, 2021
    目前就是不能用 DNS 模式
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2469 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 561ms · UTC 08:44 · PVG 16:44 · LAX 01:44 · JFK 04:44
    ♥ Do have faith in what you're doing.