boulder/vendor/github.com/eggsampler/acme/v3
Aaron Gable 3ddca2d1b8
Update eggsampler/acme and use it for ARI tests (#6811)
Update github.com/eggsampler/acme from v3.3.0 to v3.4.0.
Changelog: https://github.com/eggsampler/acme/compare/v3.3.0...v3.4.0

Update the ARI integration test to use the eggampler/acme client's new
ARI capabilities for making both GET and POST requests. This simplifies
and streamlines the test significantly, and lets us test the POST path.

Fixes #6781
2023-04-19 14:14:43 -07:00
..
.gitignore Bump github.com/eggsampler/acme/v3 from 3.0.0 to 3.2.1 (#5959) 2022-02-22 16:02:30 -08:00
LICENSE deps: update to eggsampler/acme/v3, run tidy, re-enable parallel tests (#4568) 2019-11-21 09:23:12 -05:00
Makefile Update eggsampler/acme and use it for ARI tests (#6811) 2023-04-19 14:14:43 -07:00
README.md Update eggsampler/acme and use it for ARI tests (#6811) 2023-04-19 14:14:43 -07:00
THIRD-PARTY deps: update to eggsampler/acme/v3, run tidy, re-enable parallel tests (#4568) 2019-11-21 09:23:12 -05:00
account.go Bump github.com/eggsampler/acme/v3 from 3.0.0 to 3.2.1 (#5959) 2022-02-22 16:02:30 -08:00
acme.go Update eggsampler/acme and use it for ARI tests (#6811) 2023-04-19 14:14:43 -07:00
ari.go Update eggsampler/acme and use it for ARI tests (#6811) 2023-04-19 14:14:43 -07:00
authorization.go deps: update to eggsampler/acme/v3, run tidy, re-enable parallel tests (#4568) 2019-11-21 09:23:12 -05:00
autocert.go Bump github.com/eggsampler/acme/v3 from 3.0.0 to 3.2.1 (#5959) 2022-02-22 16:02:30 -08:00
certificate.go Bump github.com/eggsampler/acme/v3 from 3.0.0 to 3.2.1 (#5959) 2022-02-22 16:02:30 -08:00
challenge.go deps: update to eggsampler/acme/v3, run tidy, re-enable parallel tests (#4568) 2019-11-21 09:23:12 -05:00
docker-compose.boulder-temp.yml Bump github.com/eggsampler/acme/v3 from 3.2.1 to 3.3.0 (#6060) 2022-04-25 15:09:25 -07:00
jws.go Update eggsampler/acme and use it for ARI tests (#6811) 2023-04-19 14:14:43 -07:00
nonce.go deps: update to eggsampler/acme/v3, run tidy, re-enable parallel tests (#4568) 2019-11-21 09:23:12 -05:00
options.go Bump github.com/eggsampler/acme/v3 from 3.0.0 to 3.2.1 (#5959) 2022-02-22 16:02:30 -08:00
order.go Update eggsampler/acme and use it for ARI tests (#6811) 2023-04-19 14:14:43 -07:00
problem.go Bump github.com/eggsampler/acme/v3 from 3.0.0 to 3.2.1 (#5959) 2022-02-22 16:02:30 -08:00
types.go Update eggsampler/acme and use it for ARI tests (#6811) 2023-04-19 14:14:43 -07:00

README.md

eggsampler/acme

GoDoc Build Status Coverage Status

About

eggsampler/acme is a Go client library implementation for RFC8555 (previously ACME v2). This library can be used with the Let's Encrypt Certificate Authority (CA), but also other ACME compliant CA's such as ZeroSSL.

The library is designed to provide a zero external dependency wrapper over exposed directory endpoints and provide objects in easy to use structures.

Requirements

A Go version of at least 1.11 is required as this repository is designed to be imported as a Go module.

Usage

Simply import the module into a project,

import "github.com/eggsampler/acme/v3"

Note the /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.

Examples

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.

Tests

The tests can be run against an instance of boulder or pebble.

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.