|
|
6 years ago | |
|---|---|---|
| .. | ||
| test-config | 6 years ago | |
| 1-simple-http01.bats | 6 years ago | |
| 2-simple-dns01.bats | 6 years ago | |
| 3-dual-rsa-ecdsa.bats | 6 years ago | |
| 4-more-than-10-hosts.bats | 6 years ago | |
| 5-secp384-http01.bats | 6 years ago | |
| 6-dual-rsa-ecdsa-copy-2-locations.bats | 6 years ago | |
| Dockerfile-alpine | 6 years ago | |
| Dockerfile-centos6 | 6 years ago | |
| Dockerfile-debian | 6 years ago | |
| Dockerfile-ubuntu | 6 years ago | |
| Dockerfile-ubuntu18 | 6 years ago | |
| README.md | 6 years ago | |
| alpine-supervisord.conf | 6 years ago | |
| debug-test.sh | 6 years ago | |
| restart-nginx | 6 years ago | |
| run-all-tests.cmd | 6 years ago | |
| run-all-tests.sh | 6 years ago | |
| test_helper.bash | 6 years ago | |
This directory contains a simple test script which tests creating certificates with Pebble (testing version of the LetsEncrypt server)
Start up pebble, the challdnstest server for DNS challenges
docker-compose -f "docker-compose.yml" up -d --build
Run the tests
test/run-all-tests.sh
Run individual test
docker exec -it getssl bats /getssl/test/<filename.bats>
Debug (uses helper script to set CURL_CA_BUNDLE as pebble uses a local certificate,
otherwise you get a "unknown API version" error)
docker exec -it getssl-<os> /getssl/test/debug-test.sh <config-file>`
eg.
```sh
docker exec -it getssl-ubuntu18 /getssl/test/debug-test.sh getssl-http01.cfg