==== 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" 39863 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/95a51cf180fd078 acme-client: dochngreq: https://127.0.0.1:14000/authZ/886JqYyxDcSFQxkVtmJqP2NAe0ne0TpyXUYvGzCFzIM acme-client: challenge, token: LWurbghyEVSW1oIFrsLGo-BtWOVH0-s3B6RLok1LvEc, uri: https://127.0.0.1:14000/chalZ/S5Sd_qDkJy_UF0xypY3EV7G-83qe6v5zkyECZCLW-Cg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/LWurbghyEVSW1oIFrsLGo-BtWOVH0-s3B6RLok1LvEc: created acme-client: https://127.0.0.1:14000/chalZ/S5Sd_qDkJy_UF0xypY3EV7G-83qe6v5zkyECZCLW-Cg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/886JqYyxDcSFQxkVtmJqP2NAe0ne0TpyXUYvGzCFzIM acme-client: challenge, token: LWurbghyEVSW1oIFrsLGo-BtWOVH0-s3B6RLok1LvEc, uri: https://127.0.0.1:14000/chalZ/S5Sd_qDkJy_UF0xypY3EV7G-83qe6v5zkyECZCLW-Cg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/ToRsVl2pjvyAz79dv1eQPdq6qhBmzaD6L6kSBCu2I0M: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/77a45c79179d3d5a: certificate account key: https://127.0.0.1:14000/my-account/95a51cf180fd078 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/95a51cf180fd078 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/95a51cf180fd078 acme-client: https://127.0.0.1:14000/finalize-order/hI5MrEdONZjjOGNHrjGIbejWHlVfO-teNBrpqf4NCAM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0bdf605a13939bb0: 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/95a51cf180fd078 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/95a51cf180fd078 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7MQkSERTvWTWBg_m43ht3f738pkvb2l7EyS1-KPc2VA acme-client: challenge, token: 6PMvNfKAp1bqU2wu1f0diYVuf8qcGopZJlZcZfO7Uv0, uri: https://127.0.0.1:14000/chalZ/hcMcO3R_pE12DU2ak9dh5GZRl7ug4pc_ZSq_EIxIOrM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/6PMvNfKAp1bqU2wu1f0diYVuf8qcGopZJlZcZfO7Uv0: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/nrZ5sWEUUiK8izsXGeSD2k-6Z-hT6Q7_4ObQvT-wK9g acme-client: challenge, token: gtFjdVJ7d2HSXDgKtYDcOEc9pre55CdYMwleYi9MeaY, uri: https://127.0.0.1:14000/chalZ/4vzpqPsttvSU5oOOwPElcELe1o6SbGGw3UBnn1i7to0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/gtFjdVJ7d2HSXDgKtYDcOEc9pre55CdYMwleYi9MeaY: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/EX5Q_XYhATwYf3KqmWwDIiKuQLjKs_TJ-eRzDJD6J2U acme-client: challenge, token: Qnyd3adVyRKyVBF8HuI8df8-Wkg11xb0lNgJoYDqPp8, uri: https://127.0.0.1:14000/chalZ/oRtZ1qnWF75A2LJq1N0GIXg8-g7ZkHSoci8lkkGYT4I, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Qnyd3adVyRKyVBF8HuI8df8-Wkg11xb0lNgJoYDqPp8: created acme-client: https://127.0.0.1:14000/chalZ/hcMcO3R_pE12DU2ak9dh5GZRl7ug4pc_ZSq_EIxIOrM: challenge acme-client: https://127.0.0.1:14000/chalZ/4vzpqPsttvSU5oOOwPElcELe1o6SbGGw3UBnn1i7to0: challenge acme-client: https://127.0.0.1:14000/chalZ/oRtZ1qnWF75A2LJq1N0GIXg8-g7ZkHSoci8lkkGYT4I: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7MQkSERTvWTWBg_m43ht3f738pkvb2l7EyS1-KPc2VA acme-client: challenge, token: 6PMvNfKAp1bqU2wu1f0diYVuf8qcGopZJlZcZfO7Uv0, uri: https://127.0.0.1:14000/chalZ/hcMcO3R_pE12DU2ak9dh5GZRl7ug4pc_ZSq_EIxIOrM, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/nrZ5sWEUUiK8izsXGeSD2k-6Z-hT6Q7_4ObQvT-wK9g acme-client: challenge, token: gtFjdVJ7d2HSXDgKtYDcOEc9pre55CdYMwleYi9MeaY, uri: https://127.0.0.1:14000/chalZ/4vzpqPsttvSU5oOOwPElcELe1o6SbGGw3UBnn1i7to0, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/EX5Q_XYhATwYf3KqmWwDIiKuQLjKs_TJ-eRzDJD6J2U acme-client: challenge, token: Qnyd3adVyRKyVBF8HuI8df8-Wkg11xb0lNgJoYDqPp8, uri: https://127.0.0.1:14000/chalZ/oRtZ1qnWF75A2LJq1N0GIXg8-g7ZkHSoci8lkkGYT4I, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/gnAxwXaNK6EYezp04JgjtC9QYP365Ba1TFk0jpb3KTY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/055836ceac0ce934: 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/95a51cf180fd078 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/95a51cf180fd078 acme-client: https://127.0.0.1:14000/finalize-order/r2f881HOCixHrFGqCbXB4_VwxuKGPwmVuIYoDs4vMp4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/69dc7839dff6754e: 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/95a51cf180fd078 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"