Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是否可以用cloudflare的Origin CA Key代替Global CA Key? #1976

Closed
tankren opened this issue Dec 19, 2018 · 5 comments
Closed

是否可以用cloudflare的Origin CA Key代替Global CA Key? #1976

tankren opened this issue Dec 19, 2018 · 5 comments

Comments

@tankren
Copy link

tankren commented Dec 19, 2018

Steps to reproduce

Debug log

acme.sh  --issue .....   --debug 2

this is not a bug report but new function requirement.
currently, acme is useing api key+user email to generate the cert with DNS-cloudflare method. however it's risky to explose the global api key. and officially from cloudflare, they provide Origin CA Key which is use to "generate TLS certificates for any of your websites on Cloudflare which are only trusted by Cloudflare, but not to read or change any other settings. This is to help keep your websites safe. Origin CA Keys often get deployed on public servers, and in case of compromise, none of your other Cloudflare settings would be accessible." so, could you add this feature in the code? you can refer to "https://api.cloudflare.com/" for details.
thanks.

@tankren tankren changed the title 是否可以用cloudflare的Origin CA Key代替global ca key? 是否可以用cloudflare的Origin CA Key代替Global CA Key? Dec 19, 2018
@FernandoMiguel
Copy link

Are you sure origin ca key gives you enough privileges to add a DNS entry?

@Neilpang
Copy link
Member

Neilpang commented Dec 21, 2018

理论上可以, 但是我目前没有时间看

看了一下, Origin CA Key 不行。 它只能生成证书。

@tankren
Copy link
Author

tankren commented Dec 23, 2018

Will try to see if it works or not when got time, thx for the reply, both

@Neilpang
Copy link
Member

看了一下, Origin CA Key 不行。 它只能生成证书。

@tankren
Copy link
Author

tankren commented Dec 28, 2018

看了一下, Origin CA Key 不行。 它只能生成证书。

忘了回复了,昨晚试过,确实不行。
谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants