==== 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" 18280 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/60ec01c7a9e1288f acme-client: dochngreq: https://127.0.0.1:14000/authZ/trHdCQ1OljcvmH4ahJZjEJzLLlD8BNBVkOi1OgljNB0 acme-client: challenge, token: WQC6_YMwiHEkFWUk9jYhSE24gIo9vIJ03yG6FgedNMQ, uri: https://127.0.0.1:14000/chalZ/T_lgHg1Vq7I4twkI2koThtKqSgl-f_WJfJiCTqCJP7c, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/WQC6_YMwiHEkFWUk9jYhSE24gIo9vIJ03yG6FgedNMQ: created acme-client: https://127.0.0.1:14000/chalZ/T_lgHg1Vq7I4twkI2koThtKqSgl-f_WJfJiCTqCJP7c: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/trHdCQ1OljcvmH4ahJZjEJzLLlD8BNBVkOi1OgljNB0 acme-client: challenge, token: WQC6_YMwiHEkFWUk9jYhSE24gIo9vIJ03yG6FgedNMQ, uri: https://127.0.0.1:14000/chalZ/T_lgHg1Vq7I4twkI2koThtKqSgl-f_WJfJiCTqCJP7c, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/9NBOhIL3CUHv5b-RqOnXF5MZFj9W0Fr-Hj2bSmob0i4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/72dedea5993c524b: certificate account key: https://127.0.0.1:14000/my-account/60ec01c7a9e1288f 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/60ec01c7a9e1288f 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/60ec01c7a9e1288f acme-client: https://127.0.0.1:14000/finalize-order/nEMzi4Ii62I3fBdVRfsFG7rKn0kkoZ_n4eW8v8Hbtzo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/107a10960caff0c9: 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/60ec01c7a9e1288f 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/60ec01c7a9e1288f acme-client: dochngreq: https://127.0.0.1:14000/authZ/gcNjSQ87OrZklAwsd4Fb4ZP_Cd_Y3PAJilRAilbBS8k acme-client: challenge, token: RLdtXGgncnsLxEPKY6CEgDbsMv7wX3_BkBvC0TCw_Es, uri: https://127.0.0.1:14000/chalZ/Wcyh3pH7LF5XDEXpkqLh3zMGVMMEXkN3S_QA6SMdpPk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/RLdtXGgncnsLxEPKY6CEgDbsMv7wX3_BkBvC0TCw_Es: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/Y8AGrDs3RaHT9h1ZSHlAFa-zTUrV0myey2pw7n1jHQ8 acme-client: challenge, token: wPIMBePX3X-UU3JfFAVqBFyDqXeH13ZfX8gic8as2w0, uri: https://127.0.0.1:14000/chalZ/GmTpfwQ9GnSb0pC304Os71mOYdmk9ZlNvfKI7ou7ui0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/wPIMBePX3X-UU3JfFAVqBFyDqXeH13ZfX8gic8as2w0: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/hT06Z5GVk31tvMVYMIN2vrbmiJQrvUzrRDC7LmNGHjk acme-client: challenge, token: ht-MD8PeSMSZ3NqpkfdHmtkxGEGmpxq6ogXC7Q_bQpM, uri: https://127.0.0.1:14000/chalZ/W8k4vUYjoQ-vEiU9LcrxVdYjjLXotX3KuWc4aexmXDc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ht-MD8PeSMSZ3NqpkfdHmtkxGEGmpxq6ogXC7Q_bQpM: created acme-client: https://127.0.0.1:14000/chalZ/Wcyh3pH7LF5XDEXpkqLh3zMGVMMEXkN3S_QA6SMdpPk: challenge acme-client: https://127.0.0.1:14000/chalZ/GmTpfwQ9GnSb0pC304Os71mOYdmk9ZlNvfKI7ou7ui0: challenge acme-client: https://127.0.0.1:14000/chalZ/W8k4vUYjoQ-vEiU9LcrxVdYjjLXotX3KuWc4aexmXDc: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/gcNjSQ87OrZklAwsd4Fb4ZP_Cd_Y3PAJilRAilbBS8k acme-client: challenge, token: RLdtXGgncnsLxEPKY6CEgDbsMv7wX3_BkBvC0TCw_Es, uri: https://127.0.0.1:14000/chalZ/Wcyh3pH7LF5XDEXpkqLh3zMGVMMEXkN3S_QA6SMdpPk, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Y8AGrDs3RaHT9h1ZSHlAFa-zTUrV0myey2pw7n1jHQ8 acme-client: challenge, token: wPIMBePX3X-UU3JfFAVqBFyDqXeH13ZfX8gic8as2w0, uri: https://127.0.0.1:14000/chalZ/GmTpfwQ9GnSb0pC304Os71mOYdmk9ZlNvfKI7ou7ui0, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/hT06Z5GVk31tvMVYMIN2vrbmiJQrvUzrRDC7LmNGHjk acme-client: challenge, token: ht-MD8PeSMSZ3NqpkfdHmtkxGEGmpxq6ogXC7Q_bQpM, uri: https://127.0.0.1:14000/chalZ/W8k4vUYjoQ-vEiU9LcrxVdYjjLXotX3KuWc4aexmXDc, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/uQPvoC1W1nODdA0I_rImM5lBUum0bCC7jcHIX7GMOmg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0a1c71bc38700ef8: 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/60ec01c7a9e1288f 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/60ec01c7a9e1288f acme-client: dochngreq: https://127.0.0.1:14000/authZ/pV6wDY4S6c-vssV0I1aXEcirhSYXEEoguShkfwwOSKE acme-client: challenge, token: vuhe0jaHmDl_Wz3d8bVgzK6JPmmpm1-udvOnxqIL2NE, uri: https://127.0.0.1:14000/chalZ/upb1QOLtd1zzCLTMvest6C-ggKtDt9CE9VisK39W_3U, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/vuhe0jaHmDl_Wz3d8bVgzK6JPmmpm1-udvOnxqIL2NE: created acme-client: https://127.0.0.1:14000/chalZ/upb1QOLtd1zzCLTMvest6C-ggKtDt9CE9VisK39W_3U: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/pV6wDY4S6c-vssV0I1aXEcirhSYXEEoguShkfwwOSKE acme-client: challenge, token: vuhe0jaHmDl_Wz3d8bVgzK6JPmmpm1-udvOnxqIL2NE, uri: https://127.0.0.1:14000/chalZ/upb1QOLtd1zzCLTMvest6C-ggKtDt9CE9VisK39W_3U, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Jt-tj0hgekZwXgcFCsRMEHwNlGypGmDqlUIKIbSuGKE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/27652151da23614a: 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/60ec01c7a9e1288f 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/5d5c2b8afcbfed5b acme-client: dochngreq: https://127.0.0.1:14001/authZ/jb-i1jwApGQIP8taueYS8d7_4RO50mxoNwtTL812m0c acme-client: challenge, token: k5nrNr0oAKYrezLmj9xLKnyIWteL9P4zMpM_TG8HT2M, uri: https://127.0.0.1:14001/chalZ/iVbQNtsmdTJFdA1AUucw5QGPIBT1NegK90n-jL90Rm0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/k5nrNr0oAKYrezLmj9xLKnyIWteL9P4zMpM_TG8HT2M: created acme-client: https://127.0.0.1:14001/chalZ/iVbQNtsmdTJFdA1AUucw5QGPIBT1NegK90n-jL90Rm0: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/jb-i1jwApGQIP8taueYS8d7_4RO50mxoNwtTL812m0c acme-client: challenge, token: k5nrNr0oAKYrezLmj9xLKnyIWteL9P4zMpM_TG8HT2M, uri: https://127.0.0.1:14001/chalZ/iVbQNtsmdTJFdA1AUucw5QGPIBT1NegK90n-jL90Rm0, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/SwqPlKEdFkaR3mW-baA5elV6RApRBQ4oLdXYbCAtBvA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/299633a43cfd152b: certificate account key: https://127.0.0.1:14001/my-account/5d5c2b8afcbfed5b 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"