==== 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" 79130 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/3fd4f8abf4db10a4 acme-client: dochngreq: https://127.0.0.1:14000/authZ/1uUXC1aVtQU6KEeVUzGM55h0WnTPUg6Bm3uxbLYieac acme-client: challenge, token: raLTYOKLs0CHg2ZvnFm0tg6zwTuG15lVG4hi8Cip6oU, uri: https://127.0.0.1:14000/chalZ/gz7ZvZ4335Np8pZRhZWvMm3nTR3LRD4XkR_-9r_vH-g, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/raLTYOKLs0CHg2ZvnFm0tg6zwTuG15lVG4hi8Cip6oU: created acme-client: https://127.0.0.1:14000/chalZ/gz7ZvZ4335Np8pZRhZWvMm3nTR3LRD4XkR_-9r_vH-g: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/1uUXC1aVtQU6KEeVUzGM55h0WnTPUg6Bm3uxbLYieac acme-client: challenge, token: raLTYOKLs0CHg2ZvnFm0tg6zwTuG15lVG4hi8Cip6oU, uri: https://127.0.0.1:14000/chalZ/gz7ZvZ4335Np8pZRhZWvMm3nTR3LRD4XkR_-9r_vH-g, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/4i1XRXxAk9nSqxU-FoEH2QFMhhCCtkxErpGGQPU5Hi8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0bf52a6553cca58a: certificate account key: https://127.0.0.1:14000/my-account/3fd4f8abf4db10a4 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/3fd4f8abf4db10a4 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/3fd4f8abf4db10a4 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xE991l2AlY20hRWTz4NVFSvfkg0vLh1Yi-296tw7MCc acme-client: challenge, token: 0V2-pNAi1x1S_MDUC8nbfLoYiw7sfSRPLfZ7X3RmeiU, uri: https://127.0.0.1:14000/chalZ/ZxJHqVq8r1NqoOaAgulpSi5BXXcq4xRbDILf1Kmi7hw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/0V2-pNAi1x1S_MDUC8nbfLoYiw7sfSRPLfZ7X3RmeiU: created acme-client: https://127.0.0.1:14000/chalZ/ZxJHqVq8r1NqoOaAgulpSi5BXXcq4xRbDILf1Kmi7hw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xE991l2AlY20hRWTz4NVFSvfkg0vLh1Yi-296tw7MCc acme-client: challenge, token: 0V2-pNAi1x1S_MDUC8nbfLoYiw7sfSRPLfZ7X3RmeiU, uri: https://127.0.0.1:14000/chalZ/ZxJHqVq8r1NqoOaAgulpSi5BXXcq4xRbDILf1Kmi7hw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/yE9Uv9iTtL9U3YJTgPHCOBHzflKfJKMvwQN2M85UtTg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0a3cdd99a3e072f8: 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/3fd4f8abf4db10a4 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/3fd4f8abf4db10a4 acme-client: dochngreq: https://127.0.0.1:14000/authZ/S5YtFc0Nr64PTm6N1z33andQTcBU0n1qWqk7VW0FEac acme-client: challenge, token: XVX0r6T3S-AePShTxCXEh1fFeDFa4pT5tes5g2Dq_sI, uri: https://127.0.0.1:14000/chalZ/MccRqk_TlVAUgn_fkTOVni7CIDcE2LaDA19WyQYeo_c, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/XVX0r6T3S-AePShTxCXEh1fFeDFa4pT5tes5g2Dq_sI: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/HT8vsoKQZB0KKWqOvJfz6kyd7XgiM7-HvmbFhbpogDM acme-client: challenge, token: aIvklG9skYbvwEhiYC1aAB5BOtg7puKqOeMOGi3ZGrQ, uri: https://127.0.0.1:14000/chalZ/Aeu32e-Zl-Ms2SMhERX9kThW1808iLy-kflrFkRYcpY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/aIvklG9skYbvwEhiYC1aAB5BOtg7puKqOeMOGi3ZGrQ: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/1uUXC1aVtQU6KEeVUzGM55h0WnTPUg6Bm3uxbLYieac acme-client: challenge, token: raLTYOKLs0CHg2ZvnFm0tg6zwTuG15lVG4hi8Cip6oU, uri: https://127.0.0.1:14000/chalZ/gz7ZvZ4335Np8pZRhZWvMm3nTR3LRD4XkR_-9r_vH-g, status: 2 acme-client: https://127.0.0.1:14000/chalZ/MccRqk_TlVAUgn_fkTOVni7CIDcE2LaDA19WyQYeo_c: challenge acme-client: https://127.0.0.1:14000/chalZ/Aeu32e-Zl-Ms2SMhERX9kThW1808iLy-kflrFkRYcpY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/S5YtFc0Nr64PTm6N1z33andQTcBU0n1qWqk7VW0FEac acme-client: challenge, token: XVX0r6T3S-AePShTxCXEh1fFeDFa4pT5tes5g2Dq_sI, uri: https://127.0.0.1:14000/chalZ/MccRqk_TlVAUgn_fkTOVni7CIDcE2LaDA19WyQYeo_c, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/HT8vsoKQZB0KKWqOvJfz6kyd7XgiM7-HvmbFhbpogDM acme-client: challenge, token: aIvklG9skYbvwEhiYC1aAB5BOtg7puKqOeMOGi3ZGrQ, uri: https://127.0.0.1:14000/chalZ/Aeu32e-Zl-Ms2SMhERX9kThW1808iLy-kflrFkRYcpY, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/1uUXC1aVtQU6KEeVUzGM55h0WnTPUg6Bm3uxbLYieac acme-client: challenge, token: raLTYOKLs0CHg2ZvnFm0tg6zwTuG15lVG4hi8Cip6oU, uri: https://127.0.0.1:14000/chalZ/gz7ZvZ4335Np8pZRhZWvMm3nTR3LRD4XkR_-9r_vH-g, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/A2bHd0vYnH6DLJ_y4dMieb4eAMrHacCLmVQT3lrhGy0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/195bc1dcee918eee: 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/3fd4f8abf4db10a4 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/3fd4f8abf4db10a4 acme-client: dochngreq: https://127.0.0.1:14000/authZ/74yKMNjeVmdKjp3F-REeDWshTax10uuG9BiXjL2wEMc acme-client: challenge, token: KG7pJYu1yEfx2AgqIP35v7smWwRuUQPirWvEfY_Q0Q0, uri: https://127.0.0.1:14000/chalZ/8dhUTpWN2LpG7pCpWQRT1L_0pkOKGFhdTTZDZcIGpZ4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/KG7pJYu1yEfx2AgqIP35v7smWwRuUQPirWvEfY_Q0Q0: created acme-client: https://127.0.0.1:14000/chalZ/8dhUTpWN2LpG7pCpWQRT1L_0pkOKGFhdTTZDZcIGpZ4: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/74yKMNjeVmdKjp3F-REeDWshTax10uuG9BiXjL2wEMc acme-client: challenge, token: KG7pJYu1yEfx2AgqIP35v7smWwRuUQPirWvEfY_Q0Q0, uri: https://127.0.0.1:14000/chalZ/8dhUTpWN2LpG7pCpWQRT1L_0pkOKGFhdTTZDZcIGpZ4, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/82lKLZDxm8jXnzAIVd6g9ltEn_JinIEolAbWA_mQsUQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/18ccae250e5888d1: 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/3fd4f8abf4db10a4 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"