==== 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" 84119 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/4490e9e75e2a14f2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/BLLhskoBLWWsjIH3kR0GwGf0Amvy4I1rM49_raM-EGY acme-client: challenge, token: 2CztwxIKUSzLtTaFftppHo3bwA_AAMB4z9c33yD0w0g, uri: https://127.0.0.1:14000/chalZ/gX-2EPliM0AFKEVA43O9hQTAolR-XK6kGyZP4JqeY6s, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/2CztwxIKUSzLtTaFftppHo3bwA_AAMB4z9c33yD0w0g: created acme-client: https://127.0.0.1:14000/chalZ/gX-2EPliM0AFKEVA43O9hQTAolR-XK6kGyZP4JqeY6s: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/BLLhskoBLWWsjIH3kR0GwGf0Amvy4I1rM49_raM-EGY acme-client: challenge, token: 2CztwxIKUSzLtTaFftppHo3bwA_AAMB4z9c33yD0w0g, uri: https://127.0.0.1:14000/chalZ/gX-2EPliM0AFKEVA43O9hQTAolR-XK6kGyZP4JqeY6s, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/YS74k47lXLhX_2OiUkhKjXxH21PhvBkjve3dwCKYYnw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7aaff9dbd903ec79: certificate account key: https://127.0.0.1:14000/my-account/4490e9e75e2a14f2 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/4490e9e75e2a14f2 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/4490e9e75e2a14f2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/owOCsu1eXnVPvZXrIVJftL20wHIuYGzBHTNdueQ6-m0 acme-client: challenge, token: YtIwyXFbQPVg9869kLRsp9IVIoFjm3oyvoEAn_J6buw, uri: https://127.0.0.1:14000/chalZ/vXunifHH5GkfgX4KSXQLMe_Osu-hJNEf0mtDQ54hkyE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/YtIwyXFbQPVg9869kLRsp9IVIoFjm3oyvoEAn_J6buw: created acme-client: https://127.0.0.1:14000/chalZ/vXunifHH5GkfgX4KSXQLMe_Osu-hJNEf0mtDQ54hkyE: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/owOCsu1eXnVPvZXrIVJftL20wHIuYGzBHTNdueQ6-m0 acme-client: challenge, token: YtIwyXFbQPVg9869kLRsp9IVIoFjm3oyvoEAn_J6buw, uri: https://127.0.0.1:14000/chalZ/vXunifHH5GkfgX4KSXQLMe_Osu-hJNEf0mtDQ54hkyE, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/fiUQGSg58DxtuVLM5JwRJpAIlV7COnXGWTltwFB_zK8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2c0c90482347f078: 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/4490e9e75e2a14f2 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/4490e9e75e2a14f2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/BLLhskoBLWWsjIH3kR0GwGf0Amvy4I1rM49_raM-EGY acme-client: challenge, token: 2CztwxIKUSzLtTaFftppHo3bwA_AAMB4z9c33yD0w0g, uri: https://127.0.0.1:14000/chalZ/gX-2EPliM0AFKEVA43O9hQTAolR-XK6kGyZP4JqeY6s, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/_isz0R2Y32KHNV1Lc3BoMO4jAdpydXVTdq6GMEWUTHI acme-client: challenge, token: UopcnNwh60tmvQSslwXy3Xw71RFWMdVb8ILML-iUn_E, uri: https://127.0.0.1:14000/chalZ/de3P28mYIlTJWY0sg9AKZ9nM4uGxLoyD0m1_mdq3cFo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/UopcnNwh60tmvQSslwXy3Xw71RFWMdVb8ILML-iUn_E: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/4m3Cu55L3C2MT0JbdRiVfRSP-mf07njABg2oJg804es acme-client: challenge, token: FOGdhR7sXoMOq9Hm5AngoAThJSVgopPaVXuPuz_ZXr8, uri: https://127.0.0.1:14000/chalZ/tvGM0MNTU2S2ZJQKC-DFAT7opE32hFqxuA0i8xc50Bs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/FOGdhR7sXoMOq9Hm5AngoAThJSVgopPaVXuPuz_ZXr8: created acme-client: https://127.0.0.1:14000/chalZ/de3P28mYIlTJWY0sg9AKZ9nM4uGxLoyD0m1_mdq3cFo: challenge acme-client: https://127.0.0.1:14000/chalZ/tvGM0MNTU2S2ZJQKC-DFAT7opE32hFqxuA0i8xc50Bs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/BLLhskoBLWWsjIH3kR0GwGf0Amvy4I1rM49_raM-EGY acme-client: challenge, token: 2CztwxIKUSzLtTaFftppHo3bwA_AAMB4z9c33yD0w0g, uri: https://127.0.0.1:14000/chalZ/gX-2EPliM0AFKEVA43O9hQTAolR-XK6kGyZP4JqeY6s, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/_isz0R2Y32KHNV1Lc3BoMO4jAdpydXVTdq6GMEWUTHI acme-client: challenge, token: UopcnNwh60tmvQSslwXy3Xw71RFWMdVb8ILML-iUn_E, uri: https://127.0.0.1:14000/chalZ/de3P28mYIlTJWY0sg9AKZ9nM4uGxLoyD0m1_mdq3cFo, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/4m3Cu55L3C2MT0JbdRiVfRSP-mf07njABg2oJg804es acme-client: challenge, token: FOGdhR7sXoMOq9Hm5AngoAThJSVgopPaVXuPuz_ZXr8, uri: https://127.0.0.1:14000/chalZ/tvGM0MNTU2S2ZJQKC-DFAT7opE32hFqxuA0i8xc50Bs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/m88WEy9DtoTNdOj8r7mqmXvB-PjfX7mnuBYVod9PCoo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/55e4b071f54515ad: 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/4490e9e75e2a14f2 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/4490e9e75e2a14f2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/YFyUrVN6E5Q6uPtbD9wimj0FKbPCHhMkIJ3FQ-1oVaY acme-client: challenge, token: QdHkEGianUUvOjk4KH5u_41gy783coiBBa4WrQRhWNs, uri: https://127.0.0.1:14000/chalZ/v9KOisfPXt45sbm-unw2BLHPA2UCUOnvm-mVTg8Idac, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/QdHkEGianUUvOjk4KH5u_41gy783coiBBa4WrQRhWNs: created acme-client: https://127.0.0.1:14000/chalZ/v9KOisfPXt45sbm-unw2BLHPA2UCUOnvm-mVTg8Idac: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/YFyUrVN6E5Q6uPtbD9wimj0FKbPCHhMkIJ3FQ-1oVaY acme-client: challenge, token: QdHkEGianUUvOjk4KH5u_41gy783coiBBa4WrQRhWNs, uri: https://127.0.0.1:14000/chalZ/v9KOisfPXt45sbm-unw2BLHPA2UCUOnvm-mVTg8Idac, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Dl84HUQwKWQCv_Vr7OJ5WAF9iSC2Ch6is9cH8N0sDNY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/51e938d0f13bedbc: 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/4490e9e75e2a14f2 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/4aedc76a604168e2 acme-client: dochngreq: https://127.0.0.1:14001/authZ/eiQnz3mTe81GfqsZoc-q7ZUGlyxxxmhpiXavaTVg48I acme-client: challenge, token: Pl5HxfbouhU_rZ-jEYlREv75Oocbmme5-IUgy-DQzOQ, uri: https://127.0.0.1:14001/chalZ/qPowQWjfZHbUPn1z9NKaFA7_Pl4vUor-E3EMnlDY7pM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Pl5HxfbouhU_rZ-jEYlREv75Oocbmme5-IUgy-DQzOQ: created acme-client: https://127.0.0.1:14001/chalZ/qPowQWjfZHbUPn1z9NKaFA7_Pl4vUor-E3EMnlDY7pM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/eiQnz3mTe81GfqsZoc-q7ZUGlyxxxmhpiXavaTVg48I acme-client: challenge, token: Pl5HxfbouhU_rZ-jEYlREv75Oocbmme5-IUgy-DQzOQ, uri: https://127.0.0.1:14001/chalZ/qPowQWjfZHbUPn1z9NKaFA7_Pl4vUor-E3EMnlDY7pM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/rQJb0sTXpz-y6DlIOB9wJxku28RggavHZF-kCz2W5nk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/4a49fddb2e1949bf: certificate account key: https://127.0.0.1:14001/my-account/4aedc76a604168e2 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"