mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-03-27 19:10:14 +08:00
Add Beget.com DNS API
parent
8e0f31d37d
commit
a64a5ec85a
41
dnsapi2.md
41
dnsapi2.md
@ -98,6 +98,7 @@
|
||||
- [174. Use Anikeen Cloud DNS API](#dns_anikeen)
|
||||
- [175. Use mijn.host DNS API](#dns_mijnhost)
|
||||
- [176. Use OpenProvider (REST) DNS API](#dns_openprovider_rest)
|
||||
- [177. Use Beget.com DNS API](#dns_beget)
|
||||
- [Use custom API](#dns_myapi)
|
||||
- [Use lexicon DNS API](#dns_lexicon)
|
||||
|
||||
@ -2455,6 +2456,46 @@ To issue a cert:
|
||||
|
||||
Report any bugs or issues [here](https://github.com/acmesh-official/acme.sh/issues/6122)
|
||||
|
||||
<a name="dns_beget"/>
|
||||
|
||||
## 177. Use Beget.com DNS API *(merge request pending)*
|
||||
|
||||
This uses [Beget.com](https://beget.com/) DNS API.
|
||||
|
||||
1. First you need to login to your beget.com acount and enable the API.
|
||||
Go to [this page](https://cp.beget.com/settings/access/api) ("Account settings" -> "Access restriction" -> "Beget API") and turn on "Allow API authentication" switch.
|
||||
|
||||
2. Set separate API password. Push `Set a new password for the API` button for that.
|
||||
|
||||
3. Set "Allowed methods" checkboxes:
|
||||
- `DNS admnistration`
|
||||
- `Domain administration`
|
||||
- or simply use `All API functions` checkbox
|
||||
|
||||
Before running acme.sh script you need to provide your login/password:
|
||||
|
||||
```sh
|
||||
export Beget_Username="your account login"
|
||||
export Beget_Password="API password"
|
||||
```
|
||||
|
||||
To essue your sertificate run:
|
||||
|
||||
```sh
|
||||
./acme.sh --issue --server letsencrypt --dns dns_beget -d example.com
|
||||
```
|
||||
|
||||
For wildcard certificate use:
|
||||
|
||||
```sh
|
||||
./acme.sh --issue --server letsencrypt --dns dns_beget -d example.com -d '*.example.com'
|
||||
```
|
||||
|
||||
*Note: "ZeroSSL" does not work in some countries, so use "Let's Encrypt" instead.*
|
||||
|
||||
|
||||
Report any bugs or issues [here](https://github.com/acmesh-official/acme.sh/issues/6200)
|
||||
|
||||
## Use custom API
|
||||
|
||||
If your API is not supported yet, you can write your own DNS API.
|
||||
|
Loading…
Reference in New Issue
Block a user