==== 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" 51609 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/197da9974d854382 acme-client: dochngreq: https://127.0.0.1:14000/authZ/_hjp9nP2oA8vidJISjfZ1-XNvIiodtQcPtJzphe4WK4 acme-client: challenge, token: M4INL7r1pRTeVdaYpaP02hFv--mzhVrwoMsgvMV84Ew, uri: https://127.0.0.1:14000/chalZ/ArN_7rc6dPMPzwI45oI-ksqcEhhf9aj-CddQf3njDbc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/M4INL7r1pRTeVdaYpaP02hFv--mzhVrwoMsgvMV84Ew: created acme-client: https://127.0.0.1:14000/chalZ/ArN_7rc6dPMPzwI45oI-ksqcEhhf9aj-CddQf3njDbc: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/_hjp9nP2oA8vidJISjfZ1-XNvIiodtQcPtJzphe4WK4 acme-client: challenge, token: M4INL7r1pRTeVdaYpaP02hFv--mzhVrwoMsgvMV84Ew, uri: https://127.0.0.1:14000/chalZ/ArN_7rc6dPMPzwI45oI-ksqcEhhf9aj-CddQf3njDbc, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/3wFzuWdUGi3dYFRbRKsDWxigqB9cK7m9FYuTztAB5eI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/62f93b71832a421f: certificate account key: https://127.0.0.1:14000/my-account/197da9974d854382 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/197da9974d854382 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/197da9974d854382 acme-client: dochngreq: https://127.0.0.1:14000/authZ/okzWb8IguuBFoJyYwIQXTjW_vu6-OrjZ7fey1wwhC6I acme-client: challenge, token: dYKJ3LJK1VQXHLOmDvIFZykhH7b_2HNST6KZVwN7nhM, uri: https://127.0.0.1:14000/chalZ/X76gYgXoFarIMo7VYD0RHGCEE8TPstWANflyn4IFhb4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/dYKJ3LJK1VQXHLOmDvIFZykhH7b_2HNST6KZVwN7nhM: created acme-client: https://127.0.0.1:14000/chalZ/X76gYgXoFarIMo7VYD0RHGCEE8TPstWANflyn4IFhb4: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/okzWb8IguuBFoJyYwIQXTjW_vu6-OrjZ7fey1wwhC6I acme-client: challenge, token: dYKJ3LJK1VQXHLOmDvIFZykhH7b_2HNST6KZVwN7nhM, uri: https://127.0.0.1:14000/chalZ/X76gYgXoFarIMo7VYD0RHGCEE8TPstWANflyn4IFhb4, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/hRLwKjutHT_0AIza9Peun823G6SBIlWQoFVI9GE652c: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1e8495b689b13bed: 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/197da9974d854382 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/197da9974d854382 acme-client: dochngreq: https://127.0.0.1:14000/authZ/9UAzSsn-GeS_IKvoMp2-2Uh8oKJ02CwPQWqXjvGrcHU acme-client: challenge, token: ff6Bnk2nPxVJb9CCZwtA1fHbAq0J41LXOb0YS_vxOlw, uri: https://127.0.0.1:14000/chalZ/xIx1E1xx0Km3qB5U_V8f-1p39yMcxgPHsQb7kIuVF4U, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ff6Bnk2nPxVJb9CCZwtA1fHbAq0J41LXOb0YS_vxOlw: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/TPvfVgZLekhneOeXuO7ckZSY7-b-AkWgZi_C-1bUoVM acme-client: challenge, token: UjcaL0g0o9-LJWpJPsStZwOFFirPnsNJHmgjIHHu3-c, uri: https://127.0.0.1:14000/chalZ/NIk_tBcuNztOd5BxK8tW15bp_KWQVUXVg5kXwuHUwJ8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/UjcaL0g0o9-LJWpJPsStZwOFFirPnsNJHmgjIHHu3-c: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/VOci0t6wNlhHJWu3iEDRt7D81NZT4kkuNcbQofGcYdc acme-client: challenge, token: KyicZmVDthALKTu-y4ZZOMsCIBXx5K9xxvMC522tC2A, uri: https://127.0.0.1:14000/chalZ/A7KEqyXwUm4VMR7VvSLKilLb4G1SJvxTCW1mO6pjEmM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/KyicZmVDthALKTu-y4ZZOMsCIBXx5K9xxvMC522tC2A: created acme-client: https://127.0.0.1:14000/chalZ/xIx1E1xx0Km3qB5U_V8f-1p39yMcxgPHsQb7kIuVF4U: challenge acme-client: https://127.0.0.1:14000/chalZ/NIk_tBcuNztOd5BxK8tW15bp_KWQVUXVg5kXwuHUwJ8: challenge acme-client: https://127.0.0.1:14000/chalZ/A7KEqyXwUm4VMR7VvSLKilLb4G1SJvxTCW1mO6pjEmM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/9UAzSsn-GeS_IKvoMp2-2Uh8oKJ02CwPQWqXjvGrcHU acme-client: challenge, token: ff6Bnk2nPxVJb9CCZwtA1fHbAq0J41LXOb0YS_vxOlw, uri: https://127.0.0.1:14000/chalZ/xIx1E1xx0Km3qB5U_V8f-1p39yMcxgPHsQb7kIuVF4U, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/TPvfVgZLekhneOeXuO7ckZSY7-b-AkWgZi_C-1bUoVM acme-client: challenge, token: UjcaL0g0o9-LJWpJPsStZwOFFirPnsNJHmgjIHHu3-c, uri: https://127.0.0.1:14000/chalZ/NIk_tBcuNztOd5BxK8tW15bp_KWQVUXVg5kXwuHUwJ8, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/VOci0t6wNlhHJWu3iEDRt7D81NZT4kkuNcbQofGcYdc acme-client: challenge, token: KyicZmVDthALKTu-y4ZZOMsCIBXx5K9xxvMC522tC2A, uri: https://127.0.0.1:14000/chalZ/A7KEqyXwUm4VMR7VvSLKilLb4G1SJvxTCW1mO6pjEmM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/5XGJSKl_FIkqOxDOP1dYvlBY8_q2p7nvmfFwtwqHOW0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3f311d485309b7c4: 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/197da9974d854382 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/197da9974d854382 acme-client: https://127.0.0.1:14000/finalize-order/bnIGAQSCxxUKV_5rHMAXLjZkVSa_KBzN9C9bZHfd3Ks: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7bf55b7ebd9ee020: 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/197da9974d854382 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/3ef04e48499b3d58 acme-client: dochngreq: https://127.0.0.1:14001/authZ/tzOGK0iKnja6OW_3mXZUgFOJZwmSt85UH-GD4Mf5FUg acme-client: challenge, token: eRAwPCBNbIEwoIqcZJGhH6xvt_FNnLgJc8IM-X7jWQ8, uri: https://127.0.0.1:14001/chalZ/i032crXnhVhqq0XH1-_pYodkMyHvmHNT2TDvifLNeFE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/eRAwPCBNbIEwoIqcZJGhH6xvt_FNnLgJc8IM-X7jWQ8: created acme-client: https://127.0.0.1:14001/chalZ/i032crXnhVhqq0XH1-_pYodkMyHvmHNT2TDvifLNeFE: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/tzOGK0iKnja6OW_3mXZUgFOJZwmSt85UH-GD4Mf5FUg acme-client: challenge, token: eRAwPCBNbIEwoIqcZJGhH6xvt_FNnLgJc8IM-X7jWQ8, uri: https://127.0.0.1:14001/chalZ/i032crXnhVhqq0XH1-_pYodkMyHvmHNT2TDvifLNeFE, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/S0sUqSED4ViV0_T1HMc6Qosxo8FJDowNh00Ikt1gAKU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/56110b16e578c68d: certificate account key: https://127.0.0.1:14001/my-account/3ef04e48499b3d58 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"