==== 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" 4961 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/3cb855beeed99927 acme-client: dochngreq: https://127.0.0.1:14000/authZ/bUrHxwBWcyuJFHOh-2CVEmFB9Aw0eMG5ILN1S7polgw acme-client: challenge, token: vylMqkXobwwrGL4-7-wA3-DGGsaFlCDJCQicASSYn3E, uri: https://127.0.0.1:14000/chalZ/w3Q7ohxvAvj7yEdgT36jonvhh4Rv9Ri-_bW7CdD-LZY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/vylMqkXobwwrGL4-7-wA3-DGGsaFlCDJCQicASSYn3E: created acme-client: https://127.0.0.1:14000/chalZ/w3Q7ohxvAvj7yEdgT36jonvhh4Rv9Ri-_bW7CdD-LZY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/bUrHxwBWcyuJFHOh-2CVEmFB9Aw0eMG5ILN1S7polgw acme-client: challenge, token: vylMqkXobwwrGL4-7-wA3-DGGsaFlCDJCQicASSYn3E, uri: https://127.0.0.1:14000/chalZ/w3Q7ohxvAvj7yEdgT36jonvhh4Rv9Ri-_bW7CdD-LZY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Hj8XPy0h0chNjiAlvp6ys6oAnhk_mAixT3jjUsjbX1U: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3b18f540d93ebe9f: certificate account key: https://127.0.0.1:14000/my-account/3cb855beeed99927 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/3cb855beeed99927 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/3cb855beeed99927 acme-client: dochngreq: https://127.0.0.1:14000/authZ/1VuOZilRBhYz30jfS_z39qtjkfAXIvckPaHPF8xyMoA acme-client: challenge, token: R1wRYWJyDQKtCrvnBdWv-_cfRsZ8QNirTnkkeJJwmQA, uri: https://127.0.0.1:14000/chalZ/we_L0vlAkZcdhik4DwiIKKbIG-4leBmK6g-cJuuubN8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/R1wRYWJyDQKtCrvnBdWv-_cfRsZ8QNirTnkkeJJwmQA: created acme-client: https://127.0.0.1:14000/chalZ/we_L0vlAkZcdhik4DwiIKKbIG-4leBmK6g-cJuuubN8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/1VuOZilRBhYz30jfS_z39qtjkfAXIvckPaHPF8xyMoA acme-client: challenge, token: R1wRYWJyDQKtCrvnBdWv-_cfRsZ8QNirTnkkeJJwmQA, uri: https://127.0.0.1:14000/chalZ/we_L0vlAkZcdhik4DwiIKKbIG-4leBmK6g-cJuuubN8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/eeYDhw1NGsMgQGPqddq22eC7AZ2VWKYDmixhZn9jk3g: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4434b13a48015dba: 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/3cb855beeed99927 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/3cb855beeed99927 acme-client: dochngreq: https://127.0.0.1:14000/authZ/En4ic49GwSiQZrjqa9Yh4cYZwdmt3XoOOMLYbClfB_4 acme-client: challenge, token: QIL8TsT_brFMAo5pBRy7vgf26zJtbwpUaFPc0jAdyJM, uri: https://127.0.0.1:14000/chalZ/O5OduSb5VZ1UydFUvRoBtPE0iuieQw6qkS4v7EY7HUI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/QIL8TsT_brFMAo5pBRy7vgf26zJtbwpUaFPc0jAdyJM: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/HQVk__4jXJBld3GVEwTUMk5tJ0KCT6xurGq2_z_nKIo acme-client: challenge, token: E4DMlL7cJWNoYFWbr7cId-eYYYLW-3oQ3iKwd7_fkMs, uri: https://127.0.0.1:14000/chalZ/nBCHd-JnZGvupAK1Z-1EllxgBJoSL3SfarhofmR74PA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/E4DMlL7cJWNoYFWbr7cId-eYYYLW-3oQ3iKwd7_fkMs: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/cINkFkUaM2b9EK8_Q6U1BZuAHnOgAnJFyg455_5ll7M acme-client: challenge, token: kq7biG5MCDoQ1GReJ_Xo_kYrLEJJjXMBuU-OROBVsxY, uri: https://127.0.0.1:14000/chalZ/zENd3IJsdktKzxwuHa_MtHSMalkZEFJ4svg8VG0lLU8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/kq7biG5MCDoQ1GReJ_Xo_kYrLEJJjXMBuU-OROBVsxY: created acme-client: https://127.0.0.1:14000/chalZ/O5OduSb5VZ1UydFUvRoBtPE0iuieQw6qkS4v7EY7HUI: challenge acme-client: https://127.0.0.1:14000/chalZ/nBCHd-JnZGvupAK1Z-1EllxgBJoSL3SfarhofmR74PA: challenge acme-client: https://127.0.0.1:14000/chalZ/zENd3IJsdktKzxwuHa_MtHSMalkZEFJ4svg8VG0lLU8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/En4ic49GwSiQZrjqa9Yh4cYZwdmt3XoOOMLYbClfB_4 acme-client: challenge, token: QIL8TsT_brFMAo5pBRy7vgf26zJtbwpUaFPc0jAdyJM, uri: https://127.0.0.1:14000/chalZ/O5OduSb5VZ1UydFUvRoBtPE0iuieQw6qkS4v7EY7HUI, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/HQVk__4jXJBld3GVEwTUMk5tJ0KCT6xurGq2_z_nKIo acme-client: challenge, token: E4DMlL7cJWNoYFWbr7cId-eYYYLW-3oQ3iKwd7_fkMs, uri: https://127.0.0.1:14000/chalZ/nBCHd-JnZGvupAK1Z-1EllxgBJoSL3SfarhofmR74PA, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/cINkFkUaM2b9EK8_Q6U1BZuAHnOgAnJFyg455_5ll7M acme-client: challenge, token: kq7biG5MCDoQ1GReJ_Xo_kYrLEJJjXMBuU-OROBVsxY, uri: https://127.0.0.1:14000/chalZ/zENd3IJsdktKzxwuHa_MtHSMalkZEFJ4svg8VG0lLU8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/r44E8MQBkdI0ocwZPjY6orR7SGu0e5A9naChegyGzeo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3a509ee39b51285e: 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/3cb855beeed99927 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/3cb855beeed99927 acme-client: dochngreq: https://127.0.0.1:14000/authZ/0XqM-EYzYJF7WRzTMxHy3_7f-1dONq2g2wH-XanF5fI acme-client: challenge, token: e1swOTwYoHPu2B6YGqk6w1AnWpvRztYzMws0HlTtJS4, uri: https://127.0.0.1:14000/chalZ/S00MVdUMyozVfd_h7bbwsRIUiNeR4JG2IU5xCm2NEdw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/e1swOTwYoHPu2B6YGqk6w1AnWpvRztYzMws0HlTtJS4: created acme-client: https://127.0.0.1:14000/chalZ/S00MVdUMyozVfd_h7bbwsRIUiNeR4JG2IU5xCm2NEdw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/0XqM-EYzYJF7WRzTMxHy3_7f-1dONq2g2wH-XanF5fI acme-client: challenge, token: e1swOTwYoHPu2B6YGqk6w1AnWpvRztYzMws0HlTtJS4, uri: https://127.0.0.1:14000/chalZ/S00MVdUMyozVfd_h7bbwsRIUiNeR4JG2IU5xCm2NEdw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/-n1HYCt-M43tuDXWPC72IlkFbno0JtCCQ_ocBTKg7YQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/05c15896f0fd6277: 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/3cb855beeed99927 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"