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
d5865989
Commit
d5865989
authored
Feb 16, 2018
by
neilpang
Browse files
update doc
parent
a63766a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
d5865989
...
@@ -74,7 +74,7 @@ https://github.com/Neilpang/acmetest
...
@@ -74,7 +74,7 @@ https://github.com/Neilpang/acmetest
-
Webroot mode
-
Webroot mode
-
Standalone mode
-
Standalone mode
-
Apache mode
-
Apache mode
-
Nginx mode
( Beta )
-
Nginx mode
-
DNS mode
-
DNS mode
-
[
Stateless mode
](
https://github.com/Neilpang/acme.sh/wiki/Stateless-Mode
)
-
[
Stateless mode
](
https://github.com/Neilpang/acme.sh/wiki/Stateless-Mode
)
...
@@ -238,7 +238,7 @@ More examples: https://github.com/Neilpang/acme.sh/wiki/How-to-issue-a-cert
...
@@ -238,7 +238,7 @@ More examples: https://github.com/Neilpang/acme.sh/wiki/How-to-issue-a-cert
If you are running a web server, Apache or Nginx, it is recommended to use the
`Webroot mode`
.
If you are running a web server, Apache or Nginx, it is recommended to use the
`Webroot mode`
.
Particularly, if you are running an Apache server, you
should
use Apache mode instead. This mode doesn't write any files to your web root folder.
Particularly, if you are running an Apache server, you
can
use Apache mode instead. This mode doesn't write any files to your web root folder.
Just set string "apache" as the second argument and it will force use of apache plugin automatically.
Just set string "apache" as the second argument and it will force use of apache plugin automatically.
...
@@ -246,6 +246,10 @@ Just set string "apache" as the second argument and it will force use of apache
...
@@ -246,6 +246,10 @@ Just set string "apache" as the second argument and it will force use of apache
acme.sh
--issue
--apache
-d
example.com
-d
www.example.com
-d
cp.example.com
acme.sh
--issue
--apache
-d
example.com
-d
www.example.com
-d
cp.example.com
```
```
**
This apache mode is only to issue the cert, it will not change your apache config files.
You will need to configure your website config files to use the cert by yourself.
We don't want to mess your apache server, don't worry.
**
More examples: https://github.com/Neilpang/acme.sh/wiki/How-to-issue-a-cert
More examples: https://github.com/Neilpang/acme.sh/wiki/How-to-issue-a-cert
# 7. Use Nginx mode
# 7. Use Nginx mode
...
@@ -266,6 +270,10 @@ So, the config is not changed.
...
@@ -266,6 +270,10 @@ So, the config is not changed.
acme.sh
--issue
--nginx
-d
example.com
-d
www.example.com
-d
cp.example.com
acme.sh
--issue
--nginx
-d
example.com
-d
www.example.com
-d
cp.example.com
```
```
**
This apache mode is only to issue the cert, it will not change your apache config files.
You will need to configure your website config files to use the cert by yourself.
We don't want to mess your apache server, don't worry.
**
More examples: https://github.com/Neilpang/acme.sh/wiki/How-to-issue-a-cert
More examples: https://github.com/Neilpang/acme.sh/wiki/How-to-issue-a-cert
# 8. Automatic DNS API integration
# 8. Automatic DNS API integration
...
@@ -332,7 +340,7 @@ For more details: [How to use DNS API](dnsapi)
...
@@ -332,7 +340,7 @@ For more details: [How to use DNS API](dnsapi)
# 9. Use DNS manual mode:
# 9. Use DNS manual mode:
If your dns provider doesn't support any api access, you
will have to
add the txt record by your hand.
If your dns provider doesn't support any api access, you
can
add the txt record by your hand.
```
bash
```
bash
acme.sh
--issue
--dns
-d
example.com
-d
www.example.com
-d
cp.example.com
acme.sh
--issue
--dns
-d
example.com
-d
www.example.com
-d
cp.example.com
...
@@ -370,7 +378,7 @@ Ok, it's done.
...
@@ -370,7 +378,7 @@ Ok, it's done.
And we support them too!
And we support them too!
Just set the
`length`
parameter with a prefix
`ec-`
.
Just set the
`
key
length`
parameter with a prefix
`ec-`
.
For example:
For example:
...
@@ -386,7 +394,7 @@ acme.sh --issue -w /home/wwwroot/example.com -d example.com --keylength ec-256
...
@@ -386,7 +394,7 @@ acme.sh --issue -w /home/wwwroot/example.com -d example.com --keylength ec-256
acme.sh
--issue
-w
/home/wwwroot/example.com
-d
example.com
-d
www.example.com
--keylength
ec-256
acme.sh
--issue
-w
/home/wwwroot/example.com
-d
example.com
-d
www.example.com
--keylength
ec-256
```
```
Please look at the
last
parameter above.
Please look at the
`keylength`
parameter above.
Valid values are:
Valid values are:
...
...
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