https://github.com/aacfactory/acmes
acme server
https://github.com/aacfactory/acmes
Last synced: 5 months ago
JSON representation
acme server
- Host: GitHub
- URL: https://github.com/aacfactory/acmes
- Owner: aacfactory
- License: apache-2.0
- Created: 2022-05-31T03:34:23.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-16T04:36:46.000Z (over 2 years ago)
- Last Synced: 2024-06-21T09:46:32.252Z (almost 2 years ago)
- Language: Go
- Size: 73.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Acmes
acme server
## Install
```shell
go install github.com/aacfactory/acmes
```
## Usage
Setup ACME DNS Provider. More DNS providers is [HERE](https://go-acme.github.io/lego/dns/).
```shell
export ALICLOUD_ACCESS_KEY=foo
export ALICLOUD_SECRET_KEY=bar
```
Startup server.
```shell
acmes serve --port 8443 \
--ca ./cert.pem --cakey ./key.pem \
--level debug \
--store file:///some_path/store \
--provider alidns \
--email for@bar.com
```
Run in docker
* make your self sign ca
* choose your dns provider
* run it
```shell
docker run -d --rm --name acmes \
-e ACMES_EMAIL=foo@bar.com \
-e ACMES_DNS_PROVIDER=alidns \
-e ALICLOUD_ACCESS_KEY=foo \
-e ALICLOUD_SECRET_KEY=bar \
-v $PWD/data:/data \
-v $PWD/cert:/cert \
wangminxiang0425/acmes:latest
```
Use Client in your project, see `client`.