|Isaac 1d04d63398||7 months ago|
|examples||1 year ago|
|.gitignore||11 months ago|
|.travis.yml||7 months ago|
|LICENSE||3 years ago|
|Makefile||11 months ago|
|README.md||11 months ago|
|THIRD-PARTY||2 years ago|
|account.go||1 year ago|
|account_test.go||1 year ago|
|acme.go||1 year ago|
|acme_test.go||11 months ago|
|authorization.go||2 years ago|
|authorization_test.go||2 years ago|
|autocert.go||1 year ago|
|autocert_test.go||1 year ago|
|certificate.go||11 months ago|
|certificate_test.go||11 months ago|
|challenge.go||2 years ago|
|challenge_test.go||1 year ago|
|go.mod||1 year ago|
|jws.go||1 year ago|
|jws_test.go||1 year ago|
|misc_test.go||2 years ago|
|nonce.go||2 years ago|
|nonce_test.go||2 years ago|
|options.go||1 year ago|
|options_test.go||1 year ago|
|order.go||1 year ago|
|order_test.go||1 year ago|
|problem.go||1 year ago|
|problem_test.go||1 year ago|
|types.go||1 year ago|
|utility_test.go||1 year ago|
The library is designed to provide a zero external dependency wrapper over exposed directory endpoints and provide objects in easy to use structures.
A Go version of at least 1.11 is required as this repository is designed to be imported as a Go module.
Simply import the module into a project,
/v3 major version at the end. Due to the way modules function, this is the major version as represented in the
go.mod file and latest git repo semver tag.
All functions are still exported and called using the
acme package name.
A simple certbot-like example is provided in the examples/certbot directory. This code demonstrates account registration, new order submission, fulfilling challenges, finalising an order and fetching the issued certificate chain.
An example of how to use the autocert package is also provided in examples/autocert.
Challenge fulfilment is designed to use the new
challtestsrv server present inside boulder and pebble which responds to dns queries and challenges as required.
To run tests against an already running instance of boulder or pebble, use the
test target in the Makefile.
Some convenience targets for launching pebble/boulder using their respective docker compose files have also been included in the Makefile.