oddclient

command module
v0.0.0-...-98a9075 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2022 License: MIT Imports: 24 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL