Created revokecert (markdown)

master
neil 2020-04-18 19:59:56 +08:00
parent 2fa7b039c2
commit 40cbbeb2dd
1 changed files with 30 additions and 0 deletions

30
revokecert.md Normal file

@ -0,0 +1,30 @@
# How to revoke a cert.
```
acme.sh --revoke -d example.com
```
You can also specify a reason for revocation:
```
acme.sh --revoke -d example.com --revoke-reason 0
```
The valid reasons are `0-10`,
See:
https://tools.ietf.org/html/rfc5280#section-5.3.1
```
unspecified (0),
keyCompromise (1),
cACompromise (2),
affiliationChanged (3),
superseded (4),
cessationOfOperation (5),
certificateHold (6),
-- value 7 is not used
removeFromCRL (8),
privilegeWithdrawn (9),
aACompromise (10
```