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 099a8e2571
Move all testing to BATS
6 years ago
..
bind9 Check-in bind (not used) 6 years ago
pebble/config Move all testing to BATS 6 years ago
test-config Move all testing to BATS 6 years ago
Dockerfile-rhel6 Update templates, clean up test code 6 years ago
Dockerfile-ubuntu Move all testing to BATS 6 years ago
README.md Move all testing to BATS 6 years ago
dual-rsa-ecdsa.bats Move all testing to BATS 6 years ago
more-than-10-hosts.bats Move all testing to BATS 6 years ago
no-ip2.conf wip 6 years ago
run-test-10-hosts.sh Test more than 10 domains (i7 branch) 6 years ago
simple-dns01.bats Move all testing to BATS 6 years ago
simple-http01.bats Move all testing to BATS 6 years ago
test_helper.bash Move all testing to BATS 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 docker exec -it getssl bats /getssl/test

Run individual test docker exec -it getssl bats /getssl/test/<filename.bats>

Debug (need to set CURL_CA_BUNDLE as pebble uses a local certificate, otherwise you get a "unknown API version" error) docker exec -it getssl /bin/bash export CURL_CA_BUNDLE=/root/pebble-ca-bundle.crt /getssl/getssl -d getssl

TODO

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