==== 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" 52945 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/acme/privkey.pem: generated RSA account key acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/private/privkey.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/a4c02ef61f6f021 acme-client: dochngreq: https://127.0.0.1:14000/authZ/1HCQ8dOFXHyHONgMur7QoWnxwdyASr3eij12CCmqiK0 acme-client: challenge, token: D-jf57u8ci2OWeezr8gMCPKXM0CbZyH_wLK76YoLcVw, uri: https://127.0.0.1:14000/chalZ/2OZthvRWxAsM_dInpXn1bZpXm865kbFeAsSSeMhKzWY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/D-jf57u8ci2OWeezr8gMCPKXM0CbZyH_wLK76YoLcVw: created acme-client: https://127.0.0.1:14000/chalZ/2OZthvRWxAsM_dInpXn1bZpXm865kbFeAsSSeMhKzWY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/1HCQ8dOFXHyHONgMur7QoWnxwdyASr3eij12CCmqiK0 acme-client: challenge, token: D-jf57u8ci2OWeezr8gMCPKXM0CbZyH_wLK76YoLcVw, uri: https://127.0.0.1:14000/chalZ/2OZthvRWxAsM_dInpXn1bZpXm865kbFeAsSSeMhKzWY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/tisW4ADwjYZj7kyQhHtOw4Ycx37X2ms6pqPtufibzLs: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/039c226c38a2cad5: certificate account key: https://127.0.0.1:14000/my-account/a4c02ef61f6f021 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/a4c02ef61f6f021 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/a4c02ef61f6f021 acme-client: https://127.0.0.1:14000/finalize-order/IHmGNjlmZtc34ERaJIsOXTaBWeIA-j7F6qdbkou4WZw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1541ceab86937b8c: 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/a4c02ef61f6f021 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/a4c02ef61f6f021 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Nxf7jksu8l1AM6X9iWKhr_AWmwC_rK6l7a3uU8gVfu0 acme-client: challenge, token: Za4_xWvyoTyRzjlBUuoTqfHY4GNvH5ywxIwFe4OOYoM, uri: https://127.0.0.1:14000/chalZ/SizX_IPHrqgKCaOuEzzvDXpw7o-mihqGbYyGBBZn-JY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Za4_xWvyoTyRzjlBUuoTqfHY4GNvH5ywxIwFe4OOYoM: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/cEM6bHcbLyxIH-WhUPSOoxJ_Rwsbj0fn6fPTZcD6j7Y acme-client: challenge, token: i93BccZlhSD9cJLd-Rhqcf8YiEdkr28LPdt2n7ea0P4, uri: https://127.0.0.1:14000/chalZ/kfW0G1nuEjEXMstbwOdcfjXtGaqq8miyEnEw4PyLrao, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/i93BccZlhSD9cJLd-Rhqcf8YiEdkr28LPdt2n7ea0P4: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/1HCQ8dOFXHyHONgMur7QoWnxwdyASr3eij12CCmqiK0 acme-client: challenge, token: D-jf57u8ci2OWeezr8gMCPKXM0CbZyH_wLK76YoLcVw, uri: https://127.0.0.1:14000/chalZ/2OZthvRWxAsM_dInpXn1bZpXm865kbFeAsSSeMhKzWY, status: 2 acme-client: https://127.0.0.1:14000/chalZ/SizX_IPHrqgKCaOuEzzvDXpw7o-mihqGbYyGBBZn-JY: challenge acme-client: https://127.0.0.1:14000/chalZ/kfW0G1nuEjEXMstbwOdcfjXtGaqq8miyEnEw4PyLrao: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Nxf7jksu8l1AM6X9iWKhr_AWmwC_rK6l7a3uU8gVfu0 acme-client: challenge, token: Za4_xWvyoTyRzjlBUuoTqfHY4GNvH5ywxIwFe4OOYoM, uri: https://127.0.0.1:14000/chalZ/SizX_IPHrqgKCaOuEzzvDXpw7o-mihqGbYyGBBZn-JY, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/cEM6bHcbLyxIH-WhUPSOoxJ_Rwsbj0fn6fPTZcD6j7Y acme-client: challenge, token: i93BccZlhSD9cJLd-Rhqcf8YiEdkr28LPdt2n7ea0P4, uri: https://127.0.0.1:14000/chalZ/kfW0G1nuEjEXMstbwOdcfjXtGaqq8miyEnEw4PyLrao, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/1HCQ8dOFXHyHONgMur7QoWnxwdyASr3eij12CCmqiK0 acme-client: challenge, token: D-jf57u8ci2OWeezr8gMCPKXM0CbZyH_wLK76YoLcVw, uri: https://127.0.0.1:14000/chalZ/2OZthvRWxAsM_dInpXn1bZpXm865kbFeAsSSeMhKzWY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/-Lp8gsVtwGjVoOkZmiDYRCzGAG5bbkqKS732SrPC2uw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0f4e2412de1159d7: 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/a4c02ef61f6f021 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/a4c02ef61f6f021 acme-client: dochngreq: https://127.0.0.1:14000/authZ/NxlKKE3_EFz9N3gvfudRlL0FB55ZBZ9BQo4PKf4nyS4 acme-client: challenge, token: 2ZXP085kkzNW-hlrWy2o8h9BDGQjaVw8nTxyoiznt8M, uri: https://127.0.0.1:14000/chalZ/j6LQRq562So-dBN8wGR63ImefSy2TdqUcViJG7KAMF8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/2ZXP085kkzNW-hlrWy2o8h9BDGQjaVw8nTxyoiznt8M: created acme-client: https://127.0.0.1:14000/chalZ/j6LQRq562So-dBN8wGR63ImefSy2TdqUcViJG7KAMF8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/NxlKKE3_EFz9N3gvfudRlL0FB55ZBZ9BQo4PKf4nyS4 acme-client: challenge, token: 2ZXP085kkzNW-hlrWy2o8h9BDGQjaVw8nTxyoiznt8M, uri: https://127.0.0.1:14000/chalZ/j6LQRq562So-dBN8wGR63ImefSy2TdqUcViJG7KAMF8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/iIUhjP0STxzxo15Z2Yod9-dDHWlUHUVNAROV8DdwyxI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/600fe8d75d64c1d3: 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/a4c02ef61f6f021 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"