mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-08 07:32:07 +08:00
Updated Profile selection (markdown)
@@ -17,7 +17,9 @@ acme.sh --list-profiles
|
||||
|
||||
## Example (Let’s Encrypt)
|
||||
```
|
||||
acme.sh --issue --server letsencrypt -d example.com -w /home/username/public_html --cert-profile tlsserver
|
||||
acme.sh --issue --server letsencrypt -d example.com \
|
||||
-w /home/username/public_html \
|
||||
--cert-profile tlsserver
|
||||
```
|
||||
This will request a certificate using Let’s Encrypt’s tlsserver profile.
|
||||
|
||||
@@ -27,11 +29,15 @@ Some profiles may reduce the validity period of the certificate (e.g. 160 hours
|
||||
|
||||
When using such profiles, you should also set the `--days` parameter to ensure that acme.sh renews the certificate early enough:
|
||||
```
|
||||
acme.sh --issue --server letsencrypt -d 203.0.113.195 -w /home/username/public_html --certificate-profile shortlived --days 6
|
||||
acme.sh --issue --server letsencrypt -d 203.0.113.195 \
|
||||
-w /home/username/public_html \
|
||||
--certificate-profile shortlived \
|
||||
--days 6
|
||||
```
|
||||
|
||||
## Notes
|
||||
|
||||
- The available profile names depend on the selected CA.
|
||||
- If you do not specify `--cert-profile`, the default profile is used.
|
||||
- Always check your CA’s documentation for supported profile names and their characteristics.
|
||||
- Always check your CA’s documentation for supported profile names and their characteristics.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user