==== 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" 13011 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/7d6a759512707e15 acme-client: dochngreq: https://127.0.0.1:14000/authZ/OqlLnACaU8QJ3rKZyjlhZQU394Ho6c97LYOtPIj_Tc8 acme-client: challenge, token: 8EHLDqT3wJU-V0zZIuCaRyMT59t2ApS5qtt6nCBD4b4, uri: https://127.0.0.1:14000/chalZ/QIeEvbGJnF0H2hx6XZaMr4LZLGkvikbG4T3R4xKS7MY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/8EHLDqT3wJU-V0zZIuCaRyMT59t2ApS5qtt6nCBD4b4: created acme-client: https://127.0.0.1:14000/chalZ/QIeEvbGJnF0H2hx6XZaMr4LZLGkvikbG4T3R4xKS7MY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/OqlLnACaU8QJ3rKZyjlhZQU394Ho6c97LYOtPIj_Tc8 acme-client: challenge, token: 8EHLDqT3wJU-V0zZIuCaRyMT59t2ApS5qtt6nCBD4b4, uri: https://127.0.0.1:14000/chalZ/QIeEvbGJnF0H2hx6XZaMr4LZLGkvikbG4T3R4xKS7MY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/VMnAFqzlnLdgkNa-spJjRoWKBsKo66b__pn8qCaGkOo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7e813496f855c090: certificate account key: https://127.0.0.1:14000/my-account/7d6a759512707e15 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/7d6a759512707e15 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/7d6a759512707e15 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xfEFTbFv5W5oyCwkgy4TBHqJ7jJ-nSFVOVlYgD5hcIM acme-client: challenge, token: h0qr-OFoIa4pRk-DBoi8faTIC_9ZXsW9EjZ3jIpteqA, uri: https://127.0.0.1:14000/chalZ/35xbF1uPU3cu9_PkXZ5q0zrbszk9rG6Xz3p6NM3ApbU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/h0qr-OFoIa4pRk-DBoi8faTIC_9ZXsW9EjZ3jIpteqA: created acme-client: https://127.0.0.1:14000/chalZ/35xbF1uPU3cu9_PkXZ5q0zrbszk9rG6Xz3p6NM3ApbU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xfEFTbFv5W5oyCwkgy4TBHqJ7jJ-nSFVOVlYgD5hcIM acme-client: challenge, token: h0qr-OFoIa4pRk-DBoi8faTIC_9ZXsW9EjZ3jIpteqA, uri: https://127.0.0.1:14000/chalZ/35xbF1uPU3cu9_PkXZ5q0zrbszk9rG6Xz3p6NM3ApbU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/ja22aJdqgsp0H77ruZ6Tu46Pso7VGyGPqETUpHu4j_U: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/49a5b7b01c9fc95c: 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/7d6a759512707e15 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/7d6a759512707e15 acme-client: dochngreq: https://127.0.0.1:14000/authZ/T2D9-vXHzuKnh0wuSb-frF6RIdmK8XxWMNmHpUyfnCM acme-client: challenge, token: zlODguB6n1nj46DuGbumZiHudjLMZwktk9YhI3gB7Hs, uri: https://127.0.0.1:14000/chalZ/HLaLM-C-tXHxW2v1TS7ymVICbQ-NvmvMjdDLjA7ELt8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/zlODguB6n1nj46DuGbumZiHudjLMZwktk9YhI3gB7Hs: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/eHtEoi1E2gEcwVfkDEm5i4SBZUAa7poBZj3IvPS5ZTQ acme-client: challenge, token: 48yunNw0ou5OqvWJOatUfP-qTGAuwB6ZBzDurrNjzCA, uri: https://127.0.0.1:14000/chalZ/GtfKPR7MAQeeMeUqfMzcwdhWSmsAlHPdXsnd2s84P8w, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/48yunNw0ou5OqvWJOatUfP-qTGAuwB6ZBzDurrNjzCA: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/bO5YfN1sD27osx0bQ8-5fZgKnddRn_EOrtCrgPmMw2w acme-client: challenge, token: mia_U0_v7_AAJswScB3ZDKvdwhbFdQUqAGy_uNjVhzw, uri: https://127.0.0.1:14000/chalZ/781HR36VqLaRNrZf-ap6kiFNk4MBMDUleZH7ozOnqiY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/mia_U0_v7_AAJswScB3ZDKvdwhbFdQUqAGy_uNjVhzw: created acme-client: https://127.0.0.1:14000/chalZ/HLaLM-C-tXHxW2v1TS7ymVICbQ-NvmvMjdDLjA7ELt8: challenge acme-client: https://127.0.0.1:14000/chalZ/GtfKPR7MAQeeMeUqfMzcwdhWSmsAlHPdXsnd2s84P8w: challenge acme-client: https://127.0.0.1:14000/chalZ/781HR36VqLaRNrZf-ap6kiFNk4MBMDUleZH7ozOnqiY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/T2D9-vXHzuKnh0wuSb-frF6RIdmK8XxWMNmHpUyfnCM acme-client: challenge, token: zlODguB6n1nj46DuGbumZiHudjLMZwktk9YhI3gB7Hs, uri: https://127.0.0.1:14000/chalZ/HLaLM-C-tXHxW2v1TS7ymVICbQ-NvmvMjdDLjA7ELt8, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/eHtEoi1E2gEcwVfkDEm5i4SBZUAa7poBZj3IvPS5ZTQ acme-client: challenge, token: 48yunNw0ou5OqvWJOatUfP-qTGAuwB6ZBzDurrNjzCA, uri: https://127.0.0.1:14000/chalZ/GtfKPR7MAQeeMeUqfMzcwdhWSmsAlHPdXsnd2s84P8w, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/bO5YfN1sD27osx0bQ8-5fZgKnddRn_EOrtCrgPmMw2w acme-client: challenge, token: mia_U0_v7_AAJswScB3ZDKvdwhbFdQUqAGy_uNjVhzw, uri: https://127.0.0.1:14000/chalZ/781HR36VqLaRNrZf-ap6kiFNk4MBMDUleZH7ozOnqiY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/P0XVzvFS_yvAX42H1kNTytpF7XxUojjQLnqQYQQ3ygA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/32f1c43172208d81: 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/7d6a759512707e15 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/7d6a759512707e15 acme-client: dochngreq: https://127.0.0.1:14000/authZ/DsuM4k5jryA2FOvR1KPMvUHtrP2u4bwy6ssGVULhr00 acme-client: challenge, token: DCwgef-Mit7TO6aB_dG6tsilKGu8HxpAayWyoQr2Gmc, uri: https://127.0.0.1:14000/chalZ/4oLC2gCjHsa2SzgI2wjxdJppY0yDUOpei0MzBWuaDdc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/DCwgef-Mit7TO6aB_dG6tsilKGu8HxpAayWyoQr2Gmc: created acme-client: https://127.0.0.1:14000/chalZ/4oLC2gCjHsa2SzgI2wjxdJppY0yDUOpei0MzBWuaDdc: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/DsuM4k5jryA2FOvR1KPMvUHtrP2u4bwy6ssGVULhr00 acme-client: challenge, token: DCwgef-Mit7TO6aB_dG6tsilKGu8HxpAayWyoQr2Gmc, uri: https://127.0.0.1:14000/chalZ/4oLC2gCjHsa2SzgI2wjxdJppY0yDUOpei0MzBWuaDdc, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/MTHeZ6emJZt4uLBf2IN3yZtyax8Kz1m-nUmtMSh6_4A: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4127944ce9ece77b: 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/7d6a759512707e15 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/4d62acdf134266f8 acme-client: dochngreq: https://127.0.0.1:14001/authZ/uWx_agf07f3SaC0BN2Wpv2JYWj0Zp774AyqAhc6q79M acme-client: challenge, token: oPVqGjhMeJF_ZG-DzPkAqUTA3iZ6639JdE4jP98MxAE, uri: https://127.0.0.1:14001/chalZ/Zjo3R9gcUZ52776sA3fcTee7fekgcIP95CdYZQdE17w, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/oPVqGjhMeJF_ZG-DzPkAqUTA3iZ6639JdE4jP98MxAE: created acme-client: https://127.0.0.1:14001/chalZ/Zjo3R9gcUZ52776sA3fcTee7fekgcIP95CdYZQdE17w: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/uWx_agf07f3SaC0BN2Wpv2JYWj0Zp774AyqAhc6q79M acme-client: challenge, token: oPVqGjhMeJF_ZG-DzPkAqUTA3iZ6639JdE4jP98MxAE, uri: https://127.0.0.1:14001/chalZ/Zjo3R9gcUZ52776sA3fcTee7fekgcIP95CdYZQdE17w, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/QwfTVTSVi9KbDxYZ9AOgEgH-vuGe2D6t4Ilj5zCd25A: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/3e00092d76343371: certificate account key: https://127.0.0.1:14001/my-account/4d62acdf134266f8 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"