==== 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" 85102 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/7b6a01549d496de acme-client: dochngreq: https://127.0.0.1:14000/authZ/XMUtjqMv_8bwlAIE7CagrAsdyB1I7HGgcK3usKEz4yY acme-client: challenge, token: jPV6fcyAGjBJeNIOm4MKx_PqXufk6PnFpNS5hcEsUQk, uri: https://127.0.0.1:14000/chalZ/Rmuoaa3ubzO8zc66hccjFBBuxk5nQPiPrdYo5-fBKSI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/jPV6fcyAGjBJeNIOm4MKx_PqXufk6PnFpNS5hcEsUQk: created acme-client: https://127.0.0.1:14000/chalZ/Rmuoaa3ubzO8zc66hccjFBBuxk5nQPiPrdYo5-fBKSI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XMUtjqMv_8bwlAIE7CagrAsdyB1I7HGgcK3usKEz4yY acme-client: challenge, token: jPV6fcyAGjBJeNIOm4MKx_PqXufk6PnFpNS5hcEsUQk, uri: https://127.0.0.1:14000/chalZ/Rmuoaa3ubzO8zc66hccjFBBuxk5nQPiPrdYo5-fBKSI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/rAgZCBtiPMK8NGn3qRdZBvyPpm8hqHLH7sOeRIxpPp0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7ccea303f379286a: certificate account key: https://127.0.0.1:14000/my-account/7b6a01549d496de 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/7b6a01549d496de 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/7b6a01549d496de acme-client: dochngreq: https://127.0.0.1:14000/authZ/f5889KZRRl1h5SeAiBfX2hhmnkbWPWCh_HBw4iBMqOY acme-client: challenge, token: a2iiy_UYsZQiUI3Q6x4C1PUwokrPujuFpVR-aCybpJU, uri: https://127.0.0.1:14000/chalZ/Uha6TqV44BV4tvL44bbws56gVqM8-QtyCBuUynq82-M, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/a2iiy_UYsZQiUI3Q6x4C1PUwokrPujuFpVR-aCybpJU: created acme-client: https://127.0.0.1:14000/chalZ/Uha6TqV44BV4tvL44bbws56gVqM8-QtyCBuUynq82-M: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/f5889KZRRl1h5SeAiBfX2hhmnkbWPWCh_HBw4iBMqOY acme-client: challenge, token: a2iiy_UYsZQiUI3Q6x4C1PUwokrPujuFpVR-aCybpJU, uri: https://127.0.0.1:14000/chalZ/Uha6TqV44BV4tvL44bbws56gVqM8-QtyCBuUynq82-M, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/3aEUnxBw8KLoXcvBXR862jZoURsy2kZIseAsEJr6MpM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/195487b095c30da8: 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/7b6a01549d496de 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/7b6a01549d496de acme-client: dochngreq: https://127.0.0.1:14000/authZ/tqi3MpwUNIDsnGgMmQ725twvJBQ4fVMpSlciKdaoslI acme-client: challenge, token: hUVB0_li6NWKP4qBNoWulDnW-zblF73LjmrIb0DKbWs, uri: https://127.0.0.1:14000/chalZ/dzzdyjWaWE0Zxr234Ky-dN-_bdafOE7L_Mp0JLKpvMo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/hUVB0_li6NWKP4qBNoWulDnW-zblF73LjmrIb0DKbWs: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/XMUtjqMv_8bwlAIE7CagrAsdyB1I7HGgcK3usKEz4yY acme-client: challenge, token: jPV6fcyAGjBJeNIOm4MKx_PqXufk6PnFpNS5hcEsUQk, uri: https://127.0.0.1:14000/chalZ/Rmuoaa3ubzO8zc66hccjFBBuxk5nQPiPrdYo5-fBKSI, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/YkLi7NQ-hF7tUQpaRPOr9Xq7SpEZ9p6COQzC5lZZdJ4 acme-client: challenge, token: lR7ArMnyRAL64bZ0LnJS6UgHuJCEoOinzW-tEKwfN9c, uri: https://127.0.0.1:14000/chalZ/3ZoOizd1UzalLETpuAREFE7uUx5gg3VorF18ZmgILvM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/lR7ArMnyRAL64bZ0LnJS6UgHuJCEoOinzW-tEKwfN9c: created acme-client: https://127.0.0.1:14000/chalZ/dzzdyjWaWE0Zxr234Ky-dN-_bdafOE7L_Mp0JLKpvMo: challenge acme-client: https://127.0.0.1:14000/chalZ/3ZoOizd1UzalLETpuAREFE7uUx5gg3VorF18ZmgILvM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/tqi3MpwUNIDsnGgMmQ725twvJBQ4fVMpSlciKdaoslI acme-client: challenge, token: hUVB0_li6NWKP4qBNoWulDnW-zblF73LjmrIb0DKbWs, uri: https://127.0.0.1:14000/chalZ/dzzdyjWaWE0Zxr234Ky-dN-_bdafOE7L_Mp0JLKpvMo, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XMUtjqMv_8bwlAIE7CagrAsdyB1I7HGgcK3usKEz4yY acme-client: challenge, token: jPV6fcyAGjBJeNIOm4MKx_PqXufk6PnFpNS5hcEsUQk, uri: https://127.0.0.1:14000/chalZ/Rmuoaa3ubzO8zc66hccjFBBuxk5nQPiPrdYo5-fBKSI, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/YkLi7NQ-hF7tUQpaRPOr9Xq7SpEZ9p6COQzC5lZZdJ4 acme-client: challenge, token: lR7ArMnyRAL64bZ0LnJS6UgHuJCEoOinzW-tEKwfN9c, uri: https://127.0.0.1:14000/chalZ/3ZoOizd1UzalLETpuAREFE7uUx5gg3VorF18ZmgILvM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/kqfWz-jsOmER3Nqow26xoo02yMXfpUHt8svQUYJY9zE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/10a43ad954d23aae: 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/7b6a01549d496de 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/7b6a01549d496de acme-client: https://127.0.0.1:14000/finalize-order/ocrBQxZAE333p1Xzx26pFIYkDEg92a29t3GVXoTshYc: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/59f096497afb784f: 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/7b6a01549d496de 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-acme-eab ==== mkdir -p etc sed 's,${.OBJDIR},/home/src/regress/usr.sbin/acme-client/obj,' /home/src/regress/usr.sbin/acme-client/acme-client-eab.conf > etc/acme-client-eab.conf sed 's,${.CURDIR},/home/src/regress/usr.sbin/acme-client,' /home/src/regress/usr.sbin/acme-client/pebble-config-eab.json > pebble-config-eab.json /usr/local/bin/pebble -config /home/src/regress/usr.sbin/acme-client/obj/pebble-config-eab.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-eab.conf -e kid-1:zWNDZM6eQGHWpSRTPal5eIUYFTu7EajVIoguysqZ9wG44nMEtx3MUAsUDkMTQ12W -v localhost acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/acme/privkey-eab.pem: generated RSA account key acme-client: https://127.0.0.1:14001/dir: directories acme-client: 127.0.0.1: DNS: 127.0.0.1 acme-client: account key: https://127.0.0.1:14001/my-account/5765c7c130239f95 acme-client: dochngreq: https://127.0.0.1:14001/authZ/Nld5ezf6W7NjKljXE0qRmkpJ-k3oaZC7Jl4H4VJJVMk acme-client: challenge, token: WIENpgrTj6C4fZKtIzxCXILN83NxEQ29iq-G40_zFE0, uri: https://127.0.0.1:14001/chalZ/TvHiuHUg8Rbfo9Ieo29IXjKPSW1u-Ad5NviVOK4E5Lg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/WIENpgrTj6C4fZKtIzxCXILN83NxEQ29iq-G40_zFE0: created acme-client: https://127.0.0.1:14001/chalZ/TvHiuHUg8Rbfo9Ieo29IXjKPSW1u-Ad5NviVOK4E5Lg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/Nld5ezf6W7NjKljXE0qRmkpJ-k3oaZC7Jl4H4VJJVMk acme-client: challenge, token: WIENpgrTj6C4fZKtIzxCXILN83NxEQ29iq-G40_zFE0, uri: https://127.0.0.1:14001/chalZ/TvHiuHUg8Rbfo9Ieo29IXjKPSW1u-Ad5NviVOK4E5Lg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/AkW8dLngie6GvyAt5P8sNpmGL-8fUFBSNNArc1QDPrM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/216be84c1225587a: certificate account key: https://127.0.0.1:14001/my-account/5765c7c130239f95 acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: created ==== 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" make -C /home/src/regress/usr.sbin/acme-client pebble-eab-stop pkill -xf "/usr/local/bin/pebble -config /home/src/regress/usr.sbin/acme-client/obj/pebble-config-eab.json"