==== 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" 98034 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/15552f49157e2e50 acme-client: dochngreq: https://127.0.0.1:14000/authZ/791Vzqpl_WTuGipkgEICqBaxul74LiUHaLuHUH3P4KE acme-client: challenge, token: kGAlBtJUaaPrRHWwTKhwIVFvfTSsRrFgxCxlRcGOH9o, uri: https://127.0.0.1:14000/chalZ/FD_FOiFaqVMtHiy4wZM_5deb9M6oHmLORDEn1vaJXgw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/kGAlBtJUaaPrRHWwTKhwIVFvfTSsRrFgxCxlRcGOH9o: created acme-client: https://127.0.0.1:14000/chalZ/FD_FOiFaqVMtHiy4wZM_5deb9M6oHmLORDEn1vaJXgw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/791Vzqpl_WTuGipkgEICqBaxul74LiUHaLuHUH3P4KE acme-client: challenge, token: kGAlBtJUaaPrRHWwTKhwIVFvfTSsRrFgxCxlRcGOH9o, uri: https://127.0.0.1:14000/chalZ/FD_FOiFaqVMtHiy4wZM_5deb9M6oHmLORDEn1vaJXgw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/1WCGTt0WuYpF7NPZPVeabPtOSOu-oyGCgN8eI-oyIgY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3b49549bc544104d: certificate account key: https://127.0.0.1:14000/my-account/15552f49157e2e50 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/15552f49157e2e50 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/15552f49157e2e50 acme-client: dochngreq: https://127.0.0.1:14000/authZ/tB7lIf2mq3hWyIvHgWuz4HR0l6QFvXAMp6yZg_OrrY4 acme-client: challenge, token: xuLK6KJDZuDflEsrTsIsofxrdMFFkVfGB5tkNFd-1LA, uri: https://127.0.0.1:14000/chalZ/pUl5w3PvJ0o-RZvcb2k5rW2VhJ4nyHyVctr4X1cl41o, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/xuLK6KJDZuDflEsrTsIsofxrdMFFkVfGB5tkNFd-1LA: created acme-client: https://127.0.0.1:14000/chalZ/pUl5w3PvJ0o-RZvcb2k5rW2VhJ4nyHyVctr4X1cl41o: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/tB7lIf2mq3hWyIvHgWuz4HR0l6QFvXAMp6yZg_OrrY4 acme-client: challenge, token: xuLK6KJDZuDflEsrTsIsofxrdMFFkVfGB5tkNFd-1LA, uri: https://127.0.0.1:14000/chalZ/pUl5w3PvJ0o-RZvcb2k5rW2VhJ4nyHyVctr4X1cl41o, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/FBQxjVhaU7F-pHZe9chShw8R9pkId6qAoLREWhI0GZA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0b756cd2556601bc: 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/15552f49157e2e50 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/15552f49157e2e50 acme-client: dochngreq: https://127.0.0.1:14000/authZ/KKgj7zIvicGdfOxs4iLXOdZQ3J3zV5kiEIl6kvFDKfY acme-client: challenge, token: KFtHlbLbKeJXp6d4vAglB-VIQqN2-6RbjLl5qz-Bqi8, uri: https://127.0.0.1:14000/chalZ/lONg8ioaXtjBy-17GAL1Ut5IZb7c1soxY0WrHoOtdWQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/KFtHlbLbKeJXp6d4vAglB-VIQqN2-6RbjLl5qz-Bqi8: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/Ap2XabWmtO-6cTXnpeC8xrmoYNGpfN32T9sKb_1WOfE acme-client: challenge, token: N0Q8vGZa_Q57YbOEIHmG7XndZ6zrl2F6MRxmPJVc8uM, uri: https://127.0.0.1:14000/chalZ/Z4XUwB8-Ce6lWMtYgrB-lcf93W3SQ8kCeD4V8tdTeeI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/N0Q8vGZa_Q57YbOEIHmG7XndZ6zrl2F6MRxmPJVc8uM: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/pAGIYGmvB18dsAo0MttDBzGOGCL0ilq_HaU4EmvZ3uM acme-client: challenge, token: UzEGHotVLJgyOWgojpB47H350krJgSgTc1d3LjYtFg4, uri: https://127.0.0.1:14000/chalZ/uG7eJZ80a-yaQsD65Mgakg3YuYXCAKmAwYFsxyjQOe0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/UzEGHotVLJgyOWgojpB47H350krJgSgTc1d3LjYtFg4: created acme-client: https://127.0.0.1:14000/chalZ/lONg8ioaXtjBy-17GAL1Ut5IZb7c1soxY0WrHoOtdWQ: challenge acme-client: https://127.0.0.1:14000/chalZ/Z4XUwB8-Ce6lWMtYgrB-lcf93W3SQ8kCeD4V8tdTeeI: challenge acme-client: https://127.0.0.1:14000/chalZ/uG7eJZ80a-yaQsD65Mgakg3YuYXCAKmAwYFsxyjQOe0: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/KKgj7zIvicGdfOxs4iLXOdZQ3J3zV5kiEIl6kvFDKfY acme-client: challenge, token: KFtHlbLbKeJXp6d4vAglB-VIQqN2-6RbjLl5qz-Bqi8, uri: https://127.0.0.1:14000/chalZ/lONg8ioaXtjBy-17GAL1Ut5IZb7c1soxY0WrHoOtdWQ, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Ap2XabWmtO-6cTXnpeC8xrmoYNGpfN32T9sKb_1WOfE acme-client: challenge, token: N0Q8vGZa_Q57YbOEIHmG7XndZ6zrl2F6MRxmPJVc8uM, uri: https://127.0.0.1:14000/chalZ/Z4XUwB8-Ce6lWMtYgrB-lcf93W3SQ8kCeD4V8tdTeeI, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/pAGIYGmvB18dsAo0MttDBzGOGCL0ilq_HaU4EmvZ3uM acme-client: challenge, token: UzEGHotVLJgyOWgojpB47H350krJgSgTc1d3LjYtFg4, uri: https://127.0.0.1:14000/chalZ/uG7eJZ80a-yaQsD65Mgakg3YuYXCAKmAwYFsxyjQOe0, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/ZE7xVsCPjUAEi7LV9G0O9CO8QsLRYdYmIuois-C9bGk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/28227f8e30bd0729: 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/15552f49157e2e50 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/15552f49157e2e50 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ofctL1RB99wMaH-41dfxNQvn2j6uypSMiZnf16VA1xM acme-client: challenge, token: iCueWDN917OHJtelEgrheos_schYgbP5iOM3h7mb5qo, uri: https://127.0.0.1:14000/chalZ/H1ni7kOCMy0VkHuh-lXt2bA1r1nMIly2tIGOHh1d3Z0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/iCueWDN917OHJtelEgrheos_schYgbP5iOM3h7mb5qo: created acme-client: https://127.0.0.1:14000/chalZ/H1ni7kOCMy0VkHuh-lXt2bA1r1nMIly2tIGOHh1d3Z0: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ofctL1RB99wMaH-41dfxNQvn2j6uypSMiZnf16VA1xM acme-client: challenge, token: iCueWDN917OHJtelEgrheos_schYgbP5iOM3h7mb5qo, uri: https://127.0.0.1:14000/chalZ/H1ni7kOCMy0VkHuh-lXt2bA1r1nMIly2tIGOHh1d3Z0, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/_M63EBKOdC38CJhRYvDVoEdz6RanRHvntUYVJFQggb0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/550bc99b00fa1d10: 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/15552f49157e2e50 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"