mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-16 05:12:08 +08:00
Updated dnsapi (markdown)
20
dnsapi.md
20
dnsapi.md
@@ -2639,6 +2639,26 @@ To issue a wildcard certificate, execute:
|
|||||||
acme.sh --issue --dns dns_ionos -d example.com -d *.example.com
|
acme.sh --issue --dns dns_ionos -d example.com -d *.example.com
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## 130. Using the Porkbun API
|
||||||
|
|
||||||
|
Read [Getting Started](https://porkbun.com/api/json/v3/documentation) to learn how to create an API key.
|
||||||
|
Export your credentials as environment variables:
|
||||||
|
|
||||||
|
```
|
||||||
|
export PORKBUN_API_KEY="..."
|
||||||
|
export PORKBUN_SECRET_API_KEY="..."
|
||||||
|
```
|
||||||
|
|
||||||
|
To issue a certificate, execute:
|
||||||
|
```
|
||||||
|
acme.sh --issue --dns dns_porkbun -d example.com -d www.example.com
|
||||||
|
```
|
||||||
|
|
||||||
|
To issue a wildcard certificate, execute:
|
||||||
|
```
|
||||||
|
acme.sh --issue --dns dns_porkbun -d example.com -d *.example.com
|
||||||
|
```
|
||||||
|
|
||||||
# Use custom API
|
# Use custom API
|
||||||
|
|
||||||
If your API is not supported yet, you can write your own DNS API.
|
If your API is not supported yet, you can write your own DNS API.
|
||||||
|
|||||||
Reference in New Issue
Block a user