==== 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" 4353 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/597db9d5b304bf60 acme-client: dochngreq: https://127.0.0.1:14000/authZ/VKwqUEWzX6yB6G48GN7MNeU9s7VK23sciccVlNZMWIw acme-client: challenge, token: LBWJGqT-opE06rYbHkhNCKwPAGwnjdQ8WEbtFxtqKR4, uri: https://127.0.0.1:14000/chalZ/neprwi6CTAfR8u8Z6BOtMy6RfQ_8x7Uh3qNwlreJujc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/LBWJGqT-opE06rYbHkhNCKwPAGwnjdQ8WEbtFxtqKR4: created acme-client: https://127.0.0.1:14000/chalZ/neprwi6CTAfR8u8Z6BOtMy6RfQ_8x7Uh3qNwlreJujc: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/VKwqUEWzX6yB6G48GN7MNeU9s7VK23sciccVlNZMWIw acme-client: challenge, token: LBWJGqT-opE06rYbHkhNCKwPAGwnjdQ8WEbtFxtqKR4, uri: https://127.0.0.1:14000/chalZ/neprwi6CTAfR8u8Z6BOtMy6RfQ_8x7Uh3qNwlreJujc, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/sq5p_TBhJHE1ihb_or2Fyy1pW0OhL_9G27_zX_eqZ04: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6f35e84ffbb75b9d: certificate account key: https://127.0.0.1:14000/my-account/597db9d5b304bf60 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/597db9d5b304bf60 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/597db9d5b304bf60 acme-client: https://127.0.0.1:14000/finalize-order/poCVPRY_GgLTrNCCdqrvw9_xNHpeX71o9HdKOW4b8xg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/79143b9095a700ad: 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/597db9d5b304bf60 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/597db9d5b304bf60 acme-client: dochngreq: https://127.0.0.1:14000/authZ/OM84bqPwvdoy2DAx99qegyLGL2fJZVkb7TUP2_Wyalg acme-client: challenge, token: AzrKBkWEK7F4NSg2hUFdHRTNiE7oiUe7GmuMAosZpGA, uri: https://127.0.0.1:14000/chalZ/74WdByBcY5AMdSFD0_2CVCHNtdNAsNFNboimjzOV4-o, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/AzrKBkWEK7F4NSg2hUFdHRTNiE7oiUe7GmuMAosZpGA: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/VKwqUEWzX6yB6G48GN7MNeU9s7VK23sciccVlNZMWIw acme-client: challenge, token: LBWJGqT-opE06rYbHkhNCKwPAGwnjdQ8WEbtFxtqKR4, uri: https://127.0.0.1:14000/chalZ/neprwi6CTAfR8u8Z6BOtMy6RfQ_8x7Uh3qNwlreJujc, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/VgEv105HXSX9Amt84h7cbXu9gSXn7x3TlNNsnQRLq8c acme-client: challenge, token: BYZ_pg5ANfjVbSqLuongZjjXTxkcaAJdIbgxM2WU8BQ, uri: https://127.0.0.1:14000/chalZ/EOHY_2pT3ch4nDove-WQPnxd6fLnnC5EoQiedjoE7lM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/BYZ_pg5ANfjVbSqLuongZjjXTxkcaAJdIbgxM2WU8BQ: created acme-client: https://127.0.0.1:14000/chalZ/74WdByBcY5AMdSFD0_2CVCHNtdNAsNFNboimjzOV4-o: challenge acme-client: https://127.0.0.1:14000/chalZ/EOHY_2pT3ch4nDove-WQPnxd6fLnnC5EoQiedjoE7lM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/OM84bqPwvdoy2DAx99qegyLGL2fJZVkb7TUP2_Wyalg acme-client: challenge, token: AzrKBkWEK7F4NSg2hUFdHRTNiE7oiUe7GmuMAosZpGA, uri: https://127.0.0.1:14000/chalZ/74WdByBcY5AMdSFD0_2CVCHNtdNAsNFNboimjzOV4-o, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/VKwqUEWzX6yB6G48GN7MNeU9s7VK23sciccVlNZMWIw acme-client: challenge, token: LBWJGqT-opE06rYbHkhNCKwPAGwnjdQ8WEbtFxtqKR4, uri: https://127.0.0.1:14000/chalZ/neprwi6CTAfR8u8Z6BOtMy6RfQ_8x7Uh3qNwlreJujc, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/VgEv105HXSX9Amt84h7cbXu9gSXn7x3TlNNsnQRLq8c acme-client: challenge, token: BYZ_pg5ANfjVbSqLuongZjjXTxkcaAJdIbgxM2WU8BQ, uri: https://127.0.0.1:14000/chalZ/EOHY_2pT3ch4nDove-WQPnxd6fLnnC5EoQiedjoE7lM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/uYlj7eEipi24bgtJxrpvipCZ_EwzrJ0T5keDSwGVLhk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4b79569b28e953f6: 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/597db9d5b304bf60 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/597db9d5b304bf60 acme-client: dochngreq: https://127.0.0.1:14000/authZ/KG4uZji55Ojoc3MqhwBjSZcsNyPXYznRjTJHeer33yg acme-client: challenge, token: 9Vz3r2NP49FuDBs4JgnGHGOQY5usW5Fk2I4BV0OVbvU, uri: https://127.0.0.1:14000/chalZ/_-KlIGpThLnV8nnZj4lVpd7eRkZdNSL9s_3DhSoGbSs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/9Vz3r2NP49FuDBs4JgnGHGOQY5usW5Fk2I4BV0OVbvU: created acme-client: https://127.0.0.1:14000/chalZ/_-KlIGpThLnV8nnZj4lVpd7eRkZdNSL9s_3DhSoGbSs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/KG4uZji55Ojoc3MqhwBjSZcsNyPXYznRjTJHeer33yg acme-client: challenge, token: 9Vz3r2NP49FuDBs4JgnGHGOQY5usW5Fk2I4BV0OVbvU, uri: https://127.0.0.1:14000/chalZ/_-KlIGpThLnV8nnZj4lVpd7eRkZdNSL9s_3DhSoGbSs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/vLodloTMlyI6x1gPdo71wQ849AbzTesEx4wcw34PQ4U: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6cd411006bf3dbdc: 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/597db9d5b304bf60 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"