==== 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" 69118 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/5df5853a669bd181 acme-client: dochngreq: https://127.0.0.1:14000/authZ/cI6GHnLMYIfV0AWVA2Ed6HRAX7V7AKDi3euzCozcx-o acme-client: challenge, token: 8kW0uW0tHJ5udyOiOVfKdverVxfp8KvwoT5fVILMQvo, uri: https://127.0.0.1:14000/chalZ/beI46FrqEfDY0z1Qef8_OSHViZuAS6eeNotoZnePwdY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/8kW0uW0tHJ5udyOiOVfKdverVxfp8KvwoT5fVILMQvo: created acme-client: https://127.0.0.1:14000/chalZ/beI46FrqEfDY0z1Qef8_OSHViZuAS6eeNotoZnePwdY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/cI6GHnLMYIfV0AWVA2Ed6HRAX7V7AKDi3euzCozcx-o acme-client: challenge, token: 8kW0uW0tHJ5udyOiOVfKdverVxfp8KvwoT5fVILMQvo, uri: https://127.0.0.1:14000/chalZ/beI46FrqEfDY0z1Qef8_OSHViZuAS6eeNotoZnePwdY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/EAYpofTUegCoLPqIoJNo-bpPGKFl3-RmskEDXmf1TxE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/035c14bda1470a32: certificate acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: created account key: https://127.0.0.1:14000/my-account/5df5853a669bd181 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/5df5853a669bd181 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/5df5853a669bd181 acme-client: https://127.0.0.1:14000/finalize-order/pT1nV7g0tSv_qLCwDdwldHT4KGID-ImnLHNaVBV96jI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6e392e82e7072f43: 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/5df5853a669bd181 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/5df5853a669bd181 acme-client: dochngreq: https://127.0.0.1:14000/authZ/zWDsXCH81swYDh1NnBwoF1qlwyqL8RYuS-2NOUafqT8 acme-client: challenge, token: quNlk7vY2q-yQU9vQVEGO9A83zteCe1R2lIHm-s04BQ, uri: https://127.0.0.1:14000/chalZ/F7n9zfKTYfG7glbdlvAIzBnmv51mVtOvqwobSqEBOEs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/quNlk7vY2q-yQU9vQVEGO9A83zteCe1R2lIHm-s04BQ: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/Cxfo_OgLwm36qG39p0q3-cCwqZlFxhb2NemYKGJQBfg acme-client: challenge, token: W-611EGN86hIn5U5w-BxQbAW3pwOTzmvPKGewpu0-3w, uri: https://127.0.0.1:14000/chalZ/MH6ocGekRzN6KR10zc_CBcZNZY9GsjwnRZS1LjNtDos, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/W-611EGN86hIn5U5w-BxQbAW3pwOTzmvPKGewpu0-3w: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/QWop__PoHXmBa2v4zrBZZO-9GNgQob60IsDuEC_PpBM acme-client: challenge, token: uBwO49qYd_mWPs8jA0R7xipE8V9twVaoTcalf8FNmIc, uri: https://127.0.0.1:14000/chalZ/QAz95qEXP6QZXbwsc8qKDXXg80ZmPOZfJNdNH7-738A, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/uBwO49qYd_mWPs8jA0R7xipE8V9twVaoTcalf8FNmIc: created acme-client: https://127.0.0.1:14000/chalZ/F7n9zfKTYfG7glbdlvAIzBnmv51mVtOvqwobSqEBOEs: challenge acme-client: https://127.0.0.1:14000/chalZ/MH6ocGekRzN6KR10zc_CBcZNZY9GsjwnRZS1LjNtDos: challenge acme-client: https://127.0.0.1:14000/chalZ/QAz95qEXP6QZXbwsc8qKDXXg80ZmPOZfJNdNH7-738A: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/zWDsXCH81swYDh1NnBwoF1qlwyqL8RYuS-2NOUafqT8 acme-client: challenge, token: quNlk7vY2q-yQU9vQVEGO9A83zteCe1R2lIHm-s04BQ, uri: https://127.0.0.1:14000/chalZ/F7n9zfKTYfG7glbdlvAIzBnmv51mVtOvqwobSqEBOEs, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Cxfo_OgLwm36qG39p0q3-cCwqZlFxhb2NemYKGJQBfg acme-client: challenge, token: W-611EGN86hIn5U5w-BxQbAW3pwOTzmvPKGewpu0-3w, uri: https://127.0.0.1:14000/chalZ/MH6ocGekRzN6KR10zc_CBcZNZY9GsjwnRZS1LjNtDos, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/QWop__PoHXmBa2v4zrBZZO-9GNgQob60IsDuEC_PpBM acme-client: challenge, token: uBwO49qYd_mWPs8jA0R7xipE8V9twVaoTcalf8FNmIc, uri: https://127.0.0.1:14000/chalZ/QAz95qEXP6QZXbwsc8qKDXXg80ZmPOZfJNdNH7-738A, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/yvrJQxn4e7PagVUAhHrOghM3JV5riB353wuY-LbLIeI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4890f2dcf86d837f: 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/5df5853a669bd181 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/5df5853a669bd181 acme-client: https://127.0.0.1:14000/finalize-order/182Kq7uUyqgyLef95mKnFXNRuvBu1a_IL1YEd6rNSZI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/446a495065742327: 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/5df5853a669bd181 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"