==== 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" 56892 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/7b327f04520b081b acme-client: dochngreq: https://127.0.0.1:14000/authZ/t35N1lPCNMGvcQcWMZkHqiFNd08GQakl8o-u1M7tnh0 acme-client: challenge, token: UdozI13PfgJsQznDEmLFIeA_r1gE3Kl9e6PceTHn1Bc, uri: https://127.0.0.1:14000/chalZ/YwDgqUEWF6j7GwToEKhd3Als7Gnkgy-r1Q1ePb9Pm4I, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/UdozI13PfgJsQznDEmLFIeA_r1gE3Kl9e6PceTHn1Bc: created acme-client: https://127.0.0.1:14000/chalZ/YwDgqUEWF6j7GwToEKhd3Als7Gnkgy-r1Q1ePb9Pm4I: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/t35N1lPCNMGvcQcWMZkHqiFNd08GQakl8o-u1M7tnh0 acme-client: challenge, token: UdozI13PfgJsQznDEmLFIeA_r1gE3Kl9e6PceTHn1Bc, uri: https://127.0.0.1:14000/chalZ/YwDgqUEWF6j7GwToEKhd3Als7Gnkgy-r1Q1ePb9Pm4I, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/AN7eBpIa5HUFdvdbOJMRTz6mU6jqrxm1N1DWnJnV_xY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/61a225f0c45290dc: certificate account key: https://127.0.0.1:14000/my-account/7b327f04520b081b 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/7b327f04520b081b 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/7b327f04520b081b acme-client: dochngreq: https://127.0.0.1:14000/authZ/tzGrKkERD8DJq_NFaCGuF-DO3xodsmhoXiT8afa_fw0 acme-client: challenge, token: A8VEjahIEaP7QZwL8w0NY8IVTh_EeTIyEsExOU3V86c, uri: https://127.0.0.1:14000/chalZ/WT949q2aDDG0yMo-UvHdP78GXCVqGgxLEz1185Iz1IY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/A8VEjahIEaP7QZwL8w0NY8IVTh_EeTIyEsExOU3V86c: created acme-client: https://127.0.0.1:14000/chalZ/WT949q2aDDG0yMo-UvHdP78GXCVqGgxLEz1185Iz1IY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/tzGrKkERD8DJq_NFaCGuF-DO3xodsmhoXiT8afa_fw0 acme-client: challenge, token: A8VEjahIEaP7QZwL8w0NY8IVTh_EeTIyEsExOU3V86c, uri: https://127.0.0.1:14000/chalZ/WT949q2aDDG0yMo-UvHdP78GXCVqGgxLEz1185Iz1IY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/DwcCVUIyCNYm-47UzDMa1kg5vw9ajQztAPj7JDw_Kjc: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/64215a2482e0d061: 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/7b327f04520b081b 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/7b327f04520b081b acme-client: dochngreq: https://127.0.0.1:14000/authZ/7aGPnCQwLqqc1Zmd6zbOKLPu2HV2e0gBRCgoqwRprUk acme-client: challenge, token: ZqD-tX7FdqMxpVbz-20tIuYkQTBoikK3hITWteCvk0w, uri: https://127.0.0.1:14000/chalZ/emEpPbhR7vzjilL4b47ZJRCbY-oJ_X7Mo0ZIr8r65p4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ZqD-tX7FdqMxpVbz-20tIuYkQTBoikK3hITWteCvk0w: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/t35N1lPCNMGvcQcWMZkHqiFNd08GQakl8o-u1M7tnh0 acme-client: challenge, token: UdozI13PfgJsQznDEmLFIeA_r1gE3Kl9e6PceTHn1Bc, uri: https://127.0.0.1:14000/chalZ/YwDgqUEWF6j7GwToEKhd3Als7Gnkgy-r1Q1ePb9Pm4I, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/QeTsFMMPpWQhVOwitJg3nqxuSUXaqXugKoz2pUgZdgY acme-client: challenge, token: h-kqmdxzscrcAYq41C5ZuWTZvNGote4XPEM6sWcC-9Y, uri: https://127.0.0.1:14000/chalZ/AZqpsrq8n_vHIhd-LQOfVUQqs1Vb2YN7dZ7Y9Yjda0g, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/h-kqmdxzscrcAYq41C5ZuWTZvNGote4XPEM6sWcC-9Y: created acme-client: https://127.0.0.1:14000/chalZ/emEpPbhR7vzjilL4b47ZJRCbY-oJ_X7Mo0ZIr8r65p4: challenge acme-client: https://127.0.0.1:14000/chalZ/AZqpsrq8n_vHIhd-LQOfVUQqs1Vb2YN7dZ7Y9Yjda0g: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7aGPnCQwLqqc1Zmd6zbOKLPu2HV2e0gBRCgoqwRprUk acme-client: challenge, token: ZqD-tX7FdqMxpVbz-20tIuYkQTBoikK3hITWteCvk0w, uri: https://127.0.0.1:14000/chalZ/emEpPbhR7vzjilL4b47ZJRCbY-oJ_X7Mo0ZIr8r65p4, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/t35N1lPCNMGvcQcWMZkHqiFNd08GQakl8o-u1M7tnh0 acme-client: challenge, token: UdozI13PfgJsQznDEmLFIeA_r1gE3Kl9e6PceTHn1Bc, uri: https://127.0.0.1:14000/chalZ/YwDgqUEWF6j7GwToEKhd3Als7Gnkgy-r1Q1ePb9Pm4I, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/QeTsFMMPpWQhVOwitJg3nqxuSUXaqXugKoz2pUgZdgY acme-client: challenge, token: h-kqmdxzscrcAYq41C5ZuWTZvNGote4XPEM6sWcC-9Y, uri: https://127.0.0.1:14000/chalZ/AZqpsrq8n_vHIhd-LQOfVUQqs1Vb2YN7dZ7Y9Yjda0g, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/E6hP2CrpRqcTnj9ccJdJvwLzUiEc66cfg65f1BwM8jQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7f651ef445702cf0: 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/7b327f04520b081b 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/7b327f04520b081b acme-client: https://127.0.0.1:14000/finalize-order/62NGp7Tx6Mrc3H1HZa8cl_FwrR3jNZW9KZ8qL7tnbU0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/46f87097ed2ceefb: 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/7b327f04520b081b 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"