Skip to content

Commit eb35d55

Browse files
authored
Update README.md
1 parent 9aa5ab1 commit eb35d55

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,35 @@
1414
Digitalocean Certificate Letsencrypt Generator
1515
1616
```
17+
18+
## Description
19+
**docert** is certbot helper script for generating letsencrypt using digitalocean plugin. It can be usefull for automation or manual creation. Personally we use this for generating ssl letsencrypt certificate on development.
20+
21+
## How to use
22+
Using this script is quite simple, but required docker. We already used this on Mac or Linux.
23+
1. Clone this repository, then build your docker image.
24+
```
25+
cd docert
26+
docker build -t devboxid/docert:latest .
27+
```
28+
2. [Generate](https://www.digitalocean.com/docs/apis-clis/api/create-personal-access-token/) your digitalocean personal access token.
29+
3. Save in `./secrets/config.ini` same as your working/cloned repository.
30+
```
31+
## config.ini
32+
dns_digitalocean_token = deb15a2a06**************************************
33+
```
34+
4. If you change tag docker build in step-1. Don't forget to change docker tag in [docert.sh](./docert.sh#L3)
35+
5. Run it.
36+
```
37+
./docert.sh
38+
39+
+-----------------------------------+
40+
| TASK | TASK USAGE FOR |
41+
+-----------------------------------+
42+
| list | list certificate |
43+
| new | create certificate |
44+
| renew | renew certificate |
45+
+-----------------------------------+
46+
47+
Type your task :
48+
```

0 commit comments

Comments
 (0)