Skip to content

aacfactory/acmes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Acmes

acme server

Install

go install github.com/aacfactory/acmes

Usage

Setup ACME DNS Provider. More DNS providers is HERE.

export ALICLOUD_ACCESS_KEY=foo
export ALICLOUD_SECRET_KEY=bar

Startup server.

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
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.