==== 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" 17378 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/6fa62037e75c6af1 acme-client: dochngreq: https://127.0.0.1:14000/authZ/uygMeP84908pMaUfPdjGsP5qCZCxheYmpk2-iiRtTaU acme-client: challenge, token: cnBg6_7tc1cQgMgL9hOxEQ5c702umsKr61b-HjlsI1Q, uri: https://127.0.0.1:14000/chalZ/YbqwvlYG60zI0sGfMaVLkchlrYArMisI_9Q98aMRrew, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/cnBg6_7tc1cQgMgL9hOxEQ5c702umsKr61b-HjlsI1Q: created acme-client: https://127.0.0.1:14000/chalZ/YbqwvlYG60zI0sGfMaVLkchlrYArMisI_9Q98aMRrew: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/uygMeP84908pMaUfPdjGsP5qCZCxheYmpk2-iiRtTaU acme-client: challenge, token: cnBg6_7tc1cQgMgL9hOxEQ5c702umsKr61b-HjlsI1Q, uri: https://127.0.0.1:14000/chalZ/YbqwvlYG60zI0sGfMaVLkchlrYArMisI_9Q98aMRrew, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/-1JBfeooRx_-DMsS13JdB_1iOVKwgKiJ2uT63SvfNGE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5339dd9c65ded90e: certificate account key: https://127.0.0.1:14000/my-account/6fa62037e75c6af1 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/6fa62037e75c6af1 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/6fa62037e75c6af1 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Tu-kNgnCZLpkCRNybTuZMD2CTqvn8Icb3GelzSjJFOo acme-client: challenge, token: 4Ovgk77iQkRvKMDTFnK83PavBd1V819PXrw1Dkxm_t0, uri: https://127.0.0.1:14000/chalZ/q8kcswIrsBIXiz6rrodLFz1rsqRsZBbaaQ1OUqB_Emw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/4Ovgk77iQkRvKMDTFnK83PavBd1V819PXrw1Dkxm_t0: created acme-client: https://127.0.0.1:14000/chalZ/q8kcswIrsBIXiz6rrodLFz1rsqRsZBbaaQ1OUqB_Emw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Tu-kNgnCZLpkCRNybTuZMD2CTqvn8Icb3GelzSjJFOo acme-client: challenge, token: 4Ovgk77iQkRvKMDTFnK83PavBd1V819PXrw1Dkxm_t0, uri: https://127.0.0.1:14000/chalZ/q8kcswIrsBIXiz6rrodLFz1rsqRsZBbaaQ1OUqB_Emw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/ghYw5wrZx5LKGjBXSUYkMVr1VKtoRwqC0E5qxxRDRiY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5d86736a182fecb3: 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/6fa62037e75c6af1 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/6fa62037e75c6af1 acme-client: dochngreq: https://127.0.0.1:14000/authZ/lQjtodADduqx-vIxTzPUvC59jmtPvNd-GTKVawc2_ZY acme-client: challenge, token: 1N1OMTtL6h9AzNP-Jlq939zHJQu7pGwJANOe3CvDra0, uri: https://127.0.0.1:14000/chalZ/A0TG8lxaWlWrrtVP9qaQ67KWM3KR79PUT1_b8rPq4uc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/1N1OMTtL6h9AzNP-Jlq939zHJQu7pGwJANOe3CvDra0: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/TYnMGTtwL8Frsuj-TCz5uIb6NR1XFBvQk1IYkzCmu2k acme-client: challenge, token: tM8GSGfh-hLOid-Od0J6PObFdnK1OmnuuN4zmk1tlg8, uri: https://127.0.0.1:14000/chalZ/NQ6NPbx-exmlfuO7MZR-o_sphZlvc_zeaMbDUrgZxHY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/tM8GSGfh-hLOid-Od0J6PObFdnK1OmnuuN4zmk1tlg8: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/uygMeP84908pMaUfPdjGsP5qCZCxheYmpk2-iiRtTaU acme-client: challenge, token: cnBg6_7tc1cQgMgL9hOxEQ5c702umsKr61b-HjlsI1Q, uri: https://127.0.0.1:14000/chalZ/YbqwvlYG60zI0sGfMaVLkchlrYArMisI_9Q98aMRrew, status: 2 acme-client: https://127.0.0.1:14000/chalZ/A0TG8lxaWlWrrtVP9qaQ67KWM3KR79PUT1_b8rPq4uc: challenge acme-client: https://127.0.0.1:14000/chalZ/NQ6NPbx-exmlfuO7MZR-o_sphZlvc_zeaMbDUrgZxHY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/lQjtodADduqx-vIxTzPUvC59jmtPvNd-GTKVawc2_ZY acme-client: challenge, token: 1N1OMTtL6h9AzNP-Jlq939zHJQu7pGwJANOe3CvDra0, uri: https://127.0.0.1:14000/chalZ/A0TG8lxaWlWrrtVP9qaQ67KWM3KR79PUT1_b8rPq4uc, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/TYnMGTtwL8Frsuj-TCz5uIb6NR1XFBvQk1IYkzCmu2k acme-client: challenge, token: tM8GSGfh-hLOid-Od0J6PObFdnK1OmnuuN4zmk1tlg8, uri: https://127.0.0.1:14000/chalZ/NQ6NPbx-exmlfuO7MZR-o_sphZlvc_zeaMbDUrgZxHY, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/uygMeP84908pMaUfPdjGsP5qCZCxheYmpk2-iiRtTaU acme-client: challenge, token: cnBg6_7tc1cQgMgL9hOxEQ5c702umsKr61b-HjlsI1Q, uri: https://127.0.0.1:14000/chalZ/YbqwvlYG60zI0sGfMaVLkchlrYArMisI_9Q98aMRrew, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/bSkrzpKAk93WhxGnZ2K07n5-mU79TotIl2PcGyOlbGI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1af332ea7cbcaa05: 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/6fa62037e75c6af1 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/6fa62037e75c6af1 acme-client: dochngreq: https://127.0.0.1:14000/authZ/i9MC9oXvGSqkkMUQvMZVZAHHOe5OfmXr4y-ImY1_dZI acme-client: challenge, token: dJ1r8sS7TrzR0iFCB9oVn7sMQu4vllIxmjsDGADLUA0, uri: https://127.0.0.1:14000/chalZ/bCs5XWpjozbjDfK5xEU_8pd9dJT0ERV4D1b8JKa4Sjw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/dJ1r8sS7TrzR0iFCB9oVn7sMQu4vllIxmjsDGADLUA0: created acme-client: https://127.0.0.1:14000/chalZ/bCs5XWpjozbjDfK5xEU_8pd9dJT0ERV4D1b8JKa4Sjw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/i9MC9oXvGSqkkMUQvMZVZAHHOe5OfmXr4y-ImY1_dZI acme-client: challenge, token: dJ1r8sS7TrzR0iFCB9oVn7sMQu4vllIxmjsDGADLUA0, uri: https://127.0.0.1:14000/chalZ/bCs5XWpjozbjDfK5xEU_8pd9dJT0ERV4D1b8JKa4Sjw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/YIY9Mkg9zDSTUsZocy2nf6ozxFPKzmkqvzudlUWg0Ek: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/46544e3c04b8fa30: 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/6fa62037e75c6af1 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"