==== run-regress-acme ==== mkdir -p etc sed 's,${.OBJDIR},/home/src/regress/usr.sbin/acme-client/obj,' /home/src/regress/usr.sbin/acme-client/acme-client.conf > etc/acme-client.conf mkdir -p etc sed 's,${.OBJDIR},/home/src/regress/usr.sbin/acme-client/obj,' /home/src/regress/usr.sbin/acme-client/httpd.conf >etc/httpd.conf mkdir -p www/htdocs www/acme www/logs etc/acme etc/ssl/acme/private doas -n /usr/sbin/httpd -f /home/src/regress/usr.sbin/acme-client/obj/etc/httpd.conf sleep .1 # give httpd some time to spin up pgrep -xf "/usr/sbin/httpd -f /home/src/regress/usr.sbin/acme-client/obj/etc/httpd.conf" 83686 sed 's,${.CURDIR},/home/src/regress/usr.sbin/acme-client,' /home/src/regress/usr.sbin/acme-client/pebble-config.json > pebble-config.json /usr/local/bin/pebble -config /home/src/regress/usr.sbin/acme-client/obj/pebble-config.json > /home/src/regress/usr.sbin/acme-client/obj/pebble.out & while ! $(fgrep -q 'Root CA certificate available' /home/src/regress/usr.sbin/acme-client/obj/pebble.out); do sleep .1; done doas -n /usr/sbin/acme-client -f /home/src/regress/usr.sbin/acme-client/obj/etc/acme-client.conf -v localhost acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/private/privkey.pem: generated RSA domain key acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/acme/privkey.pem: generated RSA account key acme-client: https://127.0.0.1:14000/dir: directories acme-client: 127.0.0.1: DNS: 127.0.0.1 acme-client: account key: https://127.0.0.1:14000/my-account/307704b989467263 acme-client: dochngreq: https://127.0.0.1:14000/authZ/aJ3rkSzesH4A6BYQzBL1jXRRnkf54ZZvvLNoJX0cdL4 acme-client: challenge, token: 9157grc9ZXEuRHRqj3ojuomNBYaX2kkTdrCKX4-9r1E, uri: https://127.0.0.1:14000/chalZ/0jRhDZFcvTyf9vCundasfBOMDX6A7oSUIHNx7SfshlA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/9157grc9ZXEuRHRqj3ojuomNBYaX2kkTdrCKX4-9r1E: created acme-client: https://127.0.0.1:14000/chalZ/0jRhDZFcvTyf9vCundasfBOMDX6A7oSUIHNx7SfshlA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/aJ3rkSzesH4A6BYQzBL1jXRRnkf54ZZvvLNoJX0cdL4 acme-client: challenge, token: 9157grc9ZXEuRHRqj3ojuomNBYaX2kkTdrCKX4-9r1E, uri: https://127.0.0.1:14000/chalZ/0jRhDZFcvTyf9vCundasfBOMDX6A7oSUIHNx7SfshlA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/w3NBs8QOTdv_hLkZsnKkie0wW_5DBgBMMdRJuLJU4ss: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/01cdf9d39236dd22: certificate account key: https://127.0.0.1:14000/my-account/307704b989467263 acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: created doas -n /usr/sbin/acme-client -f /home/src/regress/usr.sbin/acme-client/obj/etc/acme-client.conf -r -v localhost acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: revocation acme-client: https://127.0.0.1:14000/dir: directories acme-client: 127.0.0.1: DNS: 127.0.0.1 acme-client: account key: https://127.0.0.1:14000/my-account/307704b989467263 acme-client: https://127.0.0.1:14000/revoke-cert: revocation acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: unlinked ==== run-regress-acme-profile ==== mkdir -p etc sed 's,${.OBJDIR},/home/src/regress/usr.sbin/acme-client/obj,' /home/src/regress/usr.sbin/acme-client/acme-client-profile.conf > etc/acme-client-profile.conf doas -n /usr/sbin/acme-client -f /home/src/regress/usr.sbin/acme-client/obj/etc/acme-client-profile.conf -v localhost acme-client: https://127.0.0.1:14000/dir: directories acme-client: 127.0.0.1: DNS: 127.0.0.1 acme-client: account key: https://127.0.0.1:14000/my-account/307704b989467263 acme-client: https://127.0.0.1:14000/finalize-order/eowyxBQjY7t2km0DSk95jWQBjvtXDQzvhua2lf687Os: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/50a103932a4bfe2a: certificate acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: created doas -n /usr/sbin/acme-client -f /home/src/regress/usr.sbin/acme-client/obj/etc/acme-client-profile.conf -r -v localhost acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: revocation acme-client: https://127.0.0.1:14000/dir: directories acme-client: 127.0.0.1: DNS: 127.0.0.1 acme-client: account key: https://127.0.0.1:14000/my-account/307704b989467263 acme-client: https://127.0.0.1:14000/revoke-cert: revocation acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: unlinked ==== run-regress-acme-ipaddress ==== mkdir -p etc sed 's,${.OBJDIR},/home/src/regress/usr.sbin/acme-client/obj,' /home/src/regress/usr.sbin/acme-client/acme-client-ipaddress.conf > etc/acme-client-ipaddress.conf doas -n /usr/sbin/acme-client -f /home/src/regress/usr.sbin/acme-client/obj/etc/acme-client-ipaddress.conf -v localhost acme-client: https://127.0.0.1:14000/dir: directories acme-client: 127.0.0.1: DNS: 127.0.0.1 acme-client: account key: https://127.0.0.1:14000/my-account/307704b989467263 acme-client: dochngreq: https://127.0.0.1:14000/authZ/AMH5b8Dvxu302ODhSc7ZIAOm-Z-jFWMz_TOUt7Tk1GQ acme-client: challenge, token: 1fB7uQgYOxa6c8G9EVu3WuEv5baSt6Cf48AZunwhf3M, uri: https://127.0.0.1:14000/chalZ/ZxJj4hcLuJ7xRCFZppKffh5N-FRVQAcVw1LCRbSfkpc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/1fB7uQgYOxa6c8G9EVu3WuEv5baSt6Cf48AZunwhf3M: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/LdZ-TlgCxA4dPE_2NN3b681YcyliAypyUKqhdlIdom8 acme-client: challenge, token: rO9-PZEM3ZhXzh6k9YVFh8XnGeYBO8PhqCflukLvbyU, uri: https://127.0.0.1:14000/chalZ/pg4Y0LhO3FWx73fTX_HHwpC8a7cr8SmtVuB0_YouW1k, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/rO9-PZEM3ZhXzh6k9YVFh8XnGeYBO8PhqCflukLvbyU: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/Z1JZIvWjv_gOcPrQN8QRI-yJnCkLHhnmyyBzu3ijB_k acme-client: challenge, token: gnbl5_fRdLyPagIFYQNQpnuSFGgRjcwT8V5QxxEp7sk, uri: https://127.0.0.1:14000/chalZ/wwtYcGb0gRRxXOaWJkYLiBHASudKQMWSvHyAzjErc8U, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/gnbl5_fRdLyPagIFYQNQpnuSFGgRjcwT8V5QxxEp7sk: created acme-client: https://127.0.0.1:14000/chalZ/ZxJj4hcLuJ7xRCFZppKffh5N-FRVQAcVw1LCRbSfkpc: challenge acme-client: https://127.0.0.1:14000/chalZ/pg4Y0LhO3FWx73fTX_HHwpC8a7cr8SmtVuB0_YouW1k: challenge acme-client: https://127.0.0.1:14000/chalZ/wwtYcGb0gRRxXOaWJkYLiBHASudKQMWSvHyAzjErc8U: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/AMH5b8Dvxu302ODhSc7ZIAOm-Z-jFWMz_TOUt7Tk1GQ acme-client: challenge, token: 1fB7uQgYOxa6c8G9EVu3WuEv5baSt6Cf48AZunwhf3M, uri: https://127.0.0.1:14000/chalZ/ZxJj4hcLuJ7xRCFZppKffh5N-FRVQAcVw1LCRbSfkpc, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/LdZ-TlgCxA4dPE_2NN3b681YcyliAypyUKqhdlIdom8 acme-client: challenge, token: rO9-PZEM3ZhXzh6k9YVFh8XnGeYBO8PhqCflukLvbyU, uri: https://127.0.0.1:14000/chalZ/pg4Y0LhO3FWx73fTX_HHwpC8a7cr8SmtVuB0_YouW1k, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Z1JZIvWjv_gOcPrQN8QRI-yJnCkLHhnmyyBzu3ijB_k acme-client: challenge, token: gnbl5_fRdLyPagIFYQNQpnuSFGgRjcwT8V5QxxEp7sk, uri: https://127.0.0.1:14000/chalZ/wwtYcGb0gRRxXOaWJkYLiBHASudKQMWSvHyAzjErc8U, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/FwBMDhRMw6RP4hfEdYD1yri7Gu4wh3dDHbyVdXAg_R4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6919dacd78f0e8f7: certificate acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: created doas -n /usr/sbin/acme-client -f /home/src/regress/usr.sbin/acme-client/obj/etc/acme-client-ipaddress.conf -r -v localhost acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: revocation acme-client: https://127.0.0.1:14000/dir: directories acme-client: 127.0.0.1: DNS: 127.0.0.1 acme-client: account key: https://127.0.0.1:14000/my-account/307704b989467263 acme-client: https://127.0.0.1:14000/revoke-cert: revocation acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: unlinked ==== run-regress-acme-ipaddress2 ==== doas -n /usr/sbin/acme-client -f /home/src/regress/usr.sbin/acme-client/obj/etc/acme-client-ipaddress.conf -v ::1 acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/private/privkey2.pem: generated RSA domain key acme-client: https://127.0.0.1:14000/dir: directories acme-client: 127.0.0.1: DNS: 127.0.0.1 acme-client: account key: https://127.0.0.1:14000/my-account/307704b989467263 acme-client: dochngreq: https://127.0.0.1:14000/authZ/pFxAV2lP_tDKzoBsXGJbWd32cSUYFFYaiY9MAcjG_p4 acme-client: challenge, token: hX8TYihZVDePYeV7D5LLQYtjThUSapV4ayTZ4QU7O18, uri: https://127.0.0.1:14000/chalZ/5vzNC45zBDDoKMfdmTVFQpc2dDRfFNoCwPVVpoSSncs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/hX8TYihZVDePYeV7D5LLQYtjThUSapV4ayTZ4QU7O18: created acme-client: https://127.0.0.1:14000/chalZ/5vzNC45zBDDoKMfdmTVFQpc2dDRfFNoCwPVVpoSSncs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/pFxAV2lP_tDKzoBsXGJbWd32cSUYFFYaiY9MAcjG_p4 acme-client: challenge, token: hX8TYihZVDePYeV7D5LLQYtjThUSapV4ayTZ4QU7O18, uri: https://127.0.0.1:14000/chalZ/5vzNC45zBDDoKMfdmTVFQpc2dDRfFNoCwPVVpoSSncs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/akKAryn1LbvKY7J-J_IEBsJnS94gUzwCcE7iqXKv18E: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5f33e33fa9addc7c: certificate acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert2.pem: created doas -n /usr/sbin/acme-client -f /home/src/regress/usr.sbin/acme-client/obj/etc/acme-client-ipaddress.conf -r -v ::1 acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert2.pem: revocation acme-client: https://127.0.0.1:14000/dir: directories acme-client: 127.0.0.1: DNS: 127.0.0.1 acme-client: account key: https://127.0.0.1:14000/my-account/307704b989467263 acme-client: https://127.0.0.1:14000/revoke-cert: revocation acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert2.pem: unlinked ==== run-regress-cleanup ==== make -C /home/src/regress/usr.sbin/acme-client httpd-stop doas -n pkill -xf "/usr/sbin/httpd -f /home/src/regress/usr.sbin/acme-client/obj/etc/httpd.conf" make -C /home/src/regress/usr.sbin/acme-client pebble-stop pkill -xf "/usr/local/bin/pebble -config /home/src/regress/usr.sbin/acme-client/obj/pebble-config.json"