==== 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" 16983 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/6d6d2a931efbf93e acme-client: dochngreq: https://127.0.0.1:14000/authZ/lhQFmVHkl1Ijk-z6LoBXe332YnRPNwc3HbRh5zAkiyg acme-client: challenge, token: Lypq5DACjFGxYfsJvwj2xH0StnP2SlExMqbLWuxYZfw, uri: https://127.0.0.1:14000/chalZ/aytBO0qFw6s7fn9WhQnwmz0gS1wiHy6g_5TQ-N6blQE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Lypq5DACjFGxYfsJvwj2xH0StnP2SlExMqbLWuxYZfw: created acme-client: https://127.0.0.1:14000/chalZ/aytBO0qFw6s7fn9WhQnwmz0gS1wiHy6g_5TQ-N6blQE: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/lhQFmVHkl1Ijk-z6LoBXe332YnRPNwc3HbRh5zAkiyg acme-client: challenge, token: Lypq5DACjFGxYfsJvwj2xH0StnP2SlExMqbLWuxYZfw, uri: https://127.0.0.1:14000/chalZ/aytBO0qFw6s7fn9WhQnwmz0gS1wiHy6g_5TQ-N6blQE, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/hhlAd6bZl5huagFyB79mORpqjZooyg7Wjgjlg6ICcwY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3853c53f805722b1: certificate account key: https://127.0.0.1:14000/my-account/6d6d2a931efbf93e 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/6d6d2a931efbf93e 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/6d6d2a931efbf93e acme-client: dochngreq: https://127.0.0.1:14000/authZ/nF3bFxIcMrjjy_nkf1su0MFsiqrv0VTtSHrb08sA6Ok acme-client: challenge, token: OlbWh_Oa3RfBJjceqWkiTi5dnYBjkrYxCbNlihAUcs8, uri: https://127.0.0.1:14000/chalZ/STfvIebHgo8g33_MYKB8IOOxbCpNElnCPrTHC_aKIro, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/OlbWh_Oa3RfBJjceqWkiTi5dnYBjkrYxCbNlihAUcs8: created acme-client: https://127.0.0.1:14000/chalZ/STfvIebHgo8g33_MYKB8IOOxbCpNElnCPrTHC_aKIro: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/nF3bFxIcMrjjy_nkf1su0MFsiqrv0VTtSHrb08sA6Ok acme-client: challenge, token: OlbWh_Oa3RfBJjceqWkiTi5dnYBjkrYxCbNlihAUcs8, uri: https://127.0.0.1:14000/chalZ/STfvIebHgo8g33_MYKB8IOOxbCpNElnCPrTHC_aKIro, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/PaC5pRMHCp01Qjb240Df1L5US66scxnGLeaQyhkXLSk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2ce058ebfac7240f: 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/6d6d2a931efbf93e 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/6d6d2a931efbf93e acme-client: dochngreq: https://127.0.0.1:14000/authZ/4cHkmsRphnfY8ABaiKYvDN_5V1Jw8ZiP21zyWQYrsEg acme-client: challenge, token: 96TSfkhFUmeOnCseE8vBBuoFqOKMM4KkYjBXAByYXpE, uri: https://127.0.0.1:14000/chalZ/lv8wiE-0GGJaFEnGZF4LsIdvlEc-pRD80v06tBJboAk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/96TSfkhFUmeOnCseE8vBBuoFqOKMM4KkYjBXAByYXpE: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/bmA0zf9wCmvtqXKGnBgpz3UquiJ6jOK62sINGOCTylA acme-client: challenge, token: 6d_SZIePaDKeBImEuesXe71BKhKosyq5hs83rjv6sqw, uri: https://127.0.0.1:14000/chalZ/ZgUI6dmNElt9B5m3ptYjuvCbIhLA5v05XOJrbj7j_d0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/6d_SZIePaDKeBImEuesXe71BKhKosyq5hs83rjv6sqw: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/6EaM73jYnT_MukZfec6_lU9tyyKW3LuW7nMYHknC97g acme-client: challenge, token: tpmCMYPEaN1fkzJ5jyn79elOHgluCU9zukLQ6tDMwSM, uri: https://127.0.0.1:14000/chalZ/_sYOFtKUy-j06bGv2_DtIE2u8qx6BlDsPvqqLRVNgx0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/tpmCMYPEaN1fkzJ5jyn79elOHgluCU9zukLQ6tDMwSM: created acme-client: https://127.0.0.1:14000/chalZ/lv8wiE-0GGJaFEnGZF4LsIdvlEc-pRD80v06tBJboAk: challenge acme-client: https://127.0.0.1:14000/chalZ/ZgUI6dmNElt9B5m3ptYjuvCbIhLA5v05XOJrbj7j_d0: challenge acme-client: https://127.0.0.1:14000/chalZ/_sYOFtKUy-j06bGv2_DtIE2u8qx6BlDsPvqqLRVNgx0: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/4cHkmsRphnfY8ABaiKYvDN_5V1Jw8ZiP21zyWQYrsEg acme-client: challenge, token: 96TSfkhFUmeOnCseE8vBBuoFqOKMM4KkYjBXAByYXpE, uri: https://127.0.0.1:14000/chalZ/lv8wiE-0GGJaFEnGZF4LsIdvlEc-pRD80v06tBJboAk, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/bmA0zf9wCmvtqXKGnBgpz3UquiJ6jOK62sINGOCTylA acme-client: challenge, token: 6d_SZIePaDKeBImEuesXe71BKhKosyq5hs83rjv6sqw, uri: https://127.0.0.1:14000/chalZ/ZgUI6dmNElt9B5m3ptYjuvCbIhLA5v05XOJrbj7j_d0, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/6EaM73jYnT_MukZfec6_lU9tyyKW3LuW7nMYHknC97g acme-client: challenge, token: tpmCMYPEaN1fkzJ5jyn79elOHgluCU9zukLQ6tDMwSM, uri: https://127.0.0.1:14000/chalZ/_sYOFtKUy-j06bGv2_DtIE2u8qx6BlDsPvqqLRVNgx0, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/fC3t5Fo7k_VEtzx1ue0SuFvd9l96Aaq4He4IDJVwqgw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/04f26c05241732f0: 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/6d6d2a931efbf93e 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/6d6d2a931efbf93e acme-client: dochngreq: https://127.0.0.1:14000/authZ/GjkdOtw8Zf_QpFSfznZqq1aU6GYjP46pl3Bxql19P9s acme-client: challenge, token: KpvzeFXz0ScQgRBp0u1ex-Hjsgy-11F9y9u9byIBgMQ, uri: https://127.0.0.1:14000/chalZ/1Yp7rppB-gLE19kN7nkHgFZNiNho-uSTvJ4B68SyT0Y, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/KpvzeFXz0ScQgRBp0u1ex-Hjsgy-11F9y9u9byIBgMQ: created acme-client: https://127.0.0.1:14000/chalZ/1Yp7rppB-gLE19kN7nkHgFZNiNho-uSTvJ4B68SyT0Y: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/GjkdOtw8Zf_QpFSfznZqq1aU6GYjP46pl3Bxql19P9s acme-client: challenge, token: KpvzeFXz0ScQgRBp0u1ex-Hjsgy-11F9y9u9byIBgMQ, uri: https://127.0.0.1:14000/chalZ/1Yp7rppB-gLE19kN7nkHgFZNiNho-uSTvJ4B68SyT0Y, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/3hMNqT-gcHwrBx39lhGwj-9IW64T7q3CZO1v_ja9RT0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1d69f1664cb7125d: 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/6d6d2a931efbf93e 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/24a6e88991f13adf acme-client: dochngreq: https://127.0.0.1:14001/authZ/08vx-BWpsGMhnj1G5MfXDAm1VcLt0wqQ2bfNjhj_utk acme-client: challenge, token: MTu-yiV3vspwK0rVvUUz6dN96QblWDuxiGHYdyIX_PA, uri: https://127.0.0.1:14001/chalZ/BlNgKBm26TRi2C_wdDKCMvgc45OrQJR9fz2MSxVoVOI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/MTu-yiV3vspwK0rVvUUz6dN96QblWDuxiGHYdyIX_PA: created acme-client: https://127.0.0.1:14001/chalZ/BlNgKBm26TRi2C_wdDKCMvgc45OrQJR9fz2MSxVoVOI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/08vx-BWpsGMhnj1G5MfXDAm1VcLt0wqQ2bfNjhj_utk acme-client: challenge, token: MTu-yiV3vspwK0rVvUUz6dN96QblWDuxiGHYdyIX_PA, uri: https://127.0.0.1:14001/chalZ/BlNgKBm26TRi2C_wdDKCMvgc45OrQJR9fz2MSxVoVOI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/xawR7X7NlrVXXRC9Xsdj02f73m6dtTFuzCkuN1h7tUg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/7081a5eaaded891d: certificate account key: https://127.0.0.1:14001/my-account/24a6e88991f13adf 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"