==== 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" 19811 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/1ef56089ba567927 acme-client: dochngreq: https://127.0.0.1:14000/authZ/NNexdnygC3nmg6UuYbAj9fZAetwXJcN-AT5y22jTdnk acme-client: challenge, token: pk0kI80KMJ-L4yTcGzBspjLxPl8UehfAPAoSlboCQrs, uri: https://127.0.0.1:14000/chalZ/ukMEXsXUDhmQ0rnNU_8lz6IC6bauBvXLwqP0O73CboQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/pk0kI80KMJ-L4yTcGzBspjLxPl8UehfAPAoSlboCQrs: created acme-client: https://127.0.0.1:14000/chalZ/ukMEXsXUDhmQ0rnNU_8lz6IC6bauBvXLwqP0O73CboQ: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/NNexdnygC3nmg6UuYbAj9fZAetwXJcN-AT5y22jTdnk acme-client: challenge, token: pk0kI80KMJ-L4yTcGzBspjLxPl8UehfAPAoSlboCQrs, uri: https://127.0.0.1:14000/chalZ/ukMEXsXUDhmQ0rnNU_8lz6IC6bauBvXLwqP0O73CboQ, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/5k7KQFkhk3QuWvfIAnTnfQaZHVlZWln61x0AnN6zYaY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/10bfe4792ef4ed06: certificate acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: created account key: https://127.0.0.1:14000/my-account/1ef56089ba567927 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/1ef56089ba567927 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/1ef56089ba567927 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Je1-W8tHtK393bqYqqzUZsWX6OdbVvipvotutyDMCYU acme-client: challenge, token: 9x-27-TpMtg0AuLk2Ela1_crQSprfUGxufAuphoDmaw, uri: https://127.0.0.1:14000/chalZ/teomus5fulhkXBL2ad01R25_y19ADehKvbWEAmKS6Tw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/9x-27-TpMtg0AuLk2Ela1_crQSprfUGxufAuphoDmaw: created acme-client: https://127.0.0.1:14000/chalZ/teomus5fulhkXBL2ad01R25_y19ADehKvbWEAmKS6Tw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Je1-W8tHtK393bqYqqzUZsWX6OdbVvipvotutyDMCYU acme-client: challenge, token: 9x-27-TpMtg0AuLk2Ela1_crQSprfUGxufAuphoDmaw, uri: https://127.0.0.1:14000/chalZ/teomus5fulhkXBL2ad01R25_y19ADehKvbWEAmKS6Tw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/UQfIhdo3ZToW7oEr_wVIhAGDfcdV5Uek5oo5mIzCTg4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/22a29e4557f016d5: 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/1ef56089ba567927 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/1ef56089ba567927 acme-client: dochngreq: https://127.0.0.1:14000/authZ/1zKnwe06Vyf2MrbFifO4vIH8VaTtqJwGhr2TlzQY-T0 acme-client: challenge, token: sUxLJKv8R3jlREsG0YEFFqeIx40-CM735bVhVy9C2Ho, uri: https://127.0.0.1:14000/chalZ/neFL1iz_cXZtfgE01fTlfJBU7DoyVEdb4fCy04zP3vQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/sUxLJKv8R3jlREsG0YEFFqeIx40-CM735bVhVy9C2Ho: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/WR1NJwfZ6TwMJNU1mTpZHclur4Tsc6nOQdjXtcxrQjc acme-client: challenge, token: DhUC8Rt2D616aVfe11Wx2zug3oKWmYGnbUPTEtkHiM8, uri: https://127.0.0.1:14000/chalZ/WWakXX9Vz6-KG_52sO6-X60tylPHNZrcma3kwwFCzc4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/DhUC8Rt2D616aVfe11Wx2zug3oKWmYGnbUPTEtkHiM8: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/k5tLKR6DcfA8X31Xqz9UhFbSDXiPuM1Ce9jid1WzEoc acme-client: challenge, token: 0zIebR_XC2CvAQU6bsacJQFxKYAwGzJDg5AoXpvzRm4, uri: https://127.0.0.1:14000/chalZ/HjvrP8vxcJGmxP5aOtLLeBYMjxynxbA_1QeRYDy16Jo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/0zIebR_XC2CvAQU6bsacJQFxKYAwGzJDg5AoXpvzRm4: created acme-client: https://127.0.0.1:14000/chalZ/neFL1iz_cXZtfgE01fTlfJBU7DoyVEdb4fCy04zP3vQ: challenge acme-client: https://127.0.0.1:14000/chalZ/WWakXX9Vz6-KG_52sO6-X60tylPHNZrcma3kwwFCzc4: challenge acme-client: https://127.0.0.1:14000/chalZ/HjvrP8vxcJGmxP5aOtLLeBYMjxynxbA_1QeRYDy16Jo: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/1zKnwe06Vyf2MrbFifO4vIH8VaTtqJwGhr2TlzQY-T0 acme-client: challenge, token: sUxLJKv8R3jlREsG0YEFFqeIx40-CM735bVhVy9C2Ho, uri: https://127.0.0.1:14000/chalZ/neFL1iz_cXZtfgE01fTlfJBU7DoyVEdb4fCy04zP3vQ, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/WR1NJwfZ6TwMJNU1mTpZHclur4Tsc6nOQdjXtcxrQjc acme-client: challenge, token: DhUC8Rt2D616aVfe11Wx2zug3oKWmYGnbUPTEtkHiM8, uri: https://127.0.0.1:14000/chalZ/WWakXX9Vz6-KG_52sO6-X60tylPHNZrcma3kwwFCzc4, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/k5tLKR6DcfA8X31Xqz9UhFbSDXiPuM1Ce9jid1WzEoc acme-client: challenge, token: 0zIebR_XC2CvAQU6bsacJQFxKYAwGzJDg5AoXpvzRm4, uri: https://127.0.0.1:14000/chalZ/HjvrP8vxcJGmxP5aOtLLeBYMjxynxbA_1QeRYDy16Jo, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Wn-IDemJLBIa6oKICd7-kotbmRof2Gr9snJnwdrgbRE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/11fc5fa629143756: 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/1ef56089ba567927 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/1ef56089ba567927 acme-client: https://127.0.0.1:14000/finalize-order/Xpe0GHLBiZGQGxWHf1l2uBVyjdbWvQ775wrm4ATygR0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0653715cd68c1216: 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/1ef56089ba567927 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"