==== 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" 73631 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/1ae00433ceab3eca acme-client: dochngreq: https://127.0.0.1:14000/authZ/OdwZE2GDPT8y1Ah2UlmAFyCbtlTX5UeOZMjMU_lqe-o acme-client: challenge, token: FwBr2BR6G8IhxinZjPLP2L_Dc9eaeNdB0X4hBZ-QYP8, uri: https://127.0.0.1:14000/chalZ/xMTvSAIAgLNTj-r9Xn9SA-ARBp7h0BYwgwbS-m2phas, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/FwBr2BR6G8IhxinZjPLP2L_Dc9eaeNdB0X4hBZ-QYP8: created acme-client: https://127.0.0.1:14000/chalZ/xMTvSAIAgLNTj-r9Xn9SA-ARBp7h0BYwgwbS-m2phas: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/OdwZE2GDPT8y1Ah2UlmAFyCbtlTX5UeOZMjMU_lqe-o acme-client: challenge, token: FwBr2BR6G8IhxinZjPLP2L_Dc9eaeNdB0X4hBZ-QYP8, uri: https://127.0.0.1:14000/chalZ/xMTvSAIAgLNTj-r9Xn9SA-ARBp7h0BYwgwbS-m2phas, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/6v-Cx50ZgUNQ1BMKlEdrGGLPLzQIbb8qsJa55zDwGpM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/04eb0fee08707a19: certificate account key: https://127.0.0.1:14000/my-account/1ae00433ceab3eca 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/1ae00433ceab3eca 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/1ae00433ceab3eca acme-client: dochngreq: https://127.0.0.1:14000/authZ/JXtzKwBzmVNpbZectLS6C2qRvshIDhENF2rpAqSaeL8 acme-client: challenge, token: vqVjdENvIFTi-am-hwQHLIJ71oJ5_bdykU-rtaB3dvw, uri: https://127.0.0.1:14000/chalZ/vEdM_s7OGk7JaVEv-s2VbkAn3HDuaMyjoDiapLkUjSs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/vqVjdENvIFTi-am-hwQHLIJ71oJ5_bdykU-rtaB3dvw: created acme-client: https://127.0.0.1:14000/chalZ/vEdM_s7OGk7JaVEv-s2VbkAn3HDuaMyjoDiapLkUjSs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/JXtzKwBzmVNpbZectLS6C2qRvshIDhENF2rpAqSaeL8 acme-client: challenge, token: vqVjdENvIFTi-am-hwQHLIJ71oJ5_bdykU-rtaB3dvw, uri: https://127.0.0.1:14000/chalZ/vEdM_s7OGk7JaVEv-s2VbkAn3HDuaMyjoDiapLkUjSs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/T08-PMJtHWLWTsquwKOWHw4wMKpSLlTCf8-jZi7Nn2c: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2dfc142552fd2647: 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/1ae00433ceab3eca 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/1ae00433ceab3eca acme-client: dochngreq: https://127.0.0.1:14000/authZ/8bs5sJnkFZ54Dg7cEH3bn0E73Qys5MiXWUcLfn_JW2w acme-client: challenge, token: hBrUNBAZgLw9CoPhIk0m4_DylWOF8-hhQ5H2Ag5M0Qo, uri: https://127.0.0.1:14000/chalZ/Ejj4MGqTBFlwEQWbVKJXF1FZZ5D8zz9l4LRyNqwuhdo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/hBrUNBAZgLw9CoPhIk0m4_DylWOF8-hhQ5H2Ag5M0Qo: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/8gT6vqmlkll5lCS2S8vXklgBTHgMTrAUd8DK75db1Gc acme-client: challenge, token: Kio_AzgdqoWe4g7biAQIHMDEJNY-0HiYdNec9mnQzmY, uri: https://127.0.0.1:14000/chalZ/yjSbND3K3aq_lp1VIDtNjAf7q5Hm2xRdg6h-CAREAvk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Kio_AzgdqoWe4g7biAQIHMDEJNY-0HiYdNec9mnQzmY: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/BBTygCMsLNJyDr27OvKyjGSelH5XPZtNWwa8YhZgHtE acme-client: challenge, token: PHCNKX-SkSNv-liInWrjlN36zA2y5_Vkdo8LH9CUlTo, uri: https://127.0.0.1:14000/chalZ/L2RFRGLero8AAtz7WGoTQlkf2r3vm9HAt6PB-vg_ECU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/PHCNKX-SkSNv-liInWrjlN36zA2y5_Vkdo8LH9CUlTo: created acme-client: https://127.0.0.1:14000/chalZ/Ejj4MGqTBFlwEQWbVKJXF1FZZ5D8zz9l4LRyNqwuhdo: challenge acme-client: https://127.0.0.1:14000/chalZ/yjSbND3K3aq_lp1VIDtNjAf7q5Hm2xRdg6h-CAREAvk: challenge acme-client: https://127.0.0.1:14000/chalZ/L2RFRGLero8AAtz7WGoTQlkf2r3vm9HAt6PB-vg_ECU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/8bs5sJnkFZ54Dg7cEH3bn0E73Qys5MiXWUcLfn_JW2w acme-client: challenge, token: hBrUNBAZgLw9CoPhIk0m4_DylWOF8-hhQ5H2Ag5M0Qo, uri: https://127.0.0.1:14000/chalZ/Ejj4MGqTBFlwEQWbVKJXF1FZZ5D8zz9l4LRyNqwuhdo, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/8gT6vqmlkll5lCS2S8vXklgBTHgMTrAUd8DK75db1Gc acme-client: challenge, token: Kio_AzgdqoWe4g7biAQIHMDEJNY-0HiYdNec9mnQzmY, uri: https://127.0.0.1:14000/chalZ/yjSbND3K3aq_lp1VIDtNjAf7q5Hm2xRdg6h-CAREAvk, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/BBTygCMsLNJyDr27OvKyjGSelH5XPZtNWwa8YhZgHtE acme-client: challenge, token: PHCNKX-SkSNv-liInWrjlN36zA2y5_Vkdo8LH9CUlTo, uri: https://127.0.0.1:14000/chalZ/L2RFRGLero8AAtz7WGoTQlkf2r3vm9HAt6PB-vg_ECU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/uGoemffHE_ZMKoiG-qxeXGETx2qzqXNTjR0YYJS7RsM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/038adeddedc21252: 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/1ae00433ceab3eca 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/1ae00433ceab3eca acme-client: https://127.0.0.1:14000/finalize-order/4D3S20EBZqCeMAW1ZvNiLQx476c8r0hRv8zGbyKTT1A: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/75186fad5ca73206: 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/1ae00433ceab3eca 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"