==== 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" 15174 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/acme/privkey.pem: generated RSA account key acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/private/privkey.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/218f2eef0ef36c12 acme-client: dochngreq: https://127.0.0.1:14000/authZ/8sxrIfKd16NFCMY6K7QSxR-TXxBSPLZhNRiWzP2-qR8 acme-client: challenge, token: HymIEmICXoce2XbXA8I3kWJ5fykIM_QgC2Ef30cKbTI, uri: https://127.0.0.1:14000/chalZ/8UG5KClYgoN7UK9hd2WGxfddSkjHZb-8kyVCp95pYVk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/HymIEmICXoce2XbXA8I3kWJ5fykIM_QgC2Ef30cKbTI: created acme-client: https://127.0.0.1:14000/chalZ/8UG5KClYgoN7UK9hd2WGxfddSkjHZb-8kyVCp95pYVk: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/8sxrIfKd16NFCMY6K7QSxR-TXxBSPLZhNRiWzP2-qR8 acme-client: challenge, token: HymIEmICXoce2XbXA8I3kWJ5fykIM_QgC2Ef30cKbTI, uri: https://127.0.0.1:14000/chalZ/8UG5KClYgoN7UK9hd2WGxfddSkjHZb-8kyVCp95pYVk, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/oXy-dPB0m71-Sb26-Shj1qG-8VOPqbLIZQAjsLJW1MM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/57057cbc18bac01e: certificate account key: https://127.0.0.1:14000/my-account/218f2eef0ef36c12 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/218f2eef0ef36c12 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/218f2eef0ef36c12 acme-client: https://127.0.0.1:14000/finalize-order/yJTHsU_E28Eex2bO-DrO6uAK3KtMQn5G3jSpCO1cquo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/09b2e9402fc64800: 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/218f2eef0ef36c12 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/218f2eef0ef36c12 acme-client: dochngreq: https://127.0.0.1:14000/authZ/1f6rujyHR4aCd0TLC6SW7XJUZyEnYCC1Bj1Glae9vXk acme-client: challenge, token: WErrgMi1r12BUSl-ol-LeuNcYzYCnhaLUzZobmuGHF0, uri: https://127.0.0.1:14000/chalZ/7Q_7piS5mZTihp_aIy72nYcMmXJXZlbItRXu1EDN8Eo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/WErrgMi1r12BUSl-ol-LeuNcYzYCnhaLUzZobmuGHF0: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/jumkVHbzeNwZqR7O2ZURycSH8_xKR9HtzPDmPc-oqGo acme-client: challenge, token: C4R93Ob9PTAAWUfrjkdDdOWHpNR-krx0WsMW0uD6i5w, uri: https://127.0.0.1:14000/chalZ/sx4KWqGE4bbXpdpAjTPX-73YlP4dZBG53DINuaOA9tQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/C4R93Ob9PTAAWUfrjkdDdOWHpNR-krx0WsMW0uD6i5w: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/8sxrIfKd16NFCMY6K7QSxR-TXxBSPLZhNRiWzP2-qR8 acme-client: challenge, token: HymIEmICXoce2XbXA8I3kWJ5fykIM_QgC2Ef30cKbTI, uri: https://127.0.0.1:14000/chalZ/8UG5KClYgoN7UK9hd2WGxfddSkjHZb-8kyVCp95pYVk, status: 2 acme-client: https://127.0.0.1:14000/chalZ/7Q_7piS5mZTihp_aIy72nYcMmXJXZlbItRXu1EDN8Eo: challenge acme-client: https://127.0.0.1:14000/chalZ/sx4KWqGE4bbXpdpAjTPX-73YlP4dZBG53DINuaOA9tQ: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/1f6rujyHR4aCd0TLC6SW7XJUZyEnYCC1Bj1Glae9vXk acme-client: challenge, token: WErrgMi1r12BUSl-ol-LeuNcYzYCnhaLUzZobmuGHF0, uri: https://127.0.0.1:14000/chalZ/7Q_7piS5mZTihp_aIy72nYcMmXJXZlbItRXu1EDN8Eo, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/jumkVHbzeNwZqR7O2ZURycSH8_xKR9HtzPDmPc-oqGo acme-client: challenge, token: C4R93Ob9PTAAWUfrjkdDdOWHpNR-krx0WsMW0uD6i5w, uri: https://127.0.0.1:14000/chalZ/sx4KWqGE4bbXpdpAjTPX-73YlP4dZBG53DINuaOA9tQ, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/8sxrIfKd16NFCMY6K7QSxR-TXxBSPLZhNRiWzP2-qR8 acme-client: challenge, token: HymIEmICXoce2XbXA8I3kWJ5fykIM_QgC2Ef30cKbTI, uri: https://127.0.0.1:14000/chalZ/8UG5KClYgoN7UK9hd2WGxfddSkjHZb-8kyVCp95pYVk, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/icD14i8nY-W1RXbFEOPoVAfmTwdbP6Q-kAIzj4CHSck: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2e95caf2bbcba7f0: 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/218f2eef0ef36c12 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/218f2eef0ef36c12 acme-client: dochngreq: https://127.0.0.1:14000/authZ/vJ8EzhmmRSBgbqbiQCofuBvkhZzUMDpM4bLw2GdQ-eg acme-client: challenge, token: 3fpBiJ4pmZmNqBVv5kNjcI9_ZIge2I6QHeW4BaxJ9EY, uri: https://127.0.0.1:14000/chalZ/ZEx9QsMLfas5iXxPlhc_lUd5IoQ5QRSR9XO88UdFOiM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/3fpBiJ4pmZmNqBVv5kNjcI9_ZIge2I6QHeW4BaxJ9EY: created acme-client: https://127.0.0.1:14000/chalZ/ZEx9QsMLfas5iXxPlhc_lUd5IoQ5QRSR9XO88UdFOiM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/vJ8EzhmmRSBgbqbiQCofuBvkhZzUMDpM4bLw2GdQ-eg acme-client: challenge, token: 3fpBiJ4pmZmNqBVv5kNjcI9_ZIge2I6QHeW4BaxJ9EY, uri: https://127.0.0.1:14000/chalZ/ZEx9QsMLfas5iXxPlhc_lUd5IoQ5QRSR9XO88UdFOiM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/vrBH3BxKwwWJ1Q7kxOJnfRQSKKJfnUInhz0n-PTg8hY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6e828e7531e0add7: 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/218f2eef0ef36c12 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"