||1 year ago|
|examples||2 years ago|
|.gitignore||2 years ago|
|.travis.yml||1 year ago|
|LICENSE||4 years ago|
|Makefile||2 years ago|
|README.md||2 years ago|
|THIRD-PARTY||4 years ago|
|account.go||2 years ago|
|account_test.go||2 years ago|
|acme.go||2 years ago|
|acme_test.go||2 years ago|
|authorization.go||3 years ago|
|authorization_test.go||3 years ago|
|autocert.go||2 years ago|
|autocert_test.go||2 years ago|
|certificate.go||2 years ago|
|certificate_test.go||2 years ago|
|challenge.go||3 years ago|
|challenge_test.go||3 years ago|
|go.mod||2 years ago|
|jws.go||2 years ago|
|jws_test.go||2 years ago|
|misc_test.go||3 years ago|
|nonce.go||4 years ago|
|nonce_test.go||4 years ago|
|options.go||3 years ago|
|options_test.go||3 years ago|
|order.go||3 years ago|
|order_test.go||2 years ago|
|problem.go||2 years ago|
|problem_test.go||2 years ago|
|types.go||2 years ago|
|utility_test.go||2 years 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.