==== 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" 32834 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/52f9c4e237e19497 acme-client: dochngreq: https://127.0.0.1:14000/authZ/exanlMttqt5DslXz_163wPw4nLurkZwbTwGRd721b3I acme-client: challenge, token: HeafAi8xbP9V5JUCwo2j06W4ivrvA-oHrlHdhh5Jvng, uri: https://127.0.0.1:14000/chalZ/obhwrcioRtU7rQQjLwfMbYyeUMyJmU03O01sbjMAO7Q, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/HeafAi8xbP9V5JUCwo2j06W4ivrvA-oHrlHdhh5Jvng: created acme-client: https://127.0.0.1:14000/chalZ/obhwrcioRtU7rQQjLwfMbYyeUMyJmU03O01sbjMAO7Q: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/exanlMttqt5DslXz_163wPw4nLurkZwbTwGRd721b3I acme-client: challenge, token: HeafAi8xbP9V5JUCwo2j06W4ivrvA-oHrlHdhh5Jvng, uri: https://127.0.0.1:14000/chalZ/obhwrcioRtU7rQQjLwfMbYyeUMyJmU03O01sbjMAO7Q, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/cBkZrvz1nO1UUSYCFwNoUqtZH8ZH1LOEfqS65vyFjI0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/192ecdc9fe8b6e0b: certificate account key: https://127.0.0.1:14000/my-account/52f9c4e237e19497 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/52f9c4e237e19497 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/52f9c4e237e19497 acme-client: dochngreq: https://127.0.0.1:14000/authZ/rUYCW3inScF8JSS8NSB7cVDToTtyHqbh-YCv7tL0gEs acme-client: challenge, token: ksiIlcYDW-7y3AepE1_OehYfXRWJXftzqeC4Fp_Dd2o, uri: https://127.0.0.1:14000/chalZ/H1WnA96JuK4pzGMLd5tKp87StW28iide-jUEfdEPXIs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ksiIlcYDW-7y3AepE1_OehYfXRWJXftzqeC4Fp_Dd2o: created acme-client: https://127.0.0.1:14000/chalZ/H1WnA96JuK4pzGMLd5tKp87StW28iide-jUEfdEPXIs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/rUYCW3inScF8JSS8NSB7cVDToTtyHqbh-YCv7tL0gEs acme-client: challenge, token: ksiIlcYDW-7y3AepE1_OehYfXRWJXftzqeC4Fp_Dd2o, uri: https://127.0.0.1:14000/chalZ/H1WnA96JuK4pzGMLd5tKp87StW28iide-jUEfdEPXIs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/8hikJpCOTS_msoSHLrlGNwlYxFy78QD0hB7LgOZTw50: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6fa68f60b79243e6: 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/52f9c4e237e19497 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/52f9c4e237e19497 acme-client: dochngreq: https://127.0.0.1:14000/authZ/WBTpJx7wwsKjareyHLIBKUGd_Jet4SG6h32kkw1Wl3s acme-client: challenge, token: 2K64PTaYF88KBD2r8RMFE9I4OAhlOqwFGhcL56scZjg, uri: https://127.0.0.1:14000/chalZ/DY4j62O6MwqfFz4yHEEkb2FWEAxRL71Nilpiy9vh-bs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/2K64PTaYF88KBD2r8RMFE9I4OAhlOqwFGhcL56scZjg: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/R75-iqS_WAhCqPzfTzoD224px-J8-Wh3SqgcqfdeSEQ acme-client: challenge, token: 5we9klG9nGT-ThNy0OX5xVWsfWne8FRuQTZGkIpFKxc, uri: https://127.0.0.1:14000/chalZ/qo_tCwYPGSU7dE5fM9THuGqiN86En3RJi5ez7I766c8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/5we9klG9nGT-ThNy0OX5xVWsfWne8FRuQTZGkIpFKxc: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/exanlMttqt5DslXz_163wPw4nLurkZwbTwGRd721b3I acme-client: challenge, token: HeafAi8xbP9V5JUCwo2j06W4ivrvA-oHrlHdhh5Jvng, uri: https://127.0.0.1:14000/chalZ/obhwrcioRtU7rQQjLwfMbYyeUMyJmU03O01sbjMAO7Q, status: 2 acme-client: https://127.0.0.1:14000/chalZ/DY4j62O6MwqfFz4yHEEkb2FWEAxRL71Nilpiy9vh-bs: challenge acme-client: https://127.0.0.1:14000/chalZ/qo_tCwYPGSU7dE5fM9THuGqiN86En3RJi5ez7I766c8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/WBTpJx7wwsKjareyHLIBKUGd_Jet4SG6h32kkw1Wl3s acme-client: challenge, token: 2K64PTaYF88KBD2r8RMFE9I4OAhlOqwFGhcL56scZjg, uri: https://127.0.0.1:14000/chalZ/DY4j62O6MwqfFz4yHEEkb2FWEAxRL71Nilpiy9vh-bs, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/R75-iqS_WAhCqPzfTzoD224px-J8-Wh3SqgcqfdeSEQ acme-client: challenge, token: 5we9klG9nGT-ThNy0OX5xVWsfWne8FRuQTZGkIpFKxc, uri: https://127.0.0.1:14000/chalZ/qo_tCwYPGSU7dE5fM9THuGqiN86En3RJi5ez7I766c8, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/exanlMttqt5DslXz_163wPw4nLurkZwbTwGRd721b3I acme-client: challenge, token: HeafAi8xbP9V5JUCwo2j06W4ivrvA-oHrlHdhh5Jvng, uri: https://127.0.0.1:14000/chalZ/obhwrcioRtU7rQQjLwfMbYyeUMyJmU03O01sbjMAO7Q, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Nzp85LPcWqjiX1iRy5CZuXUyylKE1nwB4o8MyA-I7w4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2bbe4b1fe9655a17: 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/52f9c4e237e19497 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/52f9c4e237e19497 acme-client: https://127.0.0.1:14000/finalize-order/NuMDJ4WVNmWktclI6N1TSbMEDBw_spEBaiCmAc34ypY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4d85f21aad7d4a13: 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/52f9c4e237e19497 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/7a46d6353867f05a acme-client: dochngreq: https://127.0.0.1:14001/authZ/cgTt4-wOJMMif7mADhTabAJZCqTKn70Lotg_d5nt_TM acme-client: challenge, token: oP1MI2CBeYvcAVwRObZx8thm9AN8s4kGoK-sf8cAM20, uri: https://127.0.0.1:14001/chalZ/PxZDviDHYFFf6eot61ziowto-QMTK3kcYO7AfxQlqJ0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/oP1MI2CBeYvcAVwRObZx8thm9AN8s4kGoK-sf8cAM20: created acme-client: https://127.0.0.1:14001/chalZ/PxZDviDHYFFf6eot61ziowto-QMTK3kcYO7AfxQlqJ0: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/cgTt4-wOJMMif7mADhTabAJZCqTKn70Lotg_d5nt_TM acme-client: challenge, token: oP1MI2CBeYvcAVwRObZx8thm9AN8s4kGoK-sf8cAM20, uri: https://127.0.0.1:14001/chalZ/PxZDviDHYFFf6eot61ziowto-QMTK3kcYO7AfxQlqJ0, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/dnVBFf_D7fI5roXMzUw2XuxHiKAzrFYzHO6GaaxwAAA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/1ec99879e03c15e7: certificate account key: https://127.0.0.1:14001/my-account/7a46d6353867f05a 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"