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

Support for provider: Mail-in-a-Box (MIAB) API #1459

Closed
4 of 5 tasks
espressoelf opened this issue Aug 4, 2021 · 4 comments · Fixed by #2110
Closed
4 of 5 tasks

Support for provider: Mail-in-a-Box (MIAB) API #1459

espressoelf opened this issue Aug 4, 2021 · 4 comments · Fixed by #2110

Comments

@espressoelf
Copy link

espressoelf commented Aug 4, 2021

Welcome

  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, the DNS provider exposes a public API.
  • Yes, I know that the lego maintainers don't have an account in all DNS providers in the world.
  • Yes, I'm able to create a pull request and be able to maintain the implementation.
  • Yes, I'm able to test an implementation if someone creates a pull request to add the support of this DNS provider.

How do you use lego?

Through Traefik

Link to the DNS provider

https://mailinabox.email/

Link to the API documentation

https://mailinabox.email/api-docs.html#tag/DNS

Additional Notes

It's self-hosted, so the links varies with each installation, of course. Required parameters would be the domain to the user's MIAB installation, and the username and password of an admin account. acme.sh implementation as example.

@ldez
Copy link
Member

ldez commented Aug 4, 2021

Hello @espressoelf,

Are you sure to not be able to test an implementation? Even if I help you?

@espressoelf
Copy link
Author

I wasn't sure about the way from the PR to my Traefik to test, but of course I'll test if I can!

@ldez
Copy link
Member

ldez commented Aug 4, 2021

For the Traefik part, I'll take care of it later (I'm a core maintainer of Traefik).

When the PR will be created, I will teach you how to build and run lego.
A DNS challenge only needs to access the API of your DNS server then you can run it on your computer (if you are outside of an aggressive enterprise firewall) without any specific network configuration.

I don't promise you to create the PR quickly, my time is limited (24h per day 😉 ), but I will do my best.

@espressoelf
Copy link
Author

Sounds great, thanks a lot for your time!

For the installation/testing later: firing up a Debian container in Docker and doing an installation from source, followed by using lego-cli to get the cert (and do thing wrong on purpose, too) should be everything I need, correct?

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

Successfully merging a pull request may close this issue.

2 participants