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 0b3bff9082 Test using nslookup and on ubuntu16 6 years ago
..
test-config Test using nslookup and on ubuntu16 6 years ago
1-simple-http01.bats Add tests using staging server 6 years ago
2-simple-dns01-dig.bats Test using nslookup and on ubuntu16 6 years ago
2-simple-dns01-nslookup.bats Test using nslookup and on ubuntu16 6 years ago
3-dual-rsa-ecdsa.bats Add tests using staging server 6 years ago
4-more-than-10-hosts.bats Add tests using staging server 6 years ago
5-secp384-http01.bats Add tests using staging server 6 years ago
6-dual-rsa-ecdsa-copy-2-locations.bats Add tests using staging server 6 years ago
7-duckdns-dns01.bats Add tests using staging server 6 years ago
8-duckdns-ecdsa.bats Test using nslookup and on ubuntu16 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 Fix for DUAL_RSA_ECDSA not working with ACMEv2 (#334, #474, #502) 6 years ago
Dockerfile-ubuntu Use default awk on most images, add debian:latest and ubuntu:latest 6 years ago
Dockerfile-ubuntu16 Test using nslookup and on ubuntu16 6 years ago
Dockerfile-ubuntu18 Use default awk on most images, add debian:latest and ubuntu:latest 6 years ago
README.md Fix for DUAL_RSA_ECDSA not working with ACMEv2 (#334, #474, #502) 6 years ago
alpine-supervisord.conf Test improvements and add Alpine Linux 6 years ago
debug-test.sh Test using nslookup and on ubuntu16 6 years ago
restart-nginx Test improvements and add Alpine Linux 6 years ago
run-all-tests.cmd Test using nslookup and on ubuntu16 6 years ago
run-all-tests.sh Add tests using staging server 6 years ago
test_helper.bash Test using nslookup and on ubuntu16 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 wildcards
  2. Test SSH, SFTP, SCP
  3. Test change of key algorithm