==== 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" 41968 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/6cc19ae231c101b7 acme-client: dochngreq: https://127.0.0.1:14000/authZ/smQd5c-eTSeodeOwAAZrED0iw_m2MBYnT4mSqu76sR4 acme-client: challenge, token: OtKYEcGnmlnVxSVzZwvFeMl80TrmZLUB4_aNQMAGHyw, uri: https://127.0.0.1:14000/chalZ/k81KAHWyzecepZ-Xrfp473liSiNyV7CJ-BgDrXOa0JU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/OtKYEcGnmlnVxSVzZwvFeMl80TrmZLUB4_aNQMAGHyw: created acme-client: https://127.0.0.1:14000/chalZ/k81KAHWyzecepZ-Xrfp473liSiNyV7CJ-BgDrXOa0JU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/smQd5c-eTSeodeOwAAZrED0iw_m2MBYnT4mSqu76sR4 acme-client: challenge, token: OtKYEcGnmlnVxSVzZwvFeMl80TrmZLUB4_aNQMAGHyw, uri: https://127.0.0.1:14000/chalZ/k81KAHWyzecepZ-Xrfp473liSiNyV7CJ-BgDrXOa0JU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/1WlS5z_rF3fLKaBiyEbgYstZeQUAcbhaN8L-t0YpOuA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/53fab1c18c4b69f4: certificate account key: https://127.0.0.1:14000/my-account/6cc19ae231c101b7 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/6cc19ae231c101b7 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/6cc19ae231c101b7 acme-client: dochngreq: https://127.0.0.1:14000/authZ/sGCb3_IsI2_llmWibWx-ehj9LjEm0b7Z-UP5QbLg7QU acme-client: challenge, token: v2l8a6irHHiujzehdOt2FX0-xIMjhMExvEA2HzGUQY8, uri: https://127.0.0.1:14000/chalZ/PkLeXGaX4EFlFELV7bOSyE-YNCBWW2buE1dc8u-POIM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/v2l8a6irHHiujzehdOt2FX0-xIMjhMExvEA2HzGUQY8: created acme-client: https://127.0.0.1:14000/chalZ/PkLeXGaX4EFlFELV7bOSyE-YNCBWW2buE1dc8u-POIM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/sGCb3_IsI2_llmWibWx-ehj9LjEm0b7Z-UP5QbLg7QU acme-client: challenge, token: v2l8a6irHHiujzehdOt2FX0-xIMjhMExvEA2HzGUQY8, uri: https://127.0.0.1:14000/chalZ/PkLeXGaX4EFlFELV7bOSyE-YNCBWW2buE1dc8u-POIM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/2breRFjQAEkNldeh11gRhPoOiTHgACNeV_CI-tF3WFE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/28dfc3c199737329: 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/6cc19ae231c101b7 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/6cc19ae231c101b7 acme-client: dochngreq: https://127.0.0.1:14000/authZ/MBqQRzxVudlFwOuF7-Wimd2IpbDtbuu2G7F-aIuET1M acme-client: challenge, token: O1Ee3eE6Vn3dgJ6x5bRLogS21WTeIp1uW7matZ8IJA4, uri: https://127.0.0.1:14000/chalZ/Srqmdv1XU49QSxY8F6BytSqYI8UAGzdM4BqRj0aG4L8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/O1Ee3eE6Vn3dgJ6x5bRLogS21WTeIp1uW7matZ8IJA4: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/LJXWpFL78GQs5rXFLQUQVS3-rvQirb5CPeCxgyTAOhM acme-client: challenge, token: CirESfd-nIS33tEOZdzHES83gVf4opRI2Nhp436xA1E, uri: https://127.0.0.1:14000/chalZ/vQmK6v3y3QuLURSt1cOkheoxPPk2gIfMD4LbNm6TUik, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/CirESfd-nIS33tEOZdzHES83gVf4opRI2Nhp436xA1E: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/xYt4XOc3Pll36neqI8uoh6lN66EIQEKgQgfR_mtDWTg acme-client: challenge, token: ERshsID3WiR4Un84T9FkVje0xTR_mWM25nczfS8vGrs, uri: https://127.0.0.1:14000/chalZ/6Fd0DI9wyPeajTDx31j-99x7aQsAdfnjOthnC3_BSVY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ERshsID3WiR4Un84T9FkVje0xTR_mWM25nczfS8vGrs: created acme-client: https://127.0.0.1:14000/chalZ/Srqmdv1XU49QSxY8F6BytSqYI8UAGzdM4BqRj0aG4L8: challenge acme-client: https://127.0.0.1:14000/chalZ/vQmK6v3y3QuLURSt1cOkheoxPPk2gIfMD4LbNm6TUik: challenge acme-client: https://127.0.0.1:14000/chalZ/6Fd0DI9wyPeajTDx31j-99x7aQsAdfnjOthnC3_BSVY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/MBqQRzxVudlFwOuF7-Wimd2IpbDtbuu2G7F-aIuET1M acme-client: challenge, token: O1Ee3eE6Vn3dgJ6x5bRLogS21WTeIp1uW7matZ8IJA4, uri: https://127.0.0.1:14000/chalZ/Srqmdv1XU49QSxY8F6BytSqYI8UAGzdM4BqRj0aG4L8, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/LJXWpFL78GQs5rXFLQUQVS3-rvQirb5CPeCxgyTAOhM acme-client: challenge, token: CirESfd-nIS33tEOZdzHES83gVf4opRI2Nhp436xA1E, uri: https://127.0.0.1:14000/chalZ/vQmK6v3y3QuLURSt1cOkheoxPPk2gIfMD4LbNm6TUik, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xYt4XOc3Pll36neqI8uoh6lN66EIQEKgQgfR_mtDWTg acme-client: challenge, token: ERshsID3WiR4Un84T9FkVje0xTR_mWM25nczfS8vGrs, uri: https://127.0.0.1:14000/chalZ/6Fd0DI9wyPeajTDx31j-99x7aQsAdfnjOthnC3_BSVY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/FIT7V2Yb8W6zdSaPUV3hyVV1JYhsewH0T_aB4cmx8Do: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1251bfdaa98f078f: 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/6cc19ae231c101b7 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/6cc19ae231c101b7 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ppDJajKJtPldbExEYyzKt7aWSZHb7Q8IQ8yyXtprHRU acme-client: challenge, token: J6hRaphoonZzq-XEuOJ3e86fIchr85s8xvatCKtCZ8w, uri: https://127.0.0.1:14000/chalZ/I6hV3Wa9yLsS2ZgFCNSOmpJJnNA4X7tLsEuo7RmSS9A, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/J6hRaphoonZzq-XEuOJ3e86fIchr85s8xvatCKtCZ8w: created acme-client: https://127.0.0.1:14000/chalZ/I6hV3Wa9yLsS2ZgFCNSOmpJJnNA4X7tLsEuo7RmSS9A: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ppDJajKJtPldbExEYyzKt7aWSZHb7Q8IQ8yyXtprHRU acme-client: challenge, token: J6hRaphoonZzq-XEuOJ3e86fIchr85s8xvatCKtCZ8w, uri: https://127.0.0.1:14000/chalZ/I6hV3Wa9yLsS2ZgFCNSOmpJJnNA4X7tLsEuo7RmSS9A, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/OuzQUv47zeOt6Kb6bHPx1XoDwl_PtA5Nd6Lsa518Z8Y: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1efa44e6b1adb873: 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/6cc19ae231c101b7 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/4d756cc5ff12b8dc acme-client: dochngreq: https://127.0.0.1:14001/authZ/EI8kxb6y1spRVDv0zpO1odLgTp0ulUZs4YVPRiE3FPk acme-client: challenge, token: hce2VZV9ABNJ3LyouuRWUZhUENTXDUaBgvgSH-nbquE, uri: https://127.0.0.1:14001/chalZ/Ne1OLbp5S_w-4q4OmPTsSQ9sXR-ZCF9HMGhKjGkBC9E, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/hce2VZV9ABNJ3LyouuRWUZhUENTXDUaBgvgSH-nbquE: created acme-client: https://127.0.0.1:14001/chalZ/Ne1OLbp5S_w-4q4OmPTsSQ9sXR-ZCF9HMGhKjGkBC9E: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/EI8kxb6y1spRVDv0zpO1odLgTp0ulUZs4YVPRiE3FPk acme-client: challenge, token: hce2VZV9ABNJ3LyouuRWUZhUENTXDUaBgvgSH-nbquE, uri: https://127.0.0.1:14001/chalZ/Ne1OLbp5S_w-4q4OmPTsSQ9sXR-ZCF9HMGhKjGkBC9E, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/aFZYOydTQu7PpmZGBruRcA3tY8aSSeN8xQz1TP3b6BI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/466eda8021735b0d: certificate account key: https://127.0.0.1:14001/my-account/4d756cc5ff12b8dc 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"