==== 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" 67379 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/29575a1af8440b1f acme-client: dochngreq: https://127.0.0.1:14000/authZ/dbKfGKtdzqz6ACCcxBw9nRteKq_Ljv2XL718i-O7i6Q acme-client: challenge, token: CaV5gUrt8KZ7u5tuomLuqNUJ1fZYNsGoiI55ezHRf_U, uri: https://127.0.0.1:14000/chalZ/Ir1HJ2FeYaTn9ASOHcyRi8XsPDQwZb8qz9JYjjWu8vk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/CaV5gUrt8KZ7u5tuomLuqNUJ1fZYNsGoiI55ezHRf_U: created acme-client: https://127.0.0.1:14000/chalZ/Ir1HJ2FeYaTn9ASOHcyRi8XsPDQwZb8qz9JYjjWu8vk: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/dbKfGKtdzqz6ACCcxBw9nRteKq_Ljv2XL718i-O7i6Q acme-client: challenge, token: CaV5gUrt8KZ7u5tuomLuqNUJ1fZYNsGoiI55ezHRf_U, uri: https://127.0.0.1:14000/chalZ/Ir1HJ2FeYaTn9ASOHcyRi8XsPDQwZb8qz9JYjjWu8vk, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/N1lrmIWjJc_S8bAmQ8sJJsJrmPa7gkU2sc9XkoRJP0g: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1a10a1cea5d186e9: certificate account key: https://127.0.0.1:14000/my-account/29575a1af8440b1f 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/29575a1af8440b1f 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/29575a1af8440b1f acme-client: https://127.0.0.1:14000/finalize-order/wetb74o4rvMs4nRbCB2qaO3qtyxfHhVnQxmV35W_jrg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6d942385cf5e57b4: 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/29575a1af8440b1f 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/29575a1af8440b1f acme-client: dochngreq: https://127.0.0.1:14000/authZ/C7sRhaj-q7C_QF-P5rcIXt1rCkt60vtEzBvhHPs-ytE acme-client: challenge, token: TUfgMuMdVBobjA5Mher2vdsoeBb0P9R3LnNOJoGsXbw, uri: https://127.0.0.1:14000/chalZ/1RUBQcUTUFWTikw-V3cpHOhbJgDSz7IPdVG2NJv8-Cs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/TUfgMuMdVBobjA5Mher2vdsoeBb0P9R3LnNOJoGsXbw: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/vFOcMTckRUjCltVNQ9Wrpx5LFpbbg1iU6C3f1NFQpHA acme-client: challenge, token: CF89PHFz5UmpispmgVWIbny8DW3KqwmprYKpuyLzVTk, uri: https://127.0.0.1:14000/chalZ/l6XvYI85gslOwJKe6r5ch8KMUnHZIJzUV6ip2LvEJEE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/CF89PHFz5UmpispmgVWIbny8DW3KqwmprYKpuyLzVTk: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/pbOPV6RnUv3nad6E9mJOlcPaKejBaTAFaOwwCFuTf7Q acme-client: challenge, token: dITJdsvLf5oSr6ZDv2H4GREFwTeaOg7gaAq_1jxbBtg, uri: https://127.0.0.1:14000/chalZ/Uh8RT0tUR2hu3ESXTSemRhhLqQcoli-F8SvJgHFtppo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/dITJdsvLf5oSr6ZDv2H4GREFwTeaOg7gaAq_1jxbBtg: created acme-client: https://127.0.0.1:14000/chalZ/1RUBQcUTUFWTikw-V3cpHOhbJgDSz7IPdVG2NJv8-Cs: challenge acme-client: https://127.0.0.1:14000/chalZ/l6XvYI85gslOwJKe6r5ch8KMUnHZIJzUV6ip2LvEJEE: challenge acme-client: https://127.0.0.1:14000/chalZ/Uh8RT0tUR2hu3ESXTSemRhhLqQcoli-F8SvJgHFtppo: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/C7sRhaj-q7C_QF-P5rcIXt1rCkt60vtEzBvhHPs-ytE acme-client: challenge, token: TUfgMuMdVBobjA5Mher2vdsoeBb0P9R3LnNOJoGsXbw, uri: https://127.0.0.1:14000/chalZ/1RUBQcUTUFWTikw-V3cpHOhbJgDSz7IPdVG2NJv8-Cs, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/vFOcMTckRUjCltVNQ9Wrpx5LFpbbg1iU6C3f1NFQpHA acme-client: challenge, token: CF89PHFz5UmpispmgVWIbny8DW3KqwmprYKpuyLzVTk, uri: https://127.0.0.1:14000/chalZ/l6XvYI85gslOwJKe6r5ch8KMUnHZIJzUV6ip2LvEJEE, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/pbOPV6RnUv3nad6E9mJOlcPaKejBaTAFaOwwCFuTf7Q acme-client: challenge, token: dITJdsvLf5oSr6ZDv2H4GREFwTeaOg7gaAq_1jxbBtg, uri: https://127.0.0.1:14000/chalZ/Uh8RT0tUR2hu3ESXTSemRhhLqQcoli-F8SvJgHFtppo, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/rnjAgcYKg753Y6wToLq9O0EmcpAx9QkXHwUxGb8NwVA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6950d131c39f80d6: 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/29575a1af8440b1f 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/29575a1af8440b1f acme-client: https://127.0.0.1:14000/finalize-order/AgKsoPTC8Ew6uIZuPMu377o-VQuF6ugde4rMnRtc0mo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/12c313a3ec9d9776: 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/29575a1af8440b1f 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/db258cbc5e026c2 acme-client: dochngreq: https://127.0.0.1:14001/authZ/g0vmEKvDXvhaQ5CsN7FXtVQoAPwj4akJPq0_kF6l_FE acme-client: challenge, token: Rb6XWELgUBsohZc-vdrR6Rtwl1Lm1-jYLCZIlbjmKCU, uri: https://127.0.0.1:14001/chalZ/m2vcFLWCc9LM8pRqRTgAbsUDm1foaIVwhfc7XrPaQL8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Rb6XWELgUBsohZc-vdrR6Rtwl1Lm1-jYLCZIlbjmKCU: created acme-client: https://127.0.0.1:14001/chalZ/m2vcFLWCc9LM8pRqRTgAbsUDm1foaIVwhfc7XrPaQL8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/g0vmEKvDXvhaQ5CsN7FXtVQoAPwj4akJPq0_kF6l_FE acme-client: challenge, token: Rb6XWELgUBsohZc-vdrR6Rtwl1Lm1-jYLCZIlbjmKCU, uri: https://127.0.0.1:14001/chalZ/m2vcFLWCc9LM8pRqRTgAbsUDm1foaIVwhfc7XrPaQL8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/azy3qFzgAXYuiDj3WP0RykDxiju_cypnQkbLEeFMRH0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/7a9ecb01f8506375: certificate account key: https://127.0.0.1:14001/my-account/db258cbc5e026c2 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"