==== 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" 10461 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/2762f5bf70d4908e acme-client: dochngreq: https://127.0.0.1:14000/authZ/xn0BEAJti1gKEXBU7LE-q0ZGbhgGejsXhRq-tvYGr1k acme-client: challenge, token: UolljaTclUAmdlj5KdmQvzW9tGVQ9nMBvvKFiRPiDR4, uri: https://127.0.0.1:14000/chalZ/Ksd8zoPeMld5bvKack1wUK4oYJ7FrMWZGwpLES-xBQI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/UolljaTclUAmdlj5KdmQvzW9tGVQ9nMBvvKFiRPiDR4: created acme-client: https://127.0.0.1:14000/chalZ/Ksd8zoPeMld5bvKack1wUK4oYJ7FrMWZGwpLES-xBQI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xn0BEAJti1gKEXBU7LE-q0ZGbhgGejsXhRq-tvYGr1k acme-client: challenge, token: UolljaTclUAmdlj5KdmQvzW9tGVQ9nMBvvKFiRPiDR4, uri: https://127.0.0.1:14000/chalZ/Ksd8zoPeMld5bvKack1wUK4oYJ7FrMWZGwpLES-xBQI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/dM6IGtwspm0h-nXJlQaR2fWhEdVyv3XZ_tryBhIjHKs: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1406193ff5d7007f: certificate account key: https://127.0.0.1:14000/my-account/2762f5bf70d4908e 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/2762f5bf70d4908e 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/2762f5bf70d4908e acme-client: dochngreq: https://127.0.0.1:14000/authZ/CqfN7mfG31dVU3a3YeZMbTPghF32OXFwfyjUKyKjinc acme-client: challenge, token: 2_TV0daDI_AAk1greXEFh1Gv_LeLSY8pfFh6-vMBnm0, uri: https://127.0.0.1:14000/chalZ/t4Hnc26SIBfgPzXGb79M6ZxJt1koPANI3IFe1o7FcwY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/2_TV0daDI_AAk1greXEFh1Gv_LeLSY8pfFh6-vMBnm0: created acme-client: https://127.0.0.1:14000/chalZ/t4Hnc26SIBfgPzXGb79M6ZxJt1koPANI3IFe1o7FcwY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/CqfN7mfG31dVU3a3YeZMbTPghF32OXFwfyjUKyKjinc acme-client: challenge, token: 2_TV0daDI_AAk1greXEFh1Gv_LeLSY8pfFh6-vMBnm0, uri: https://127.0.0.1:14000/chalZ/t4Hnc26SIBfgPzXGb79M6ZxJt1koPANI3IFe1o7FcwY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/fUtfaem8Xqsl_j5H_6ofqkejZB2sFd3oeLvCCcPYTgY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4cdc1496bbdee42d: 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/2762f5bf70d4908e 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/2762f5bf70d4908e acme-client: dochngreq: https://127.0.0.1:14000/authZ/e-V55s-6TAeT2CX66SFgG0l38q9NwWqhx_5EARdgVrg acme-client: challenge, token: 9T8mChbflVmIEGhBkT0IL_h036jRYTED9NZ61_UgAO4, uri: https://127.0.0.1:14000/chalZ/efgfjDqYM8AaYzeO3qf4YoGWZjVOhE6j8xza3Bt7PSw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/9T8mChbflVmIEGhBkT0IL_h036jRYTED9NZ61_UgAO4: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/xn0BEAJti1gKEXBU7LE-q0ZGbhgGejsXhRq-tvYGr1k acme-client: challenge, token: UolljaTclUAmdlj5KdmQvzW9tGVQ9nMBvvKFiRPiDR4, uri: https://127.0.0.1:14000/chalZ/Ksd8zoPeMld5bvKack1wUK4oYJ7FrMWZGwpLES-xBQI, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/gs4UD1p4IDr4mbAtDnvWYh9BFenOgHNv4j4z5YNNZKM acme-client: challenge, token: v45VMojpzJFfP4pNw_ye7UQ4fAwWzU--LS06DIkVTSw, uri: https://127.0.0.1:14000/chalZ/4GQRK_rOWzDXjwkBOTdJP2LaSPi6180WAKfxp1expxI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/v45VMojpzJFfP4pNw_ye7UQ4fAwWzU--LS06DIkVTSw: created acme-client: https://127.0.0.1:14000/chalZ/efgfjDqYM8AaYzeO3qf4YoGWZjVOhE6j8xza3Bt7PSw: challenge acme-client: https://127.0.0.1:14000/chalZ/4GQRK_rOWzDXjwkBOTdJP2LaSPi6180WAKfxp1expxI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/e-V55s-6TAeT2CX66SFgG0l38q9NwWqhx_5EARdgVrg acme-client: challenge, token: 9T8mChbflVmIEGhBkT0IL_h036jRYTED9NZ61_UgAO4, uri: https://127.0.0.1:14000/chalZ/efgfjDqYM8AaYzeO3qf4YoGWZjVOhE6j8xza3Bt7PSw, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xn0BEAJti1gKEXBU7LE-q0ZGbhgGejsXhRq-tvYGr1k acme-client: challenge, token: UolljaTclUAmdlj5KdmQvzW9tGVQ9nMBvvKFiRPiDR4, uri: https://127.0.0.1:14000/chalZ/Ksd8zoPeMld5bvKack1wUK4oYJ7FrMWZGwpLES-xBQI, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/gs4UD1p4IDr4mbAtDnvWYh9BFenOgHNv4j4z5YNNZKM acme-client: challenge, token: v45VMojpzJFfP4pNw_ye7UQ4fAwWzU--LS06DIkVTSw, uri: https://127.0.0.1:14000/chalZ/4GQRK_rOWzDXjwkBOTdJP2LaSPi6180WAKfxp1expxI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/_Pjrf1yxlcJCEXVWIhECUZMrABMstXC0DBiRgJS1cD0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2b43d6f51e7d1def: 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/2762f5bf70d4908e 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/2762f5bf70d4908e acme-client: https://127.0.0.1:14000/finalize-order/Q8FMayj1S2EMkNT3uHKD-oeBzaWTkt9lLAKTWO_T8ww: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/625afc5e80bd30d6: 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/2762f5bf70d4908e 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/48d1e7adde39538 acme-client: dochngreq: https://127.0.0.1:14001/authZ/i6YDcTEADk4Yi055t5hhlqktjoRmeHgmHbY-N7U9Km0 acme-client: challenge, token: Xio_8yAUOyn7WbUWNbxfrZJvrt4kmDr_z90Pu2Kf9u4, uri: https://127.0.0.1:14001/chalZ/rCaIqqyx1w1kr8Np6ds2LTMaA4Sc9dYP-EY9LlpSrOY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Xio_8yAUOyn7WbUWNbxfrZJvrt4kmDr_z90Pu2Kf9u4: created acme-client: https://127.0.0.1:14001/chalZ/rCaIqqyx1w1kr8Np6ds2LTMaA4Sc9dYP-EY9LlpSrOY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/i6YDcTEADk4Yi055t5hhlqktjoRmeHgmHbY-N7U9Km0 acme-client: challenge, token: Xio_8yAUOyn7WbUWNbxfrZJvrt4kmDr_z90Pu2Kf9u4, uri: https://127.0.0.1:14001/chalZ/rCaIqqyx1w1kr8Np6ds2LTMaA4Sc9dYP-EY9LlpSrOY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/K-GnqQ3ZokcIF4Dpd6hTn_cz0dV0dNYQ3Mdhd9F0awg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/2868e0a6e68a5b6e: certificate account key: https://127.0.0.1:14001/my-account/48d1e7adde39538 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"