==== 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" 66034 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/4550a0aad5832444 acme-client: dochngreq: https://127.0.0.1:14000/authZ/K3Z-2b03o-CsAo9iTAipEZZQmwyme1vgtgbwrmciaCs acme-client: challenge, token: s1uC9eg-Ypw4lDKxR34AJz9vF-97aMZ4Y7eQsQOYja4, uri: https://127.0.0.1:14000/chalZ/sMSHBtn2RKEM3D-urOX_WnDzQKtUnZCuSw-GQPem9GI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/s1uC9eg-Ypw4lDKxR34AJz9vF-97aMZ4Y7eQsQOYja4: created acme-client: https://127.0.0.1:14000/chalZ/sMSHBtn2RKEM3D-urOX_WnDzQKtUnZCuSw-GQPem9GI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/K3Z-2b03o-CsAo9iTAipEZZQmwyme1vgtgbwrmciaCs acme-client: challenge, token: s1uC9eg-Ypw4lDKxR34AJz9vF-97aMZ4Y7eQsQOYja4, uri: https://127.0.0.1:14000/chalZ/sMSHBtn2RKEM3D-urOX_WnDzQKtUnZCuSw-GQPem9GI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/c666R2_OQcrdV-9y6d_Z6WIPkfzU_sT1zxoKPpL084s: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/241c51552921ce89: certificate account key: https://127.0.0.1:14000/my-account/4550a0aad5832444 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/4550a0aad5832444 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/4550a0aad5832444 acme-client: https://127.0.0.1:14000/finalize-order/A9in0Ce3A0QIp-hUsaeZmLKogKIfqsV4VFu4Uzsv_bQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7e6ff06fe3571e81: 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/4550a0aad5832444 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/4550a0aad5832444 acme-client: dochngreq: https://127.0.0.1:14000/authZ/QgMR2yqZTFvQasMBpFmFUInun4yiwq2JMlOLQMkYKHI acme-client: challenge, token: ics9gLCQTFYy9OdJQmWSILtdtXIZ6pxG5InEFX2TP70, uri: https://127.0.0.1:14000/chalZ/tdkJZwTIe5BOEDU8QAKr6jQPAQxr5BXqGEYktfrk19c, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ics9gLCQTFYy9OdJQmWSILtdtXIZ6pxG5InEFX2TP70: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/vSiDboEYQ8amZNiI7kSQn7-9osTlb2yKMHsrXOdP-Xo acme-client: challenge, token: MINP373hLh_BbfVOujycELnAvlUlGQ16Tb6-XMeLnDA, uri: https://127.0.0.1:14000/chalZ/9IwgUTA3u56pYP09nWuJX-_1Z_jelDo4cr3X94sP4PM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/MINP373hLh_BbfVOujycELnAvlUlGQ16Tb6-XMeLnDA: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/v3jXzX8sYvKhL4kxN3_H_2E1z359g_lB_jbouKGZFHU acme-client: challenge, token: JB3OoeltWAJOem9v3Y1AwDR2-Z7zwHvnETOjJotg82I, uri: https://127.0.0.1:14000/chalZ/nVRFGvXyhaXhRHLbNjc5lNX46_qY39oPPAk3dX5-Ntg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/JB3OoeltWAJOem9v3Y1AwDR2-Z7zwHvnETOjJotg82I: created acme-client: https://127.0.0.1:14000/chalZ/tdkJZwTIe5BOEDU8QAKr6jQPAQxr5BXqGEYktfrk19c: challenge acme-client: https://127.0.0.1:14000/chalZ/9IwgUTA3u56pYP09nWuJX-_1Z_jelDo4cr3X94sP4PM: challenge acme-client: https://127.0.0.1:14000/chalZ/nVRFGvXyhaXhRHLbNjc5lNX46_qY39oPPAk3dX5-Ntg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/QgMR2yqZTFvQasMBpFmFUInun4yiwq2JMlOLQMkYKHI acme-client: challenge, token: ics9gLCQTFYy9OdJQmWSILtdtXIZ6pxG5InEFX2TP70, uri: https://127.0.0.1:14000/chalZ/tdkJZwTIe5BOEDU8QAKr6jQPAQxr5BXqGEYktfrk19c, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/vSiDboEYQ8amZNiI7kSQn7-9osTlb2yKMHsrXOdP-Xo acme-client: challenge, token: MINP373hLh_BbfVOujycELnAvlUlGQ16Tb6-XMeLnDA, uri: https://127.0.0.1:14000/chalZ/9IwgUTA3u56pYP09nWuJX-_1Z_jelDo4cr3X94sP4PM, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/v3jXzX8sYvKhL4kxN3_H_2E1z359g_lB_jbouKGZFHU acme-client: challenge, token: JB3OoeltWAJOem9v3Y1AwDR2-Z7zwHvnETOjJotg82I, uri: https://127.0.0.1:14000/chalZ/nVRFGvXyhaXhRHLbNjc5lNX46_qY39oPPAk3dX5-Ntg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Sy6HTl6XS1o2DKTzsgokbBTgdQNbfi-pyJnqv02XlyA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3dab3082d80c4111: 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/4550a0aad5832444 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/4550a0aad5832444 acme-client: https://127.0.0.1:14000/finalize-order/P_y5Dr1z3CuqM5BttYwDfLpNQyjh4hzrg1lD3fRMr60: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7baff6ac9dc7d4b3: 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/4550a0aad5832444 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"