certbot/tests/letstest/scripts
ohemorange 2acc1dcc89
Fix TLS-ALPN tests with newer versions of OpenSSL (#8026)
Fixes #7988. As described there, the steps involved are:

1. Update our tests so they fail due to this problem.
2. Update the keys used in the tests so they pass with the new changes.

For 1, see a [failing travis run](https://travis-ci.com/github/certbot/certbot/jobs/340710511) with the included change. And for the full output to confirm that this is what is failing, see a [run on debian 10](https://github.com/certbot/certbot/files/4692350/debian_run_log.txt).

This PR adds `rsa4096_key.pem` and `rsa4096_cert.pem`, updates the `TLS-ALPN` test to use those keys in place of the 1024-bit versions, and fixes the README in that `testdata` folder with correct instructions to generate these files.

* export PIP_NO_BINARY in pip install subshell in test_sdists.sh

* set environment variable on the line that installs most packages

* Generate 4096-bit rsa key and cert, and fix README instructions to do so.

* Update TLS_ALPN test to use 4096-bit key instead of 1024-bit key.

* Update changelog

* Older versions of Python have an error when both VIRTUAL_NO_DOWNLOAD and PIP_NO_BINARY are set, so only apply the latter at the install phase.

* Add enum34 constraint manually, since rebuild_dependencies.py seems to be broken.

* only delete key if it exists

* Check OpenSSL version before trying to set PIP_NO_BINARY

* Add comment explaining why we only set PIP_NO_BINARY at the install step
2020-06-01 15:18:38 -07:00
..
boulder_config.sh Update test farm version of boulder to current master (#7002) 2019-04-30 13:13:37 -07:00
boulder_install.sh Remove references and tests for Ubuntu Trusty. 2019-06-25 10:10:14 -07:00
set_python_envvars.sh Update Fedora AMI (#7102) 2019-05-31 18:08:52 -07:00
test_apache2.sh Disable TLS session tickets in Apache (#7771) 2020-03-23 16:49:52 -07:00
test_leauto_upgrades.sh Fix certbot-auto regarding python 3.4 -> python 3.6 migration for CentOS 6 users (#7519) 2020-01-13 09:24:41 +01:00
test_letsencrypt_auto_certonly_standalone.sh Don't use --agree-dev-preview in tests. (#7501) 2019-11-05 17:34:46 +01:00
test_openssl_version.py Disable TLS session tickets in Apache (#7771) 2020-03-23 16:49:52 -07:00
test_sdists.sh Fix TLS-ALPN tests with newer versions of OpenSSL (#8026) 2020-06-01 15:18:38 -07:00
test_tests.sh Refactor certbot/ and certbot/tests/ to use the same structure as the other packages (#7544) 2019-11-25 14:28:05 -08:00