==== 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" 27016 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/6e12c95b1419076e acme-client: dochngreq: https://127.0.0.1:14000/authZ/SC6LsNDNHG0v0J-O1a0AgvWrpXEbK_nat6mf8KY9-Y0 acme-client: challenge, token: ozwIErUi1-Ox5-FEBRshKazIGRbMRE1Dv5lw5WPKz8s, uri: https://127.0.0.1:14000/chalZ/_pUfCCTN4ziXar3uydCUAc2mn3Xi6IyuW9LFNmD6BRE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ozwIErUi1-Ox5-FEBRshKazIGRbMRE1Dv5lw5WPKz8s: created acme-client: https://127.0.0.1:14000/chalZ/_pUfCCTN4ziXar3uydCUAc2mn3Xi6IyuW9LFNmD6BRE: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/SC6LsNDNHG0v0J-O1a0AgvWrpXEbK_nat6mf8KY9-Y0 acme-client: challenge, token: ozwIErUi1-Ox5-FEBRshKazIGRbMRE1Dv5lw5WPKz8s, uri: https://127.0.0.1:14000/chalZ/_pUfCCTN4ziXar3uydCUAc2mn3Xi6IyuW9LFNmD6BRE, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/SPnMfu1gldnAbRWm0eAV5Ge0PyOXIRXDXlTz97Yv6OM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/07f9e5d14fb4245f: certificate account key: https://127.0.0.1:14000/my-account/6e12c95b1419076e 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/6e12c95b1419076e 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/6e12c95b1419076e acme-client: https://127.0.0.1:14000/finalize-order/Pa6b83gYRAvUOVV7ixhvaeH23N2WQMy9bZLw03UEsOE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/793cf516512c3fd0: 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/6e12c95b1419076e 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/6e12c95b1419076e acme-client: dochngreq: https://127.0.0.1:14000/authZ/BThmBSCADRiJXwWBR-isw5-SqsbpJ6uY5rpQbL2QuV4 acme-client: challenge, token: L1kgI-qGwfIMZSP77Iv7vyaFA9lg0m2P0z7onRzA95k, uri: https://127.0.0.1:14000/chalZ/uCJPXWUHLtcA5nzQCc3k9vf9yIErYoU09-vSxHXxOlQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/L1kgI-qGwfIMZSP77Iv7vyaFA9lg0m2P0z7onRzA95k: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/ECyt9VR6a0oINKMAUuDF_wHWzBPh_CpSZjsr93yZR6c acme-client: challenge, token: R8Pu9ub0xqt4f7YKg-Rw8R6bOeM_Cj2H3T00V5ulTnQ, uri: https://127.0.0.1:14000/chalZ/Co8cxJE1BCadlKuvMd9DtsomEBKcI1vM-Q7lxMe27Fo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/R8Pu9ub0xqt4f7YKg-Rw8R6bOeM_Cj2H3T00V5ulTnQ: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/SC6LsNDNHG0v0J-O1a0AgvWrpXEbK_nat6mf8KY9-Y0 acme-client: challenge, token: ozwIErUi1-Ox5-FEBRshKazIGRbMRE1Dv5lw5WPKz8s, uri: https://127.0.0.1:14000/chalZ/_pUfCCTN4ziXar3uydCUAc2mn3Xi6IyuW9LFNmD6BRE, status: 2 acme-client: https://127.0.0.1:14000/chalZ/uCJPXWUHLtcA5nzQCc3k9vf9yIErYoU09-vSxHXxOlQ: challenge acme-client: https://127.0.0.1:14000/chalZ/Co8cxJE1BCadlKuvMd9DtsomEBKcI1vM-Q7lxMe27Fo: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/BThmBSCADRiJXwWBR-isw5-SqsbpJ6uY5rpQbL2QuV4 acme-client: challenge, token: L1kgI-qGwfIMZSP77Iv7vyaFA9lg0m2P0z7onRzA95k, uri: https://127.0.0.1:14000/chalZ/uCJPXWUHLtcA5nzQCc3k9vf9yIErYoU09-vSxHXxOlQ, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ECyt9VR6a0oINKMAUuDF_wHWzBPh_CpSZjsr93yZR6c acme-client: challenge, token: R8Pu9ub0xqt4f7YKg-Rw8R6bOeM_Cj2H3T00V5ulTnQ, uri: https://127.0.0.1:14000/chalZ/Co8cxJE1BCadlKuvMd9DtsomEBKcI1vM-Q7lxMe27Fo, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/SC6LsNDNHG0v0J-O1a0AgvWrpXEbK_nat6mf8KY9-Y0 acme-client: challenge, token: ozwIErUi1-Ox5-FEBRshKazIGRbMRE1Dv5lw5WPKz8s, uri: https://127.0.0.1:14000/chalZ/_pUfCCTN4ziXar3uydCUAc2mn3Xi6IyuW9LFNmD6BRE, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/fwzasLp4Z66gPSEw-sPRWIQINQqdtQp6k35CFt-JTGA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/635c789b65dec0e6: 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/6e12c95b1419076e 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/6e12c95b1419076e acme-client: dochngreq: https://127.0.0.1:14000/authZ/akv47lX7mVXRQ3oKN4GcHcqXVOOL95RXbIqF-WfYy1I acme-client: challenge, token: Ni17y8z2dIDQyGW8UFbhvqMud_r5xI_XdCZtqFjeJo8, uri: https://127.0.0.1:14000/chalZ/bXwgqjwFMNEVwelVCuvCWHkFHGJ6GHsk93MyM85SiAU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Ni17y8z2dIDQyGW8UFbhvqMud_r5xI_XdCZtqFjeJo8: created acme-client: https://127.0.0.1:14000/chalZ/bXwgqjwFMNEVwelVCuvCWHkFHGJ6GHsk93MyM85SiAU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/akv47lX7mVXRQ3oKN4GcHcqXVOOL95RXbIqF-WfYy1I acme-client: challenge, token: Ni17y8z2dIDQyGW8UFbhvqMud_r5xI_XdCZtqFjeJo8, uri: https://127.0.0.1:14000/chalZ/bXwgqjwFMNEVwelVCuvCWHkFHGJ6GHsk93MyM85SiAU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/EOnDboVBg6vclHtxBcsvRyliA_nvgMUJuGhotoBdCw4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/55ad1d662ea4ea95: 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/6e12c95b1419076e 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/51977dc71cc3ae31 acme-client: dochngreq: https://127.0.0.1:14001/authZ/F3M3MPZpMN-1rcbPobUCYF5teldVyYnw_oTEPaGPZX0 acme-client: challenge, token: 4TMmTeS_Hi78DWlYxsUaVbiv7lqvSd3olYUQXlspP-U, uri: https://127.0.0.1:14001/chalZ/9A6bZjmIqFvyR8A1l6GSK5Dbrcj9A3xa0AaXBq4HbqU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/4TMmTeS_Hi78DWlYxsUaVbiv7lqvSd3olYUQXlspP-U: created acme-client: https://127.0.0.1:14001/chalZ/9A6bZjmIqFvyR8A1l6GSK5Dbrcj9A3xa0AaXBq4HbqU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/F3M3MPZpMN-1rcbPobUCYF5teldVyYnw_oTEPaGPZX0 acme-client: challenge, token: 4TMmTeS_Hi78DWlYxsUaVbiv7lqvSd3olYUQXlspP-U, uri: https://127.0.0.1:14001/chalZ/9A6bZjmIqFvyR8A1l6GSK5Dbrcj9A3xa0AaXBq4HbqU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/MUD5nsW2KYdK6alThJvGi66SySihowCA3kkGHShapVM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/33bf22a6a56aa918: certificate account key: https://127.0.0.1:14001/my-account/51977dc71cc3ae31 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"