==== 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" 22737 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/4a8be9a43062c89e acme-client: dochngreq: https://127.0.0.1:14000/authZ/Sbj6AJZhGlEkQlhulVDXhYKphWUgD35EuUu1EoySz90 acme-client: challenge, token: HmQS6zMJogeKroCawzv0Gzv4xwnfuF7eBVLK_VJ-wQs, uri: https://127.0.0.1:14000/chalZ/iQ88wO-9MOGbKMlQ1AQOy6RXFfPdmgdGuXdg3nUoh6M, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/HmQS6zMJogeKroCawzv0Gzv4xwnfuF7eBVLK_VJ-wQs: created acme-client: https://127.0.0.1:14000/chalZ/iQ88wO-9MOGbKMlQ1AQOy6RXFfPdmgdGuXdg3nUoh6M: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Sbj6AJZhGlEkQlhulVDXhYKphWUgD35EuUu1EoySz90 acme-client: challenge, token: HmQS6zMJogeKroCawzv0Gzv4xwnfuF7eBVLK_VJ-wQs, uri: https://127.0.0.1:14000/chalZ/iQ88wO-9MOGbKMlQ1AQOy6RXFfPdmgdGuXdg3nUoh6M, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/4yZF2_r5dTQZ5ESaKCPBjceIpLR3wBND-zn-1tefFc0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7997b1c428fb3c68: certificate account key: https://127.0.0.1:14000/my-account/4a8be9a43062c89e 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/4a8be9a43062c89e 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/4a8be9a43062c89e acme-client: dochngreq: https://127.0.0.1:14000/authZ/m6WrQ9cnruuRa6MAhDfsDVDPQZLBefpVcGM2IYwougQ acme-client: challenge, token: W6OEd6qRnhqN-XBy2knfRUjcXNBNbGTBOgM3aOQokyg, uri: https://127.0.0.1:14000/chalZ/-MV_5i1DEUH43cvbxADaP83IZ0teQYrFzuJPoO1mXsU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/W6OEd6qRnhqN-XBy2knfRUjcXNBNbGTBOgM3aOQokyg: created acme-client: https://127.0.0.1:14000/chalZ/-MV_5i1DEUH43cvbxADaP83IZ0teQYrFzuJPoO1mXsU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/m6WrQ9cnruuRa6MAhDfsDVDPQZLBefpVcGM2IYwougQ acme-client: challenge, token: W6OEd6qRnhqN-XBy2knfRUjcXNBNbGTBOgM3aOQokyg, uri: https://127.0.0.1:14000/chalZ/-MV_5i1DEUH43cvbxADaP83IZ0teQYrFzuJPoO1mXsU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/eV762q83GTFZGCyDYIgyBRfy7NvXBUpiKFZbWDKZw7k: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2d2b0053a02e17aa: 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/4a8be9a43062c89e 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/4a8be9a43062c89e acme-client: dochngreq: https://127.0.0.1:14000/authZ/-cD9bhYTa0-jstPDgC1cRvBcNaB9gc-azW2aSCDLLu0 acme-client: challenge, token: G9mso7f_LRp5MV2bxd1orRNv_l45Qwot8lJBMjkP6U4, uri: https://127.0.0.1:14000/chalZ/n-3HtO8NpVH_qfqvfC53tjqO0JfON3JWLEikJMrAMA4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/G9mso7f_LRp5MV2bxd1orRNv_l45Qwot8lJBMjkP6U4: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/NaG0aBjqd9WY4zAu4dErzCFIQJc3Rpk90gso0n6IfR4 acme-client: challenge, token: b44Lenyd0-qh83dpytp-5QE7qV1G_rDjrGJUNfsSAoU, uri: https://127.0.0.1:14000/chalZ/vZ9DbRuUMxhaIgXBdtlDRn3WupJHtg6YI6z4Q9UDwvs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/b44Lenyd0-qh83dpytp-5QE7qV1G_rDjrGJUNfsSAoU: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/reQWB2vjb1RZAT8s33I8rsRro5R7X9ZLvSFBkMKce94 acme-client: challenge, token: BlRvguCFQnL1dG6-A69WxKus841uZwMWFQ1_i7lUICI, uri: https://127.0.0.1:14000/chalZ/zbJaCFOnicDAmdZWiwnhvMDrzOLqtwETEa7mlWa5uGs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/BlRvguCFQnL1dG6-A69WxKus841uZwMWFQ1_i7lUICI: created acme-client: https://127.0.0.1:14000/chalZ/n-3HtO8NpVH_qfqvfC53tjqO0JfON3JWLEikJMrAMA4: challenge acme-client: https://127.0.0.1:14000/chalZ/vZ9DbRuUMxhaIgXBdtlDRn3WupJHtg6YI6z4Q9UDwvs: challenge acme-client: https://127.0.0.1:14000/chalZ/zbJaCFOnicDAmdZWiwnhvMDrzOLqtwETEa7mlWa5uGs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/-cD9bhYTa0-jstPDgC1cRvBcNaB9gc-azW2aSCDLLu0 acme-client: challenge, token: G9mso7f_LRp5MV2bxd1orRNv_l45Qwot8lJBMjkP6U4, uri: https://127.0.0.1:14000/chalZ/n-3HtO8NpVH_qfqvfC53tjqO0JfON3JWLEikJMrAMA4, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/NaG0aBjqd9WY4zAu4dErzCFIQJc3Rpk90gso0n6IfR4 acme-client: challenge, token: b44Lenyd0-qh83dpytp-5QE7qV1G_rDjrGJUNfsSAoU, uri: https://127.0.0.1:14000/chalZ/vZ9DbRuUMxhaIgXBdtlDRn3WupJHtg6YI6z4Q9UDwvs, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/reQWB2vjb1RZAT8s33I8rsRro5R7X9ZLvSFBkMKce94 acme-client: challenge, token: BlRvguCFQnL1dG6-A69WxKus841uZwMWFQ1_i7lUICI, uri: https://127.0.0.1:14000/chalZ/zbJaCFOnicDAmdZWiwnhvMDrzOLqtwETEa7mlWa5uGs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/RgbvLmiC84G_HsW_s-rNvwutElnkbiy-W8fDMHfu34Q: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/01509971a558631a: 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/4a8be9a43062c89e 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/4a8be9a43062c89e acme-client: https://127.0.0.1:14000/finalize-order/VMNMbLVFpZSz3h5TH-X7qV5GykiE0cTPAiR7_YX9Iiw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/69690ee3e644d52f: 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/4a8be9a43062c89e 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"