1
0
mirror of https://github.com/go-acme/lego.git synced 2024-12-23 01:07:23 +02:00
lego/e2e/readme.md

24 lines
437 B
Markdown
Raw Normal View History

# E2E tests
How to run:
- Add the following entries to your `/etc/hosts`:
```
127.0.0.1 acme.wtf
127.0.0.1 lego.wtf
127.0.0.1 acme.lego.wtf
127.0.0.1 légô.wtf
127.0.0.1 xn--lg-bja9b.wtf
```
- Install [Pebble](https://github.com/letsencrypt/pebble):
```bash
2023-03-02 00:56:19 +02:00
go install github.com/letsencrypt/pebble/v2/cmd/pebble@main
go install github.com/letsencrypt/pebble/v2/cmd/pebble-challtestsrv@main
```
- Launch tests:
```bash
make e2e
```