==== 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" 18160 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/275f12de7bf34801 acme-client: dochngreq: https://127.0.0.1:14000/authZ/qA5cZeowiul_dD86_2sW6MdgTez7O-OZTLsC-heQ7Mw acme-client: challenge, token: 2AkIKwbx27Vi8WHSFhQsm_hu0VovQJaZBxQIBuC-oYk, uri: https://127.0.0.1:14000/chalZ/SK2zgf6XNMwzB0yjCDuSwmZCVkUuGkPd8DIvJ5qSfWU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/2AkIKwbx27Vi8WHSFhQsm_hu0VovQJaZBxQIBuC-oYk: created acme-client: https://127.0.0.1:14000/chalZ/SK2zgf6XNMwzB0yjCDuSwmZCVkUuGkPd8DIvJ5qSfWU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/qA5cZeowiul_dD86_2sW6MdgTez7O-OZTLsC-heQ7Mw acme-client: challenge, token: 2AkIKwbx27Vi8WHSFhQsm_hu0VovQJaZBxQIBuC-oYk, uri: https://127.0.0.1:14000/chalZ/SK2zgf6XNMwzB0yjCDuSwmZCVkUuGkPd8DIvJ5qSfWU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/LebtWFchVjqGM72WadwROYLcJgU0Vy47bGc-v1o_Ly0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/337204490319547e: certificate acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: created account key: https://127.0.0.1:14000/my-account/275f12de7bf34801 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/275f12de7bf34801 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/275f12de7bf34801 acme-client: https://127.0.0.1:14000/finalize-order/TOusox6f3Iili7zt3Wm4o6QX5AP7Efflks2Hh_CiB94: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0436a5e5e5edfeab: 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/275f12de7bf34801 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/275f12de7bf34801 acme-client: dochngreq: https://127.0.0.1:14000/authZ/_gBJtJQal6Wh7sdOntMxC8fTT-vfz0qw28Xe2KQBhj8 acme-client: challenge, token: __btLuFg_BjQIPXknYnT0vi1Fn8KWm2usv5E_-TVBTw, uri: https://127.0.0.1:14000/chalZ/dvMdpgNcCWrW3enJsfUwnDjJ01ZHp1dFR4RVJbIe0bE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/__btLuFg_BjQIPXknYnT0vi1Fn8KWm2usv5E_-TVBTw: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/vILoALWhV3YTBqU5NkKxKDUZ3JQezwCTtjluJ5f63O0 acme-client: challenge, token: 9do-RXbJaI7ScH7PdbgSpRJinWErGorlEcFe1U2hhxs, uri: https://127.0.0.1:14000/chalZ/9fmDUD_th_RxitUiA2pR1ygCn3A5bEYg0s3aNnvNpVQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/9do-RXbJaI7ScH7PdbgSpRJinWErGorlEcFe1U2hhxs: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/jjjePw1xAPtoj0jdcremoWjPR1CU_DIhDU4s8DkwsTY acme-client: challenge, token: UItxX85VQbYVpaI8U0j_Tt9gb5JZ24nttypZfqfyu7o, uri: https://127.0.0.1:14000/chalZ/UERWL2Mb5b2zfWqDXJZB5qIBM8SUnjJNUcIUGwpWVRk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/UItxX85VQbYVpaI8U0j_Tt9gb5JZ24nttypZfqfyu7o: created acme-client: https://127.0.0.1:14000/chalZ/dvMdpgNcCWrW3enJsfUwnDjJ01ZHp1dFR4RVJbIe0bE: challenge acme-client: https://127.0.0.1:14000/chalZ/9fmDUD_th_RxitUiA2pR1ygCn3A5bEYg0s3aNnvNpVQ: challenge acme-client: https://127.0.0.1:14000/chalZ/UERWL2Mb5b2zfWqDXJZB5qIBM8SUnjJNUcIUGwpWVRk: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/_gBJtJQal6Wh7sdOntMxC8fTT-vfz0qw28Xe2KQBhj8 acme-client: challenge, token: __btLuFg_BjQIPXknYnT0vi1Fn8KWm2usv5E_-TVBTw, uri: https://127.0.0.1:14000/chalZ/dvMdpgNcCWrW3enJsfUwnDjJ01ZHp1dFR4RVJbIe0bE, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/vILoALWhV3YTBqU5NkKxKDUZ3JQezwCTtjluJ5f63O0 acme-client: challenge, token: 9do-RXbJaI7ScH7PdbgSpRJinWErGorlEcFe1U2hhxs, uri: https://127.0.0.1:14000/chalZ/9fmDUD_th_RxitUiA2pR1ygCn3A5bEYg0s3aNnvNpVQ, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/jjjePw1xAPtoj0jdcremoWjPR1CU_DIhDU4s8DkwsTY acme-client: challenge, token: UItxX85VQbYVpaI8U0j_Tt9gb5JZ24nttypZfqfyu7o, uri: https://127.0.0.1:14000/chalZ/UERWL2Mb5b2zfWqDXJZB5qIBM8SUnjJNUcIUGwpWVRk, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/EnVB4spohNuvPo8heOk1Ql9qZUTQ_8Y5U-7oeC9_Pmo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2c8ca844a9c1d29a: 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/275f12de7bf34801 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/275f12de7bf34801 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Kp6567WzS2NR22sVnanXU9nZXmdLEsSThNJbT2QDtv8 acme-client: challenge, token: a4ABknPW-zapiD645XDbG8M3qFP6uZT89I1zCrso3zc, uri: https://127.0.0.1:14000/chalZ/uwyf4AQBIc_xNxnUZmMUvmV_XTUe-Nq9tOVztGz6IDI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/a4ABknPW-zapiD645XDbG8M3qFP6uZT89I1zCrso3zc: created acme-client: https://127.0.0.1:14000/chalZ/uwyf4AQBIc_xNxnUZmMUvmV_XTUe-Nq9tOVztGz6IDI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Kp6567WzS2NR22sVnanXU9nZXmdLEsSThNJbT2QDtv8 acme-client: challenge, token: a4ABknPW-zapiD645XDbG8M3qFP6uZT89I1zCrso3zc, uri: https://127.0.0.1:14000/chalZ/uwyf4AQBIc_xNxnUZmMUvmV_XTUe-Nq9tOVztGz6IDI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/RQYNkDBmIs3IsYeG2qDYdFbLpktx1Fd567eozl3dHYY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4bc888b66d48d5f6: 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/275f12de7bf34801 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-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"