==== 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" 34981 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/293c64d757200fbc acme-client: dochngreq: https://127.0.0.1:14000/authZ/Q4j5rAFd8bIVPz-1RAUyJEg3JNElBBsjY7qoSRfoMSA acme-client: challenge, token: 4ETGqzfRAj-ett0nTx_G9rBet4-ASyuC9TRI8l6455A, uri: https://127.0.0.1:14000/chalZ/dvnF3LOW2iathp4_9lhcvjuSH174NWpDxXTfWQf9SZI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/4ETGqzfRAj-ett0nTx_G9rBet4-ASyuC9TRI8l6455A: created acme-client: https://127.0.0.1:14000/chalZ/dvnF3LOW2iathp4_9lhcvjuSH174NWpDxXTfWQf9SZI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Q4j5rAFd8bIVPz-1RAUyJEg3JNElBBsjY7qoSRfoMSA acme-client: challenge, token: 4ETGqzfRAj-ett0nTx_G9rBet4-ASyuC9TRI8l6455A, uri: https://127.0.0.1:14000/chalZ/dvnF3LOW2iathp4_9lhcvjuSH174NWpDxXTfWQf9SZI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/ntFLyjLyUtYQXf_Rt5HsQWw_ihvy4XFD5PaeNt61e0g: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4b68b1ded1365547: certificate account key: https://127.0.0.1:14000/my-account/293c64d757200fbc 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/293c64d757200fbc 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/293c64d757200fbc acme-client: https://127.0.0.1:14000/finalize-order/tvnC2wIssaZIpwVEWAv2_giQPl7GlFvZPvhgcSJ4zt4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/512d9c6daedbb288: 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/293c64d757200fbc 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/293c64d757200fbc acme-client: dochngreq: https://127.0.0.1:14000/authZ/y92N4JyB_3x-0VsVN_WsTCCuIWow0Gz7dwSAlugwsp8 acme-client: challenge, token: ByI_EfsnSGZCW-eh9IC-O3r6qa82CmQxq_DbekNQWJQ, uri: https://127.0.0.1:14000/chalZ/sY76ELw8eNmVGsuxrcrz2bGZ2wTNHqlzUGoMlUwpGto, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ByI_EfsnSGZCW-eh9IC-O3r6qa82CmQxq_DbekNQWJQ: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/AvUJwJpFvKRkC1O_9tFi2siXWd06eC_KJcG24E_Hiyw acme-client: challenge, token: EjhoPJdaJRX5U6M4_ZX_TJyvS7rHFgsQB03JtcEEkLs, uri: https://127.0.0.1:14000/chalZ/szuMkRggySnagkpC55KcEk_JVijecH8uOepRL-HcsmA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/EjhoPJdaJRX5U6M4_ZX_TJyvS7rHFgsQB03JtcEEkLs: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/JM5YjqB2KeTpUeccfKDST99lM3HPPaCpopsYdgxTjPo acme-client: challenge, token: qCg2LPPJwKsdn6LSgEFKi4_r4ygZbj0-95oNGcZdBIo, uri: https://127.0.0.1:14000/chalZ/S_Y5I3FIT5wRqsG02kZZZJL_CMfV-tAHUdJNm-I400E, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/qCg2LPPJwKsdn6LSgEFKi4_r4ygZbj0-95oNGcZdBIo: created acme-client: https://127.0.0.1:14000/chalZ/sY76ELw8eNmVGsuxrcrz2bGZ2wTNHqlzUGoMlUwpGto: challenge acme-client: https://127.0.0.1:14000/chalZ/szuMkRggySnagkpC55KcEk_JVijecH8uOepRL-HcsmA: challenge acme-client: https://127.0.0.1:14000/chalZ/S_Y5I3FIT5wRqsG02kZZZJL_CMfV-tAHUdJNm-I400E: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/y92N4JyB_3x-0VsVN_WsTCCuIWow0Gz7dwSAlugwsp8 acme-client: challenge, token: ByI_EfsnSGZCW-eh9IC-O3r6qa82CmQxq_DbekNQWJQ, uri: https://127.0.0.1:14000/chalZ/sY76ELw8eNmVGsuxrcrz2bGZ2wTNHqlzUGoMlUwpGto, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/AvUJwJpFvKRkC1O_9tFi2siXWd06eC_KJcG24E_Hiyw acme-client: challenge, token: EjhoPJdaJRX5U6M4_ZX_TJyvS7rHFgsQB03JtcEEkLs, uri: https://127.0.0.1:14000/chalZ/szuMkRggySnagkpC55KcEk_JVijecH8uOepRL-HcsmA, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/JM5YjqB2KeTpUeccfKDST99lM3HPPaCpopsYdgxTjPo acme-client: challenge, token: qCg2LPPJwKsdn6LSgEFKi4_r4ygZbj0-95oNGcZdBIo, uri: https://127.0.0.1:14000/chalZ/S_Y5I3FIT5wRqsG02kZZZJL_CMfV-tAHUdJNm-I400E, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/2SiJdYIE0nKEylH9Q2rPuS_triJiz9Ak2lf21DBWcTU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0481a27a1653b024: 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/293c64d757200fbc 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/293c64d757200fbc acme-client: dochngreq: https://127.0.0.1:14000/authZ/x94gjjJ_LAmZQ_jQlyYgNUczRlhGmPTt9Ye2LfHNlKI acme-client: challenge, token: 2zVj3zdCiDzZGEhlAGAyKyBvRxETmmYwd_Bp7wXPPHg, uri: https://127.0.0.1:14000/chalZ/ijQtjs6831A74qfIqeMVSiffXspgl5zZ6f83_fBYl4s, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/2zVj3zdCiDzZGEhlAGAyKyBvRxETmmYwd_Bp7wXPPHg: created acme-client: https://127.0.0.1:14000/chalZ/ijQtjs6831A74qfIqeMVSiffXspgl5zZ6f83_fBYl4s: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/x94gjjJ_LAmZQ_jQlyYgNUczRlhGmPTt9Ye2LfHNlKI acme-client: challenge, token: 2zVj3zdCiDzZGEhlAGAyKyBvRxETmmYwd_Bp7wXPPHg, uri: https://127.0.0.1:14000/chalZ/ijQtjs6831A74qfIqeMVSiffXspgl5zZ6f83_fBYl4s, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/EEpIosCwksWkQpEh7-837wQwTQ0cljry7AkV8iSZjPs: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1f1dd730abb8ee85: 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/293c64d757200fbc 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/7ddcc995f9677545 acme-client: dochngreq: https://127.0.0.1:14001/authZ/gzyDyvfH1F9CNQN67wMABeGi2e6h5maPPHG91GB6cRw acme-client: challenge, token: qGOkgWQlh4kQvRBcDUbVJMI2GXtmgKLP84OafghWWkk, uri: https://127.0.0.1:14001/chalZ/SArJUmTBdoICTJyTnQUGAkWaGKhmekKmI1fD9ZRBl58, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/qGOkgWQlh4kQvRBcDUbVJMI2GXtmgKLP84OafghWWkk: created acme-client: https://127.0.0.1:14001/chalZ/SArJUmTBdoICTJyTnQUGAkWaGKhmekKmI1fD9ZRBl58: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/gzyDyvfH1F9CNQN67wMABeGi2e6h5maPPHG91GB6cRw acme-client: challenge, token: qGOkgWQlh4kQvRBcDUbVJMI2GXtmgKLP84OafghWWkk, uri: https://127.0.0.1:14001/chalZ/SArJUmTBdoICTJyTnQUGAkWaGKhmekKmI1fD9ZRBl58, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/Yv8i4FSHvkntlxTJtgapP0-82HF775bSLYVSsyw5e5E: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/574be1691fcbaab7: certificate account key: https://127.0.0.1:14001/my-account/7ddcc995f9677545 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"