==== 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" 12494 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/731c03ebe6d0963c acme-client: dochngreq: https://127.0.0.1:14000/authZ/1JvhAV108V8C2pGTDASxBeyeGp-mx3jiLecDWvCt5Do acme-client: challenge, token: gF6LVMBy6L4YMbIc3V8LfwdpO3l5pUgGmvYYBj3Qmuw, uri: https://127.0.0.1:14000/chalZ/h5LwuRZd2RhqfJ4WsBHUc1HmvskiYSmWu9Dj5ACneiw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/gF6LVMBy6L4YMbIc3V8LfwdpO3l5pUgGmvYYBj3Qmuw: created acme-client: https://127.0.0.1:14000/chalZ/h5LwuRZd2RhqfJ4WsBHUc1HmvskiYSmWu9Dj5ACneiw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/1JvhAV108V8C2pGTDASxBeyeGp-mx3jiLecDWvCt5Do acme-client: challenge, token: gF6LVMBy6L4YMbIc3V8LfwdpO3l5pUgGmvYYBj3Qmuw, uri: https://127.0.0.1:14000/chalZ/h5LwuRZd2RhqfJ4WsBHUc1HmvskiYSmWu9Dj5ACneiw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/TFAG9vnzlDLlxxXNv66za7RTSF0NZyxKzE11jwBLtH8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0db4c220b3e27963: certificate acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: created account key: https://127.0.0.1:14000/my-account/731c03ebe6d0963c 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/731c03ebe6d0963c 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/731c03ebe6d0963c acme-client: https://127.0.0.1:14000/finalize-order/Q5JD01h0GH9bOwQckya02HMTvPV0640Hm4n6qWtOnts: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3fbf61cc62690015: 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/731c03ebe6d0963c 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/731c03ebe6d0963c acme-client: dochngreq: https://127.0.0.1:14000/authZ/JEa7f5XhFbeS6-2ALiICQ4S2f6eVAHZ1UieBKsGOMgU acme-client: challenge, token: 2U_otFu4aF2U1Viob4RE6yZck6vxOScPOaFHvCBxEKg, uri: https://127.0.0.1:14000/chalZ/Mnh1h3pbIVgipuPDkX_3P5_dnKAyFQZvD6yhoilYihk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/2U_otFu4aF2U1Viob4RE6yZck6vxOScPOaFHvCBxEKg: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/GFazjoOUo9-2zVQ3R98QXIfShNc6vkm7iAwUyVUS46s acme-client: challenge, token: ZKbVHYqwzORfsBVHHe6WaZ7uz9KnMmxuXIgGVdMC09M, uri: https://127.0.0.1:14000/chalZ/oLXC2jnwCD0M7LX1zWP44PCgD1JRc-bg0leMrtCpc1A, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ZKbVHYqwzORfsBVHHe6WaZ7uz9KnMmxuXIgGVdMC09M: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/Oga9tvZTAvIwPbCmoqd1_Pl_jwboCu2BibIWG6Gn4Lc acme-client: challenge, token: TaEPMddARgqriVJjUrvb1bJMABCl2Wsnq5s_7bl4Vrs, uri: https://127.0.0.1:14000/chalZ/UKQZjnjDvH5OLcsfuC2TzHB4UVif_XeKbvmiU31K17A, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/TaEPMddARgqriVJjUrvb1bJMABCl2Wsnq5s_7bl4Vrs: created acme-client: https://127.0.0.1:14000/chalZ/Mnh1h3pbIVgipuPDkX_3P5_dnKAyFQZvD6yhoilYihk: challenge acme-client: https://127.0.0.1:14000/chalZ/oLXC2jnwCD0M7LX1zWP44PCgD1JRc-bg0leMrtCpc1A: challenge acme-client: https://127.0.0.1:14000/chalZ/UKQZjnjDvH5OLcsfuC2TzHB4UVif_XeKbvmiU31K17A: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/JEa7f5XhFbeS6-2ALiICQ4S2f6eVAHZ1UieBKsGOMgU acme-client: challenge, token: 2U_otFu4aF2U1Viob4RE6yZck6vxOScPOaFHvCBxEKg, uri: https://127.0.0.1:14000/chalZ/Mnh1h3pbIVgipuPDkX_3P5_dnKAyFQZvD6yhoilYihk, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/GFazjoOUo9-2zVQ3R98QXIfShNc6vkm7iAwUyVUS46s acme-client: challenge, token: ZKbVHYqwzORfsBVHHe6WaZ7uz9KnMmxuXIgGVdMC09M, uri: https://127.0.0.1:14000/chalZ/oLXC2jnwCD0M7LX1zWP44PCgD1JRc-bg0leMrtCpc1A, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Oga9tvZTAvIwPbCmoqd1_Pl_jwboCu2BibIWG6Gn4Lc acme-client: challenge, token: TaEPMddARgqriVJjUrvb1bJMABCl2Wsnq5s_7bl4Vrs, uri: https://127.0.0.1:14000/chalZ/UKQZjnjDvH5OLcsfuC2TzHB4UVif_XeKbvmiU31K17A, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/5Zahcn0Y623a86hMP2nQEJJAL5CZcQ2FRUNr1J2SM3Y: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6b9b53c500aff9f2: 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/731c03ebe6d0963c 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/731c03ebe6d0963c acme-client: https://127.0.0.1:14000/finalize-order/XE7tUdUw5zjlccNp1IRqb4nJPY3sLxdGoIzf5C22yhg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/445cda252f2630ab: 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/731c03ebe6d0963c 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"