HEX
Server: Apache/2.4.41 (Amazon) OpenSSL/1.0.2k-fips PHP/5.6.40
System: Linux ip-172-31-40-18 4.14.146-93.123.amzn1.x86_64 #1 SMP Tue Sep 24 00:45:23 UTC 2019 x86_64
User: apache (48)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: //usr/local/ngfot/letsencrypt/certbot-dns-route53/tools/tester.pkoch-macos_sierra.sh
#!/bin/bash
# I just wanted a place to dump the incantations I use for testing.
set -e

brew install openssl libffi

rm -rf scratch; mkdir scratch

virtualenv scratch/venv -p /usr/local/bin/python2.7
scratch/venv/bin/pip install -U pip setuptools

CPPFLAGS=-I/usr/local/opt/openssl/include LDFLAGS=-L/usr/local/opt/openssl/lib scratch/venv/bin/pip install -e .

scratch/venv/bin/certbot certonly -n --agree-tos --test-cert --email pkoch@lifeonmars.pt -a certbot-route53:auth -d pkoch.lifeonmars.pt --work-dir scratch --config-dir scratch --logs-dir scratch

rm -rf scratch