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

How do I use ZeroSSL? #62

Closed
nahin-web opened this issue Apr 21, 2022 · 3 comments
Closed

How do I use ZeroSSL? #62

nahin-web opened this issue Apr 21, 2022 · 3 comments

Comments

@nahin-web
Copy link

Do I have to call the zeroSSL lua file in the eab_handler config?

@fffonion
Copy link
Owner

@nahin-web No you only need set the correct api_uri.

@nahin-web
Copy link
Author

Didn't work. I used https://acme.zerossl.com/v2/DV90
I was considering ZeroSSL, as I stuck into Let's Encrypt's rate limiting. Despite having ZeroSSL api_url, I get the same rate limit reached error message on the error log

init_by_lua_block { require("resty.acme.autossl").init({ -- setting the following to true -- implies that you read and accepted https://letsencrypt.org/repository/ tos_accepted = true, -- uncomment following for first time setup -- staging = true, -- uncomment following to enable RSA + ECC double cert domain_key_types = { 'rsa', 'ecc' }, -- uncomment following to enable tls-alpn-01 challenge -- enabled_challenge_handlers = { 'http-01', 'tls-alpn-01' }, account_key_path = "/etc/openresty/account.key", account_email = "email@example.com", domain_whitelist = { "mysite.us.to" }, api_url = "https://acme.zerossl.com/v2/DV90" }) }

@fffonion
Copy link
Owner

api_uri is the config for underlying client, so you should do

require("resty.acme.autossl").init({
  -- you current configs
},
{
  api_url = "https://acme.zerossl.com/v2/DV90" 
})

@fffonion fffonion closed this as completed Aug 2, 2022
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

2 participants