Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
export Tencent_SecretId="AKID7B3SjuugEYfZGiz45tSq33oNhmcEcmhP"
export Tencent_SecretKey="by71gARTGn7E5hhV4OVO1QbZJqkW6RXN"
~/.acme.sh/acme.sh --issue --server google --dns dns_tencent -d xspay.com -d *.xspay.com --keylength ec-256

返回如下

也可以签发rsa加密类型的证书指定加密类型

Code Block
~/.acme.sh/acme.sh --issue --server google --dns dns_tencent -d xspay.com -d *.xspay.com --keylength rsa:2048ec-256 --force

转换成nginx类型:

Code Block
~/.acme.sh/acme.sh --install-cert -d xspay.com --fullchain-file ./certificate.crt --key-file ./private.key

Image Added

将certificate.crt和private.key配置到nginx的ssl中就可以生效了


注意:

如果是其它dns机构参考这里:https://github.com/acmesh-official/acme.sh/wiki/dnsapi

...