==== 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" 69327 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/8c36c891e558120 acme-client: dochngreq: https://127.0.0.1:14000/authZ/P44MWMDchfQopABXRd0PnuMGg7m__qQPDg2ULoNj-y4 acme-client: challenge, token: DeBy4YxVaKE_ukGyM8WEMzX6aSxJDp9oo30ooGhloC0, uri: https://127.0.0.1:14000/chalZ/9Xgz9ebIs1R1Pt0xzK9-21ud3GR-1EoBKmlOgRMTlVM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/DeBy4YxVaKE_ukGyM8WEMzX6aSxJDp9oo30ooGhloC0: created acme-client: https://127.0.0.1:14000/chalZ/9Xgz9ebIs1R1Pt0xzK9-21ud3GR-1EoBKmlOgRMTlVM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/P44MWMDchfQopABXRd0PnuMGg7m__qQPDg2ULoNj-y4 acme-client: challenge, token: DeBy4YxVaKE_ukGyM8WEMzX6aSxJDp9oo30ooGhloC0, uri: https://127.0.0.1:14000/chalZ/9Xgz9ebIs1R1Pt0xzK9-21ud3GR-1EoBKmlOgRMTlVM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/s2ucyaOIGGNt0u87YNfrpUyK6EL3uFp7tPnIi8NW7-I: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2f480ab221f9d25d: 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/8c36c891e558120 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/8c36c891e558120 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/8c36c891e558120 acme-client: https://127.0.0.1:14000/finalize-order/lesrPIx0PrHKHsaj5w5smObxMEvcR5CgPZDvBiQ6fXo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/77a11d9d1e3ce18e: 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/8c36c891e558120 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/8c36c891e558120 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xLhZLrGDjWQMQn8FnZ2nKxQCTGj8H5CelRGfrOoLIuA acme-client: challenge, token: rux2fPXX2TckPYtn7vvtEcLUwkb6V6JjNDqiZO8juEE, uri: https://127.0.0.1:14000/chalZ/t6M4Uc0USmW05HRAm_542wJJ_Hg52yrQ7HUoEiuq6v8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/rux2fPXX2TckPYtn7vvtEcLUwkb6V6JjNDqiZO8juEE: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/ED6VfzfUMEeYjfJwKzVsOvyrK8hdVlZpVGmIz59-Gh8 acme-client: challenge, token: 9BYMZ_9RfBpz7cAdiZhJNZIw_AgNVcZ8exSEsQ6KP5Q, uri: https://127.0.0.1:14000/chalZ/J6qBlD-pVFvnrryYL5ZNLbETUybco1ZX03iSxkoxptM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/9BYMZ_9RfBpz7cAdiZhJNZIw_AgNVcZ8exSEsQ6KP5Q: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/7UxQWMq9O1gUg0z9vNH26PmoBSF_jhijZMzJko1hpb8 acme-client: challenge, token: x1H21c-yBT8K4Ppy_FYek-t4EYfKZxzcSXyiHBldkVM, uri: https://127.0.0.1:14000/chalZ/Rsh9Y9EBY8rU2oAIkD4np4BfkuSjIJJOGjxr_liZ88w, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/x1H21c-yBT8K4Ppy_FYek-t4EYfKZxzcSXyiHBldkVM: created acme-client: https://127.0.0.1:14000/chalZ/t6M4Uc0USmW05HRAm_542wJJ_Hg52yrQ7HUoEiuq6v8: challenge acme-client: https://127.0.0.1:14000/chalZ/J6qBlD-pVFvnrryYL5ZNLbETUybco1ZX03iSxkoxptM: challenge acme-client: https://127.0.0.1:14000/chalZ/Rsh9Y9EBY8rU2oAIkD4np4BfkuSjIJJOGjxr_liZ88w: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xLhZLrGDjWQMQn8FnZ2nKxQCTGj8H5CelRGfrOoLIuA acme-client: challenge, token: rux2fPXX2TckPYtn7vvtEcLUwkb6V6JjNDqiZO8juEE, uri: https://127.0.0.1:14000/chalZ/t6M4Uc0USmW05HRAm_542wJJ_Hg52yrQ7HUoEiuq6v8, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ED6VfzfUMEeYjfJwKzVsOvyrK8hdVlZpVGmIz59-Gh8 acme-client: challenge, token: 9BYMZ_9RfBpz7cAdiZhJNZIw_AgNVcZ8exSEsQ6KP5Q, uri: https://127.0.0.1:14000/chalZ/J6qBlD-pVFvnrryYL5ZNLbETUybco1ZX03iSxkoxptM, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7UxQWMq9O1gUg0z9vNH26PmoBSF_jhijZMzJko1hpb8 acme-client: challenge, token: x1H21c-yBT8K4Ppy_FYek-t4EYfKZxzcSXyiHBldkVM, uri: https://127.0.0.1:14000/chalZ/Rsh9Y9EBY8rU2oAIkD4np4BfkuSjIJJOGjxr_liZ88w, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/tZ0GWXE83IONeL6BYVZ5RGxFgF8lA68WkO52xb35JzU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/f3664c606090d4: 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/8c36c891e558120 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/8c36c891e558120 acme-client: dochngreq: https://127.0.0.1:14000/authZ/jVA7Y-z7YHI6HF8Qm-4Efx6X9ZfYHyTmp1xaYoQ_muo acme-client: challenge, token: hl2N3r1k4iVEDkcR4zyR_Wjj-sfD3U9YroWWL6C_rbI, uri: https://127.0.0.1:14000/chalZ/Sf2aQvGzZ586R6DYBIOsM_fFGet8CUUAm35H_StJV2Q, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/hl2N3r1k4iVEDkcR4zyR_Wjj-sfD3U9YroWWL6C_rbI: created acme-client: https://127.0.0.1:14000/chalZ/Sf2aQvGzZ586R6DYBIOsM_fFGet8CUUAm35H_StJV2Q: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/jVA7Y-z7YHI6HF8Qm-4Efx6X9ZfYHyTmp1xaYoQ_muo acme-client: challenge, token: hl2N3r1k4iVEDkcR4zyR_Wjj-sfD3U9YroWWL6C_rbI, uri: https://127.0.0.1:14000/chalZ/Sf2aQvGzZ586R6DYBIOsM_fFGet8CUUAm35H_StJV2Q, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/LpVlHfs6GcBQZUcPNcynr3BfG6JJJYo338_0qTcnKao: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0d6a0be528baef8f: 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/8c36c891e558120 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"