==== 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" 20391 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/67430e08f8d1af56 acme-client: dochngreq: https://127.0.0.1:14000/authZ/qzLqeid0iKBq6_1yEZ550kRiLIwnd-t4dHgXx4FtbYQ acme-client: challenge, token: 6H9gTWPC4I-k_zXCeJT-Om0f5dsBTAYZMSkEOQHTqZc, uri: https://127.0.0.1:14000/chalZ/v9dtoyMpCm1wTWKZ4L-a2o7i1C0NkZPDGVaNW-lF_m4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/6H9gTWPC4I-k_zXCeJT-Om0f5dsBTAYZMSkEOQHTqZc: created acme-client: https://127.0.0.1:14000/chalZ/v9dtoyMpCm1wTWKZ4L-a2o7i1C0NkZPDGVaNW-lF_m4: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/qzLqeid0iKBq6_1yEZ550kRiLIwnd-t4dHgXx4FtbYQ acme-client: challenge, token: 6H9gTWPC4I-k_zXCeJT-Om0f5dsBTAYZMSkEOQHTqZc, uri: https://127.0.0.1:14000/chalZ/v9dtoyMpCm1wTWKZ4L-a2o7i1C0NkZPDGVaNW-lF_m4, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/82dN8LL6fZ4Ql7R166cz6y99wscV7EddeSNOAxJeXv4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/10895e989787ad4b: certificate account key: https://127.0.0.1:14000/my-account/67430e08f8d1af56 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/67430e08f8d1af56 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/67430e08f8d1af56 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XNZUdGSD7QgwPWXF__SlY3zZ1t2c96X_kG4U0YOYJaU acme-client: challenge, token: s53rdHsCwCQWkjoAMQy9TqAVpRQX5ducDL9EDISvIb8, uri: https://127.0.0.1:14000/chalZ/91whFjsjEBof0dC-cPBrbjMx1u69jrRY0lURLdNW2sw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/s53rdHsCwCQWkjoAMQy9TqAVpRQX5ducDL9EDISvIb8: created acme-client: https://127.0.0.1:14000/chalZ/91whFjsjEBof0dC-cPBrbjMx1u69jrRY0lURLdNW2sw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XNZUdGSD7QgwPWXF__SlY3zZ1t2c96X_kG4U0YOYJaU acme-client: challenge, token: s53rdHsCwCQWkjoAMQy9TqAVpRQX5ducDL9EDISvIb8, uri: https://127.0.0.1:14000/chalZ/91whFjsjEBof0dC-cPBrbjMx1u69jrRY0lURLdNW2sw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/gOQ0lQwws0gGipd75zNi7B62dpq84YVQDlykRH-kLV4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/189e678cebad3200: 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/67430e08f8d1af56 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/67430e08f8d1af56 acme-client: dochngreq: https://127.0.0.1:14000/authZ/2SCRJhC3SIVXZhJlvf9CZ7cWL0_5IsNXuRN9YGiawpg acme-client: challenge, token: xQNiorlMzlbLapdp5bOWEucarp2HeqO-aayerV5yBnw, uri: https://127.0.0.1:14000/chalZ/SDpyljCT8DqQPlVU3Q09RHD67iPp_Z1IrsR2ZEBlnAA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/xQNiorlMzlbLapdp5bOWEucarp2HeqO-aayerV5yBnw: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/A5lBJO2AsNQJJyqgNLiUZDQzd5f4Wu2emdZ08zNNQKY acme-client: challenge, token: ftbxnPN7Lng4xPl_SQQRr9bZFIhUeXesg_0s0U3skTM, uri: https://127.0.0.1:14000/chalZ/hTv3UpH4HXsWLSA3UhxHXlB4ClHiNV6w5ylh0-RcbRg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ftbxnPN7Lng4xPl_SQQRr9bZFIhUeXesg_0s0U3skTM: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/mU2tCqSUaNEmSEdaw8sUaIpKNST5j8gI_ttb7swXPXE acme-client: challenge, token: dO-3grLgfJfE50uRgjkAeg74zo7q436iSPEUAq7BX7Q, uri: https://127.0.0.1:14000/chalZ/Jia3pHHPdjbouH1Lf8Z6N5PSk1Nv39HnFCTEZAuql8I, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/dO-3grLgfJfE50uRgjkAeg74zo7q436iSPEUAq7BX7Q: created acme-client: https://127.0.0.1:14000/chalZ/SDpyljCT8DqQPlVU3Q09RHD67iPp_Z1IrsR2ZEBlnAA: challenge acme-client: https://127.0.0.1:14000/chalZ/hTv3UpH4HXsWLSA3UhxHXlB4ClHiNV6w5ylh0-RcbRg: challenge acme-client: https://127.0.0.1:14000/chalZ/Jia3pHHPdjbouH1Lf8Z6N5PSk1Nv39HnFCTEZAuql8I: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/2SCRJhC3SIVXZhJlvf9CZ7cWL0_5IsNXuRN9YGiawpg acme-client: challenge, token: xQNiorlMzlbLapdp5bOWEucarp2HeqO-aayerV5yBnw, uri: https://127.0.0.1:14000/chalZ/SDpyljCT8DqQPlVU3Q09RHD67iPp_Z1IrsR2ZEBlnAA, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/A5lBJO2AsNQJJyqgNLiUZDQzd5f4Wu2emdZ08zNNQKY acme-client: challenge, token: ftbxnPN7Lng4xPl_SQQRr9bZFIhUeXesg_0s0U3skTM, uri: https://127.0.0.1:14000/chalZ/hTv3UpH4HXsWLSA3UhxHXlB4ClHiNV6w5ylh0-RcbRg, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/mU2tCqSUaNEmSEdaw8sUaIpKNST5j8gI_ttb7swXPXE acme-client: challenge, token: dO-3grLgfJfE50uRgjkAeg74zo7q436iSPEUAq7BX7Q, uri: https://127.0.0.1:14000/chalZ/Jia3pHHPdjbouH1Lf8Z6N5PSk1Nv39HnFCTEZAuql8I, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/QzD4mye0yx3pnR86-iNkyg2U0tzpg_qxmGd6ngQcW50: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/167768470634d22a: 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/67430e08f8d1af56 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/67430e08f8d1af56 acme-client: dochngreq: https://127.0.0.1:14000/authZ/dLw1DSqmqKXBfq4kwLeQZXd1JDYaC_YwcAoSvCJYsyI acme-client: challenge, token: 2NmLldUQONdgMTCRY-Q0UaQsJ0EtaWDhCA1oUlWZWf8, uri: https://127.0.0.1:14000/chalZ/BmAFHu_zYX4r-j1f0EPON0TFU_mat6xwuDyuDP2K5Ig, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/2NmLldUQONdgMTCRY-Q0UaQsJ0EtaWDhCA1oUlWZWf8: created acme-client: https://127.0.0.1:14000/chalZ/BmAFHu_zYX4r-j1f0EPON0TFU_mat6xwuDyuDP2K5Ig: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/dLw1DSqmqKXBfq4kwLeQZXd1JDYaC_YwcAoSvCJYsyI acme-client: challenge, token: 2NmLldUQONdgMTCRY-Q0UaQsJ0EtaWDhCA1oUlWZWf8, uri: https://127.0.0.1:14000/chalZ/BmAFHu_zYX4r-j1f0EPON0TFU_mat6xwuDyuDP2K5Ig, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/amn_CogqyAqiDd9SM3UNFuMqvRzLJhdBjd0rHr6BplU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/44f618f474029c3b: 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/67430e08f8d1af56 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"