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