==== 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" 36918 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/3a3313be6129289b acme-client: dochngreq: https://127.0.0.1:14000/authZ/bDg2BGs35jCSAaJAMH-MAZs5uxU59iC8b-_ZU03Jweg acme-client: challenge, token: c7JTb38HYbPCFyWZwzcINbCy9RI_kOZ73imzUsoRQ1g, uri: https://127.0.0.1:14000/chalZ/OI03Q5JHBtF8f4-D-aqSF_VDhK8vzNhjMe-HUD_i80Y, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/c7JTb38HYbPCFyWZwzcINbCy9RI_kOZ73imzUsoRQ1g: created acme-client: https://127.0.0.1:14000/chalZ/OI03Q5JHBtF8f4-D-aqSF_VDhK8vzNhjMe-HUD_i80Y: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/bDg2BGs35jCSAaJAMH-MAZs5uxU59iC8b-_ZU03Jweg acme-client: challenge, token: c7JTb38HYbPCFyWZwzcINbCy9RI_kOZ73imzUsoRQ1g, uri: https://127.0.0.1:14000/chalZ/OI03Q5JHBtF8f4-D-aqSF_VDhK8vzNhjMe-HUD_i80Y, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/_sCopm_9a0MwwykOPbWmXm-C-tlIXlfhcq3Nza3VEF0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/35509618fbd07258: certificate account key: https://127.0.0.1:14000/my-account/3a3313be6129289b 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/3a3313be6129289b 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/3a3313be6129289b acme-client: https://127.0.0.1:14000/finalize-order/21jpojDsxnK9LBYXVcyd6wl4eGsuKZqpJHr6TVLjIhw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/476e96318794c52d: 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/3a3313be6129289b 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/3a3313be6129289b acme-client: dochngreq: https://127.0.0.1:14000/authZ/A3m4lrNnT-YgMXaFBrBMXeTaL5jYy3fNDv0JD1kwMyk acme-client: challenge, token: LOjBOfAFA-M5EVTNqTWwbBKpCP7nwgRLgwpmVqmWn1o, uri: https://127.0.0.1:14000/chalZ/QlJ9Eeb4cwklkGdDmQlOl6P6vUa40tGJEW-ft9T1MQc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/LOjBOfAFA-M5EVTNqTWwbBKpCP7nwgRLgwpmVqmWn1o: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/3DJtw6wxhdcJAjBi0cfbASlU9wuo_Dyndjqn_Xn_53o acme-client: challenge, token: tT9mX1Qkt4zXFVHa_lpuFyHX7iOwVdAOl99488pewtI, uri: https://127.0.0.1:14000/chalZ/I6wvUbjYqSknAEaeoh2rXEgKJ7zi0OBxYKOMkJC_tFw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/tT9mX1Qkt4zXFVHa_lpuFyHX7iOwVdAOl99488pewtI: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/bDg2BGs35jCSAaJAMH-MAZs5uxU59iC8b-_ZU03Jweg acme-client: challenge, token: c7JTb38HYbPCFyWZwzcINbCy9RI_kOZ73imzUsoRQ1g, uri: https://127.0.0.1:14000/chalZ/OI03Q5JHBtF8f4-D-aqSF_VDhK8vzNhjMe-HUD_i80Y, status: 2 acme-client: https://127.0.0.1:14000/chalZ/QlJ9Eeb4cwklkGdDmQlOl6P6vUa40tGJEW-ft9T1MQc: challenge acme-client: https://127.0.0.1:14000/chalZ/I6wvUbjYqSknAEaeoh2rXEgKJ7zi0OBxYKOMkJC_tFw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/A3m4lrNnT-YgMXaFBrBMXeTaL5jYy3fNDv0JD1kwMyk acme-client: challenge, token: LOjBOfAFA-M5EVTNqTWwbBKpCP7nwgRLgwpmVqmWn1o, uri: https://127.0.0.1:14000/chalZ/QlJ9Eeb4cwklkGdDmQlOl6P6vUa40tGJEW-ft9T1MQc, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/3DJtw6wxhdcJAjBi0cfbASlU9wuo_Dyndjqn_Xn_53o acme-client: challenge, token: tT9mX1Qkt4zXFVHa_lpuFyHX7iOwVdAOl99488pewtI, uri: https://127.0.0.1:14000/chalZ/I6wvUbjYqSknAEaeoh2rXEgKJ7zi0OBxYKOMkJC_tFw, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/bDg2BGs35jCSAaJAMH-MAZs5uxU59iC8b-_ZU03Jweg acme-client: challenge, token: c7JTb38HYbPCFyWZwzcINbCy9RI_kOZ73imzUsoRQ1g, uri: https://127.0.0.1:14000/chalZ/OI03Q5JHBtF8f4-D-aqSF_VDhK8vzNhjMe-HUD_i80Y, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/uXzVZNihBw1TFexcdhg-kRLH-A_li4bDAEojBcAns1o: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1b1f9f3715389e0c: 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/3a3313be6129289b 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/3a3313be6129289b acme-client: dochngreq: https://127.0.0.1:14000/authZ/XqdDFUXcQ843F5JhzmGTFP0QUfOTjnFAoEoDSgoSQ4U acme-client: challenge, token: NzjmpU5VMrMmQypiB7l65IJdrPIJASZ8SfSy7SdVjHA, uri: https://127.0.0.1:14000/chalZ/Q4fL7pvBMi0pz9zNjOQoDVJeU-HjrHptdmY4wvcILcc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/NzjmpU5VMrMmQypiB7l65IJdrPIJASZ8SfSy7SdVjHA: created acme-client: https://127.0.0.1:14000/chalZ/Q4fL7pvBMi0pz9zNjOQoDVJeU-HjrHptdmY4wvcILcc: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XqdDFUXcQ843F5JhzmGTFP0QUfOTjnFAoEoDSgoSQ4U acme-client: challenge, token: NzjmpU5VMrMmQypiB7l65IJdrPIJASZ8SfSy7SdVjHA, uri: https://127.0.0.1:14000/chalZ/Q4fL7pvBMi0pz9zNjOQoDVJeU-HjrHptdmY4wvcILcc, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/459nAA0qzPFT7BwURp1tHBWLF149avEffPmz8OC7nBs: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5d3d8d5d51d00b42: 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/3a3313be6129289b 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/3e4560f1d422aa22 acme-client: dochngreq: https://127.0.0.1:14001/authZ/2Xc3hSlsIDiCc2X4ovcrHDyWQhc5RzztC7vL_LPLoYo acme-client: challenge, token: rMlf6wmeDm5nuOzqNM-Cnao9vW1Ci5NKAfYe0RiIlOw, uri: https://127.0.0.1:14001/chalZ/2t8HgWp6c-8YRL6U0TrFH31NcZfc0y7enojMm_Myf8w, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/rMlf6wmeDm5nuOzqNM-Cnao9vW1Ci5NKAfYe0RiIlOw: created acme-client: https://127.0.0.1:14001/chalZ/2t8HgWp6c-8YRL6U0TrFH31NcZfc0y7enojMm_Myf8w: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/2Xc3hSlsIDiCc2X4ovcrHDyWQhc5RzztC7vL_LPLoYo acme-client: challenge, token: rMlf6wmeDm5nuOzqNM-Cnao9vW1Ci5NKAfYe0RiIlOw, uri: https://127.0.0.1:14001/chalZ/2t8HgWp6c-8YRL6U0TrFH31NcZfc0y7enojMm_Myf8w, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/Xs0TkfA54Mam-EP44ZnBxSSvNab3mA5lHbdAi2GNlmY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/5922a5a635f3295f: certificate account key: https://127.0.0.1:14001/my-account/3e4560f1d422aa22 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"