Set CNAME to use Cloudflare using the partner program
https://github.com/fffonion/cloudflare-partner-cli.git
This is a CLI program that let you set CNAME to use Cloudflare using the partner program.
Both Python2.x and Python3.x is supported. No extra library is needed.
To use Chinese menu, set environment variable LANG to use UTF-8 (for example, zh_CN.UTF-8).
python ./cloudflare-partner-cli.py.host_key. You can get it here..cfhost.resolve_to has to be DNS record (for example: google.com) instead of IP address.ssl_verification.使用Cloudflare partner功能用CNAME方式接入cloudflare。
你可以使用Python2.x或者Python3.x。无需安装任何依赖。
如需使用中文菜单,请将环境变量的LANG设置为使用UTF-8 (比如zh_CN.UTF-8)。
python ./cloudflare-partner-cli.py。host_key。可以从这里获得。.cfhost文件中。源站地址必须为DNS记录,如google.com,不能填写IP地址。开通SSL之后,仍需要等一段时间SSL证书才会生效