Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
06e8b869
Commit
06e8b869
authored
May 11, 2016
by
neil
Browse files
Update README.md
parent
8f48168c
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/README.md
View file @
06e8b869
...
@@ -18,7 +18,7 @@ Ok, let's issue cert now:
...
@@ -18,7 +18,7 @@ Ok, let's issue cert now:
le.sh --issue --dns dns_cf -d aa.com -d www.aa.com
le.sh --issue --dns dns_cf -d aa.com -d www.aa.com
```
```
The
`CF_Key`
and
`CF_Email`
will be saved in
`~/.
le
/account.conf`
, when next time you use cloudflare api, it will reuse this key.
The
`CF_Key`
and
`CF_Email`
will be saved in
`~/.
acme.sh
/account.conf`
, when next time you use cloudflare api, it will reuse this key.
...
@@ -40,7 +40,7 @@ Ok, let's issue cert now:
...
@@ -40,7 +40,7 @@ Ok, let's issue cert now:
le.sh --issue --dns dns_dp -d aa.com -d www.aa.com
le.sh --issue --dns dns_dp -d aa.com -d www.aa.com
```
```
The
`DP_Id`
and
`DP_Key`
will be saved in
`~/.
le
/account.conf`
, when next time you use dnspod.cn api, it will reuse this key.
The
`DP_Id`
and
`DP_Key`
will be saved in
`~/.
acme.sh
/account.conf`
, when next time you use dnspod.cn api, it will reuse this key.
## Use Cloudxns.com domain api to automatically issue cert
## Use Cloudxns.com domain api to automatically issue cert
...
@@ -61,7 +61,7 @@ Ok, let's issue cert now:
...
@@ -61,7 +61,7 @@ Ok, let's issue cert now:
le.sh --issue --dns dns_cx -d aa.com -d www.aa.com
le.sh --issue --dns dns_cx -d aa.com -d www.aa.com
```
```
The
`CX_Key`
and
`CX_Secret`
will be saved in
`~/.
le
/account.conf`
, when next time you use Cloudxns.com api, it will reuse this key.
The
`CX_Key`
and
`CX_Secret`
will be saved in
`~/.
acme.sh
/account.conf`
, when next time you use Cloudxns.com api, it will reuse this key.
...
@@ -71,7 +71,7 @@ If your api is not supported yet, you can write your own dns api.
...
@@ -71,7 +71,7 @@ If your api is not supported yet, you can write your own dns api.
Let's assume you want to name it 'myapi',
Let's assume you want to name it 'myapi',
1.
Create a bash script named
`~/.
le
/dns_myapi.sh`
,
1.
Create a bash script named
`~/.
acme.sh
/dns_myapi.sh`
,
2.
In the scrypt, you must have a function named
`dns_myapi-add()`
. Which will be called by le.sh to add dns records.
2.
In the scrypt, you must have a function named
`dns_myapi-add()`
. Which will be called by le.sh to add dns records.
3.
Then you can use your api to issue cert like:
3.
Then you can use your api to issue cert like:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment