==== 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" 10692 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/3b6c20140abde089 acme-client: dochngreq: https://127.0.0.1:14000/authZ/UBRjlAH8HK8WGRmCJ2gbi-PbXMllYWagmgcESplTFcs acme-client: challenge, token: iK0X34b6zERcJvgdxpIoYIofxwKON-ow91-VR_QmAxU, uri: https://127.0.0.1:14000/chalZ/-_6sbgeyajlYmIqg10qacDcI7Fic6etyvBRvuvteZXc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/iK0X34b6zERcJvgdxpIoYIofxwKON-ow91-VR_QmAxU: created acme-client: https://127.0.0.1:14000/chalZ/-_6sbgeyajlYmIqg10qacDcI7Fic6etyvBRvuvteZXc: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/UBRjlAH8HK8WGRmCJ2gbi-PbXMllYWagmgcESplTFcs acme-client: challenge, token: iK0X34b6zERcJvgdxpIoYIofxwKON-ow91-VR_QmAxU, uri: https://127.0.0.1:14000/chalZ/-_6sbgeyajlYmIqg10qacDcI7Fic6etyvBRvuvteZXc, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/JeW81tN_DPP-Uw4n2sNekvUh_AhpF6fDjA24Ebl3K-s: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/474f9c3859e8f68b: certificate account key: https://127.0.0.1:14000/my-account/3b6c20140abde089 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/3b6c20140abde089 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/3b6c20140abde089 acme-client: dochngreq: https://127.0.0.1:14000/authZ/cpQk1aLdtsfjue79Mlaq5q3eRKTdM5qEzUCjXMfs-ZE acme-client: challenge, token: r9_ZOSwHw5_azKiENVPAHQmkux7nNxhjffEv0QhgkQ8, uri: https://127.0.0.1:14000/chalZ/puVEEy6jvHC12Yrl3mBY2nEZzIqppWGc62_Y9A2qH7w, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/r9_ZOSwHw5_azKiENVPAHQmkux7nNxhjffEv0QhgkQ8: created acme-client: https://127.0.0.1:14000/chalZ/puVEEy6jvHC12Yrl3mBY2nEZzIqppWGc62_Y9A2qH7w: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/cpQk1aLdtsfjue79Mlaq5q3eRKTdM5qEzUCjXMfs-ZE acme-client: challenge, token: r9_ZOSwHw5_azKiENVPAHQmkux7nNxhjffEv0QhgkQ8, uri: https://127.0.0.1:14000/chalZ/puVEEy6jvHC12Yrl3mBY2nEZzIqppWGc62_Y9A2qH7w, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/IaXFna7kYAGww2WmYVd-wgydDqfSYJ2sp2UvbK8A0Ac: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7ed8c770e53e10e6: 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/3b6c20140abde089 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/3b6c20140abde089 acme-client: dochngreq: https://127.0.0.1:14000/authZ/1smb45fH9HcZPm1jAViMju6lmNwdXdNKbnlwf-LwREs acme-client: challenge, token: I6mMGbY3OPC7TlO3XJApd7iQ62nFh5RoyxFZtKzvnTQ, uri: https://127.0.0.1:14000/chalZ/1gmNc9bWbO-ORoXJiRhD9SJ2QuTJQUtt9xJvuYLfXbg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/I6mMGbY3OPC7TlO3XJApd7iQ62nFh5RoyxFZtKzvnTQ: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/fntp-6C7TtxxQhydUH5EtXytzz0aexl665e_Ha38Vh8 acme-client: challenge, token: M8l6ElhTNEAf3GMhJyjYgk7-0qQt9QOOVJBf8eZf0f8, uri: https://127.0.0.1:14000/chalZ/HNwYRYwsBY2nNLFSuyKYyrKOOnbNA6KHS6rTfUfKzbQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/M8l6ElhTNEAf3GMhJyjYgk7-0qQt9QOOVJBf8eZf0f8: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/-JbFUhhUf5ylpW5aVbYxIHE1SJOXJkSqiXXqaO0fGW8 acme-client: challenge, token: E1WDeZt3gl-ccc2dsE566UvKsq5PijXeyimunn51sXE, uri: https://127.0.0.1:14000/chalZ/FKuAgBPb1KeyMVYGIU2wupeC8S5Vya-YTD2Bmpkd1sY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/E1WDeZt3gl-ccc2dsE566UvKsq5PijXeyimunn51sXE: created acme-client: https://127.0.0.1:14000/chalZ/1gmNc9bWbO-ORoXJiRhD9SJ2QuTJQUtt9xJvuYLfXbg: challenge acme-client: https://127.0.0.1:14000/chalZ/HNwYRYwsBY2nNLFSuyKYyrKOOnbNA6KHS6rTfUfKzbQ: challenge acme-client: https://127.0.0.1:14000/chalZ/FKuAgBPb1KeyMVYGIU2wupeC8S5Vya-YTD2Bmpkd1sY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/1smb45fH9HcZPm1jAViMju6lmNwdXdNKbnlwf-LwREs acme-client: challenge, token: I6mMGbY3OPC7TlO3XJApd7iQ62nFh5RoyxFZtKzvnTQ, uri: https://127.0.0.1:14000/chalZ/1gmNc9bWbO-ORoXJiRhD9SJ2QuTJQUtt9xJvuYLfXbg, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/fntp-6C7TtxxQhydUH5EtXytzz0aexl665e_Ha38Vh8 acme-client: challenge, token: M8l6ElhTNEAf3GMhJyjYgk7-0qQt9QOOVJBf8eZf0f8, uri: https://127.0.0.1:14000/chalZ/HNwYRYwsBY2nNLFSuyKYyrKOOnbNA6KHS6rTfUfKzbQ, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/-JbFUhhUf5ylpW5aVbYxIHE1SJOXJkSqiXXqaO0fGW8 acme-client: challenge, token: E1WDeZt3gl-ccc2dsE566UvKsq5PijXeyimunn51sXE, uri: https://127.0.0.1:14000/chalZ/FKuAgBPb1KeyMVYGIU2wupeC8S5Vya-YTD2Bmpkd1sY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/4-YWGZHnEUQwP2sA9PYlPutrliGIzutm9Ucx7s39Xug: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/46f03bbe74d4f92d: 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/3b6c20140abde089 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/3b6c20140abde089 acme-client: dochngreq: https://127.0.0.1:14000/authZ/HWZvirQqKgrw8SE6PY_rT0lZaWzKTm8iy_Xvi9jt0qw acme-client: challenge, token: DbxyKZ4nQ1Tl4WD-ssT4FEHD3AZn9iNLoupEKeDto2c, uri: https://127.0.0.1:14000/chalZ/XxawPNULDSFrKsF4K0XILJiqheYYR9-BGK6W4uEivuk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/DbxyKZ4nQ1Tl4WD-ssT4FEHD3AZn9iNLoupEKeDto2c: created acme-client: https://127.0.0.1:14000/chalZ/XxawPNULDSFrKsF4K0XILJiqheYYR9-BGK6W4uEivuk: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/HWZvirQqKgrw8SE6PY_rT0lZaWzKTm8iy_Xvi9jt0qw acme-client: challenge, token: DbxyKZ4nQ1Tl4WD-ssT4FEHD3AZn9iNLoupEKeDto2c, uri: https://127.0.0.1:14000/chalZ/XxawPNULDSFrKsF4K0XILJiqheYYR9-BGK6W4uEivuk, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/4LidP6N1kW7UE70cborY-fmb0kvHCAeUi7zKYLdF4ko: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6808676d81150e59: 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/3b6c20140abde089 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"