You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Tim Kimber 6b17701cdc
Use default awk on most images, add debian:latest and ubuntu:latest
6 years ago
..
test-config Test improvements and add Alpine Linux 6 years ago
1-simple-http01.bats Check output for "Error", "Failed" and "Warning" 6 years ago
2-simple-dns01.bats Check output for "Error", "Failed" and "Warning" 6 years ago
4-more-than-10-hosts.bats Check output for "Error", "Failed" and "Warning" 6 years ago
Dockerfile-alpine Use default awk on most images, add debian:latest and ubuntu:latest 6 years ago
Dockerfile-centos6 Use default awk on most images, add debian:latest and ubuntu:latest 6 years ago
Dockerfile-debian Use default awk on most images, add debian:latest and ubuntu:latest 6 years ago
Dockerfile-ubuntu Use default awk on most images, add debian:latest and ubuntu:latest 6 years ago
Dockerfile-ubuntu18 Use default awk on most images, add debian:latest and ubuntu:latest 6 years ago
README.md Check output for "Error", "Failed" and "Warning" 6 years ago
alpine-supervisord.conf Test improvements and add Alpine Linux 6 years ago
debug-test.sh Check output for "Error", "Failed" and "Warning" 6 years ago
restart-nginx Test improvements and add Alpine Linux 6 years ago
run-all-tests.sh Use default awk on most images, add debian:latest and ubuntu:latest 6 years ago
test_helper.bash Use default awk on most images, add debian:latest and ubuntu:latest 6 years ago

README.md

Testing

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

TODO

  1. Test RHEL6, Debian as well
  2. Test SSH, SFTP
  3. Test wildcards