==== 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" 75604 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/7e21f33904661efd acme-client: dochngreq: https://127.0.0.1:14000/authZ/VZ6AYL3QtbuwQGZWRkb3feavGSTUv5LkuJNgv2-dQ3o acme-client: challenge, token: TWZKzxV6sdkRYbD_jo8rZxZ2h-3wOzYWdhj0Xmhp-Vc, uri: https://127.0.0.1:14000/chalZ/-dqyeCRCT45g9IRQeL8a6qI1JaFYSHH6AhdWeOEYlHA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/TWZKzxV6sdkRYbD_jo8rZxZ2h-3wOzYWdhj0Xmhp-Vc: created acme-client: https://127.0.0.1:14000/chalZ/-dqyeCRCT45g9IRQeL8a6qI1JaFYSHH6AhdWeOEYlHA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/VZ6AYL3QtbuwQGZWRkb3feavGSTUv5LkuJNgv2-dQ3o acme-client: challenge, token: TWZKzxV6sdkRYbD_jo8rZxZ2h-3wOzYWdhj0Xmhp-Vc, uri: https://127.0.0.1:14000/chalZ/-dqyeCRCT45g9IRQeL8a6qI1JaFYSHH6AhdWeOEYlHA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Fut_ufsJHzLigBbbwiWTV87glTVD5HNha5vpEOGyWJ8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/097e73ca52249eb2: 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/7e21f33904661efd 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/7e21f33904661efd 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/7e21f33904661efd acme-client: dochngreq: https://127.0.0.1:14000/authZ/BRZuj66qTEzL9F0ij4PZdJvp65NH1SLciZUh93J7Ry8 acme-client: challenge, token: L0sK0jM4Ej9OGywWa0E9heY1IiIr60rp9tPJj6wTwWM, uri: https://127.0.0.1:14000/chalZ/eVYcrGvbC1kVC6d5Ma7uAYEpxpGTV4x4ucUnmIgNfJ0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/L0sK0jM4Ej9OGywWa0E9heY1IiIr60rp9tPJj6wTwWM: created acme-client: https://127.0.0.1:14000/chalZ/eVYcrGvbC1kVC6d5Ma7uAYEpxpGTV4x4ucUnmIgNfJ0: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/BRZuj66qTEzL9F0ij4PZdJvp65NH1SLciZUh93J7Ry8 acme-client: challenge, token: L0sK0jM4Ej9OGywWa0E9heY1IiIr60rp9tPJj6wTwWM, uri: https://127.0.0.1:14000/chalZ/eVYcrGvbC1kVC6d5Ma7uAYEpxpGTV4x4ucUnmIgNfJ0, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Be84Ua21-bsSOlXWbybXUWD1WbMVN3J6UVPtbvp_7VY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/652e481dbe0dcdac: 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/7e21f33904661efd 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/7e21f33904661efd acme-client: dochngreq: https://127.0.0.1:14000/authZ/VZ6AYL3QtbuwQGZWRkb3feavGSTUv5LkuJNgv2-dQ3o acme-client: challenge, token: TWZKzxV6sdkRYbD_jo8rZxZ2h-3wOzYWdhj0Xmhp-Vc, uri: https://127.0.0.1:14000/chalZ/-dqyeCRCT45g9IRQeL8a6qI1JaFYSHH6AhdWeOEYlHA, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/BqyiHi8-OUm-lW88FQW9fv_uw-G_HDJb7JvcI0aDnWM acme-client: challenge, token: 90Rx5t7ccl9ttoFboAFEmU_fyV_YON6BFDd21n70oXg, uri: https://127.0.0.1:14000/chalZ/5nG3hMJxBi-vOdwk9xXpB6Hy3jiDeAWiWmKw0xc2n1g, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/90Rx5t7ccl9ttoFboAFEmU_fyV_YON6BFDd21n70oXg: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/dS5q4u04MSef4riwxwKONzVy7bOIyILBHM14gvHSrEA acme-client: challenge, token: HSagA9fHxSCCGOlIz_VSbo7tE8zfwUpx-inhwBI6l-Y, uri: https://127.0.0.1:14000/chalZ/EznuK4MpYvBlN3aEBO06bZbyDFzuR5RhHNVjtaQwkwU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/HSagA9fHxSCCGOlIz_VSbo7tE8zfwUpx-inhwBI6l-Y: created acme-client: https://127.0.0.1:14000/chalZ/5nG3hMJxBi-vOdwk9xXpB6Hy3jiDeAWiWmKw0xc2n1g: challenge acme-client: https://127.0.0.1:14000/chalZ/EznuK4MpYvBlN3aEBO06bZbyDFzuR5RhHNVjtaQwkwU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/VZ6AYL3QtbuwQGZWRkb3feavGSTUv5LkuJNgv2-dQ3o acme-client: challenge, token: TWZKzxV6sdkRYbD_jo8rZxZ2h-3wOzYWdhj0Xmhp-Vc, uri: https://127.0.0.1:14000/chalZ/-dqyeCRCT45g9IRQeL8a6qI1JaFYSHH6AhdWeOEYlHA, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/BqyiHi8-OUm-lW88FQW9fv_uw-G_HDJb7JvcI0aDnWM acme-client: challenge, token: 90Rx5t7ccl9ttoFboAFEmU_fyV_YON6BFDd21n70oXg, uri: https://127.0.0.1:14000/chalZ/5nG3hMJxBi-vOdwk9xXpB6Hy3jiDeAWiWmKw0xc2n1g, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/dS5q4u04MSef4riwxwKONzVy7bOIyILBHM14gvHSrEA acme-client: challenge, token: HSagA9fHxSCCGOlIz_VSbo7tE8zfwUpx-inhwBI6l-Y, uri: https://127.0.0.1:14000/chalZ/EznuK4MpYvBlN3aEBO06bZbyDFzuR5RhHNVjtaQwkwU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/btdc753uxH01rafkyyNFoZanGzDWfzuNs_KoxooT51A: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7f78a185598c6023: 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/7e21f33904661efd 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/7e21f33904661efd acme-client: dochngreq: https://127.0.0.1:14000/authZ/PJ5nOBMkLugF0DXAp7VAj4T1D4S79e3OBzQc6Yn3gII acme-client: challenge, token: KP3-QLgpmp6UlgT9ztbKDL0c1-V2Q7WDnnYW97TQ1Ng, uri: https://127.0.0.1:14000/chalZ/Ucua-pVtaFiABnxMHUqIWCBD8BGDykVI4mv1FE9UZPo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/KP3-QLgpmp6UlgT9ztbKDL0c1-V2Q7WDnnYW97TQ1Ng: created acme-client: https://127.0.0.1:14000/chalZ/Ucua-pVtaFiABnxMHUqIWCBD8BGDykVI4mv1FE9UZPo: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/PJ5nOBMkLugF0DXAp7VAj4T1D4S79e3OBzQc6Yn3gII acme-client: challenge, token: KP3-QLgpmp6UlgT9ztbKDL0c1-V2Q7WDnnYW97TQ1Ng, uri: https://127.0.0.1:14000/chalZ/Ucua-pVtaFiABnxMHUqIWCBD8BGDykVI4mv1FE9UZPo, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Tn5fDBiVMH-3_oy2PhOi0dNgs9zczzQE60Rm851_Doo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0e9c4a4cadb8f195: 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/7e21f33904661efd 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"