Documentation ¶
Overview ¶
An ACME client that requests issuance of a certificate using a SHA-1 signed and a redirect to an HTTPS server that offers only TLS 1.0 and TLS 1.1.
To run against a local Boulder, edit docker-compose.yml to change FAKEDNS to 172.17.0.1 (your host IP) and run:
docker-compose up go run oddclient.go -dirurl http://boulder:4001/directory -domains ${RANDOM}-example.com -httpListen :5002 -httpsListen :5001
To run against a public ACME server, set up a host with wildcard DNS pointed at it and run:
go run oddclient.go -dirurl https://acme-staging-v02.api.letsencrypt.org/directory -domains ${RANDOM}.example.com
Adapted from https://github.com/eggsampler/acme/blob/7c62a72ecf03a1e7d81ab94d17b1fbac0259265d/examples/certbot/certbot.go
Click to show internal directories.
Click to hide internal directories.