maslow # install acme.sh curl https://get.acme.sh | sh -s email=xxxxx@xxxx.io # Go to https://developer.godaddy.com/keys to get key & secrets # Or other dns provider: # https://github.com/acmesh-official/acme.sh/wiki/dnsapi # export GD_Key="sdfsdfsdfljlbjkljlkjsdfoiwje" # export GD_Secret="asdfsdafdsfdsfdsfdsfdsafd" # issue acme.sh --issue --dns dns_gd \ -d laf.dev \ -d "*.laf.dev" \ -d "*.oss.laf.dev" \ -d "*.site.laf.dev" # install cert mkdir /certs acme.sh --install-cert -d laf.dev --key-file /certs/laf.key \ --fullchain-file /certs/laf.cer 根据你域名的提供商决定设置什么环境变量:https://github.com/acmesh-official/acme.sh/wiki/dnsapi