==== 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" 38158 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/2f14abfbd3a2f446 acme-client: dochngreq: https://127.0.0.1:14000/authZ/E9bbbna46SRXkOOxAAcZNi0-FNa-VN3DDBVHDVy8ssc acme-client: challenge, token: o67XhvNhe0uwEh2lR_H1hqE1z6m9lByLiNqCBszB2xs, uri: https://127.0.0.1:14000/chalZ/sKI6DX0TIKwr7g1tHdrZ31ik2Ms8aRTAR8lcVI3tTuM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/o67XhvNhe0uwEh2lR_H1hqE1z6m9lByLiNqCBszB2xs: created acme-client: https://127.0.0.1:14000/chalZ/sKI6DX0TIKwr7g1tHdrZ31ik2Ms8aRTAR8lcVI3tTuM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/E9bbbna46SRXkOOxAAcZNi0-FNa-VN3DDBVHDVy8ssc acme-client: challenge, token: o67XhvNhe0uwEh2lR_H1hqE1z6m9lByLiNqCBszB2xs, uri: https://127.0.0.1:14000/chalZ/sKI6DX0TIKwr7g1tHdrZ31ik2Ms8aRTAR8lcVI3tTuM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/zOpiSGp4SbN06HLQw2LVJTZY_8I81QvpwrO4dhBat6g: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/28fe3f736f97787b: certificate account key: https://127.0.0.1:14000/my-account/2f14abfbd3a2f446 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/2f14abfbd3a2f446 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/2f14abfbd3a2f446 acme-client: dochngreq: https://127.0.0.1:14000/authZ/89b-RgRzMocVm1Kc_hy2skEf6yE-omoGTH6sN_TQ0VM acme-client: challenge, token: lBXBeSduHhmTmPsGsAIYuE-xFEqXGKsTKs_k79afCSs, uri: https://127.0.0.1:14000/chalZ/3vqzkCxCcJ8oU8qgtnJ0t6wpFTNyobUUla2i3Qp7wjA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/lBXBeSduHhmTmPsGsAIYuE-xFEqXGKsTKs_k79afCSs: created acme-client: https://127.0.0.1:14000/chalZ/3vqzkCxCcJ8oU8qgtnJ0t6wpFTNyobUUla2i3Qp7wjA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/89b-RgRzMocVm1Kc_hy2skEf6yE-omoGTH6sN_TQ0VM acme-client: challenge, token: lBXBeSduHhmTmPsGsAIYuE-xFEqXGKsTKs_k79afCSs, uri: https://127.0.0.1:14000/chalZ/3vqzkCxCcJ8oU8qgtnJ0t6wpFTNyobUUla2i3Qp7wjA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/bpGNJGaGZjaCV-jtnZZCnXS10wtXDXt2NoU5GJLZ-Ek: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7e70a2b3cfafcd5a: 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/2f14abfbd3a2f446 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/2f14abfbd3a2f446 acme-client: dochngreq: https://127.0.0.1:14000/authZ/E9bbbna46SRXkOOxAAcZNi0-FNa-VN3DDBVHDVy8ssc acme-client: challenge, token: o67XhvNhe0uwEh2lR_H1hqE1z6m9lByLiNqCBszB2xs, uri: https://127.0.0.1:14000/chalZ/sKI6DX0TIKwr7g1tHdrZ31ik2Ms8aRTAR8lcVI3tTuM, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/im6Iu0v8DjzEj_b_RRezB4n9G-GOT6tFrEnv2XvQ0W4 acme-client: challenge, token: ab6Vqpn9rvC4ItBkouPLd8Prb8FyAk0ROngRQHRCgwQ, uri: https://127.0.0.1:14000/chalZ/byjTu8hsHbsjEY1pMNs7Kg7UUJUjVRdJLctiROGNTAY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ab6Vqpn9rvC4ItBkouPLd8Prb8FyAk0ROngRQHRCgwQ: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/K9s8o0lEL4u7wwi63SHrkKwS-3yh9jCkaLl7AcTrYic acme-client: challenge, token: fymBzgYDnATIPE-PhAPmfCuMvqDb3ZkI8dlPmD0CF70, uri: https://127.0.0.1:14000/chalZ/YOiSlFBZy8HD0SoPDvywm8nHAnzgbwuKOliHxMzUyU8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/fymBzgYDnATIPE-PhAPmfCuMvqDb3ZkI8dlPmD0CF70: created acme-client: https://127.0.0.1:14000/chalZ/byjTu8hsHbsjEY1pMNs7Kg7UUJUjVRdJLctiROGNTAY: challenge acme-client: https://127.0.0.1:14000/chalZ/YOiSlFBZy8HD0SoPDvywm8nHAnzgbwuKOliHxMzUyU8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/E9bbbna46SRXkOOxAAcZNi0-FNa-VN3DDBVHDVy8ssc acme-client: challenge, token: o67XhvNhe0uwEh2lR_H1hqE1z6m9lByLiNqCBszB2xs, uri: https://127.0.0.1:14000/chalZ/sKI6DX0TIKwr7g1tHdrZ31ik2Ms8aRTAR8lcVI3tTuM, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/im6Iu0v8DjzEj_b_RRezB4n9G-GOT6tFrEnv2XvQ0W4 acme-client: challenge, token: ab6Vqpn9rvC4ItBkouPLd8Prb8FyAk0ROngRQHRCgwQ, uri: https://127.0.0.1:14000/chalZ/byjTu8hsHbsjEY1pMNs7Kg7UUJUjVRdJLctiROGNTAY, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/K9s8o0lEL4u7wwi63SHrkKwS-3yh9jCkaLl7AcTrYic acme-client: challenge, token: fymBzgYDnATIPE-PhAPmfCuMvqDb3ZkI8dlPmD0CF70, uri: https://127.0.0.1:14000/chalZ/YOiSlFBZy8HD0SoPDvywm8nHAnzgbwuKOliHxMzUyU8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/oeN48-DIz9rM3aMg2n9gJ2Ddcj2Vnes3SMwNDcn_T9Q: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/11b914d102821a59: 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/2f14abfbd3a2f446 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/2f14abfbd3a2f446 acme-client: https://127.0.0.1:14000/finalize-order/F-7Pww2p5ueDQc2ec0xNtq_o8ivHLPXmQqcBBjPa6hg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6e7f38668976b469: 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/2f14abfbd3a2f446 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/7abbfa326a566d9d acme-client: dochngreq: https://127.0.0.1:14001/authZ/paqL3sgUp1sE8eMLzt6e125aXsjVn17X9a8dSlGlvIA acme-client: challenge, token: kG_s3VqAEtUOrL-ryRDYLuTx6pByMLGBRBbK1x_HDb0, uri: https://127.0.0.1:14001/chalZ/CHr7Lqr5Juwt0DcuIMW2hVYfNdl4aNYPlwMWJ7MOa30, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/kG_s3VqAEtUOrL-ryRDYLuTx6pByMLGBRBbK1x_HDb0: created acme-client: https://127.0.0.1:14001/chalZ/CHr7Lqr5Juwt0DcuIMW2hVYfNdl4aNYPlwMWJ7MOa30: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/paqL3sgUp1sE8eMLzt6e125aXsjVn17X9a8dSlGlvIA acme-client: challenge, token: kG_s3VqAEtUOrL-ryRDYLuTx6pByMLGBRBbK1x_HDb0, uri: https://127.0.0.1:14001/chalZ/CHr7Lqr5Juwt0DcuIMW2hVYfNdl4aNYPlwMWJ7MOa30, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/eGwT_03393-NQmEO74Otd895Vtqr04BeaxKrPR9jb0Q: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/7657468f2b834c5a: certificate account key: https://127.0.0.1:14001/my-account/7abbfa326a566d9d 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"