This projects has a goal to provide let's encrypt x509 certificates to hosts which are not reachable from the internet or with limited internet access.
在本地机器mac上,安装go环境。然后,
cd $GOPATH
go get -u -v github.com/zehome/sintls/cmd/sintls-client
which sintls-client
没有显示内容,还需:
在本地机器mac上,安装go环境。然后,
cd $GOPATH
go get -u -v github.com/zehome/sintls/cmd/sintls-client
which sintls-client
没有显示内容,还需:
cd src/github.com/zehome/sintls/cmd/sintls-client
go build
(在当前目录下,生成了可执行文件sintls-client)
./sintls-client
显示:
NAME:
sintls - Simple Internal TLS certificate helper
USAGE:
sintls [global options] command [command options] [arguments...]
VERSION:
1.0.0
COMMANDS:
run Register an account, then create and install a certificate
revoke Revoke a certificate
renew Renew a certificate
list Display certificates and accounts information.
update Update on github
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--domains value, -d value Add a domain to the process. Can be specified multiple times.
--server value SINTLS server (default: "https://sintls.clarilab.fr/")
--target-a value DNS Target (A Entry)
--target-aaaa value DNS Target (AAAA Entry)
--target-cname value DNS Target (CNAME Entry)
--ca-server value CA hostname (and optionally :port). (default: "https://acme-v02.api.letsencrypt.org/directory")
--accept-tos, -a By setting this flag to true you indicate that you accept the current Let's Encrypt terms of service.
--email value, -m value Email used for registration and recovery contact.
--key-type value, -k value Key type to use for private keys. Supported: rsa2048, rsa4096, rsa8192, ec256, ec384. (default: "ec384")
--path value Directory to use for storing the data. (default: "/Users/yuming/.config/sintls")
--cert.timeout value Set the certificate timeout value to a specific value in seconds. Only used when obtaining certificates. (default: 30)
--help, -h show help
--version, -v print the version