==== 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" 24797 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 fgrep: /home/src/regress/usr.sbin/acme-client/obj/pebble.out: No such file or directory 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/fd8ee666b7fa41e acme-client: dochngreq: https://127.0.0.1:14000/authZ/tPLgMEB43hlxMnRCght4dWIQTC2a7FSSebIC7awE7uA acme-client: challenge, token: bm85HS1pR3n28UOt2aYgp1-DuEvkpg55RZkfNwwx_GY, uri: https://127.0.0.1:14000/chalZ/EuH7_E7qooK2PqP-C6LUKUUxF-oQo5pzQVruoGXDjkE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/bm85HS1pR3n28UOt2aYgp1-DuEvkpg55RZkfNwwx_GY: created acme-client: https://127.0.0.1:14000/chalZ/EuH7_E7qooK2PqP-C6LUKUUxF-oQo5pzQVruoGXDjkE: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/tPLgMEB43hlxMnRCght4dWIQTC2a7FSSebIC7awE7uA acme-client: challenge, token: bm85HS1pR3n28UOt2aYgp1-DuEvkpg55RZkfNwwx_GY, uri: https://127.0.0.1:14000/chalZ/EuH7_E7qooK2PqP-C6LUKUUxF-oQo5pzQVruoGXDjkE, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/w1ldbOPE3WRCEg2JojWWlfiNIXSG-0RG12VQdOAT4EE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0c153c24282ca4fe: certificate account key: https://127.0.0.1:14000/my-account/fd8ee666b7fa41e 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/fd8ee666b7fa41e 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/fd8ee666b7fa41e acme-client: dochngreq: https://127.0.0.1:14000/authZ/VUJAWcDhxUlRXAeZYeuT-OgJYcplgRBfMPSJxU2yvPw acme-client: challenge, token: JoWxOmZuZQEi68dINpsQKexsxmKdZw7od5kW70EuCX8, uri: https://127.0.0.1:14000/chalZ/11ePyFb209kaIGGM_8D8i6Y8kFtxuD2C8Qa3ZKkczzU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/JoWxOmZuZQEi68dINpsQKexsxmKdZw7od5kW70EuCX8: created acme-client: https://127.0.0.1:14000/chalZ/11ePyFb209kaIGGM_8D8i6Y8kFtxuD2C8Qa3ZKkczzU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/VUJAWcDhxUlRXAeZYeuT-OgJYcplgRBfMPSJxU2yvPw acme-client: challenge, token: JoWxOmZuZQEi68dINpsQKexsxmKdZw7od5kW70EuCX8, uri: https://127.0.0.1:14000/chalZ/11ePyFb209kaIGGM_8D8i6Y8kFtxuD2C8Qa3ZKkczzU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/ozJ1XnDe-yhIBGpaj5J0jFX1b-ov2kigf7kWJuVs0pQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/653f3463a4a8f85f: 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/fd8ee666b7fa41e 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/fd8ee666b7fa41e acme-client: dochngreq: https://127.0.0.1:14000/authZ/WHFpQsqfbvMkj6-c_FnrvzhDRXJHiMKGowTXybsjN3k acme-client: challenge, token: b2frp_VbvY6VDDa6XmQEgue17aC4xJMaEVdkS-QdPyI, uri: https://127.0.0.1:14000/chalZ/Nl39kQIBa-t-cEOc-0ybx4O2_JGShIJ2ueUodSnc4Vw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/b2frp_VbvY6VDDa6XmQEgue17aC4xJMaEVdkS-QdPyI: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/vb3J4Se25rAK9qmD-1P0HYczCdqOdqP-INHSPBwBj_w acme-client: challenge, token: IfUGdvLe8O9GcqO4rLOJFveap2_Ax-1emIutEGMRC2o, uri: https://127.0.0.1:14000/chalZ/L4xlDELkjezFS8Gdpyo4p0iE7Z-OrsSDM0pgppyRCmw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/IfUGdvLe8O9GcqO4rLOJFveap2_Ax-1emIutEGMRC2o: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/DiBAgfnOmgGsHo89SAm7cB8doPlaZPmIdeV6DxQ24CM acme-client: challenge, token: EJoyZHQ3G8H3e-PD5X4ydtaiCwXK_2PGzzfhKtRC7bE, uri: https://127.0.0.1:14000/chalZ/-Mjh0guQs-0eCnOrEttGf3UY1DIszOzzVF95mLCO9fg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/EJoyZHQ3G8H3e-PD5X4ydtaiCwXK_2PGzzfhKtRC7bE: created acme-client: https://127.0.0.1:14000/chalZ/Nl39kQIBa-t-cEOc-0ybx4O2_JGShIJ2ueUodSnc4Vw: challenge acme-client: https://127.0.0.1:14000/chalZ/L4xlDELkjezFS8Gdpyo4p0iE7Z-OrsSDM0pgppyRCmw: challenge acme-client: https://127.0.0.1:14000/chalZ/-Mjh0guQs-0eCnOrEttGf3UY1DIszOzzVF95mLCO9fg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/WHFpQsqfbvMkj6-c_FnrvzhDRXJHiMKGowTXybsjN3k acme-client: challenge, token: b2frp_VbvY6VDDa6XmQEgue17aC4xJMaEVdkS-QdPyI, uri: https://127.0.0.1:14000/chalZ/Nl39kQIBa-t-cEOc-0ybx4O2_JGShIJ2ueUodSnc4Vw, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/vb3J4Se25rAK9qmD-1P0HYczCdqOdqP-INHSPBwBj_w acme-client: challenge, token: IfUGdvLe8O9GcqO4rLOJFveap2_Ax-1emIutEGMRC2o, uri: https://127.0.0.1:14000/chalZ/L4xlDELkjezFS8Gdpyo4p0iE7Z-OrsSDM0pgppyRCmw, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/DiBAgfnOmgGsHo89SAm7cB8doPlaZPmIdeV6DxQ24CM acme-client: challenge, token: EJoyZHQ3G8H3e-PD5X4ydtaiCwXK_2PGzzfhKtRC7bE, uri: https://127.0.0.1:14000/chalZ/-Mjh0guQs-0eCnOrEttGf3UY1DIszOzzVF95mLCO9fg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/nr4rk_daJ9nR8M44-g18FfS4Tb9hHjU3Wib5nVcApMM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7261c174b4b4dcfb: 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/fd8ee666b7fa41e 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/fd8ee666b7fa41e acme-client: dochngreq: https://127.0.0.1:14000/authZ/G7X6aLw90vMTBNp_k3Pyukbj0roK_QgCdk6cv1FDK54 acme-client: challenge, token: VehbDXDF7LPYj18SOq1cVNmE8fr3sV0irGrO0PX4Bok, uri: https://127.0.0.1:14000/chalZ/em_FP3FkjAoab_F1HVUlI4ipjljzR79DRP9PewweHyQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/VehbDXDF7LPYj18SOq1cVNmE8fr3sV0irGrO0PX4Bok: created acme-client: https://127.0.0.1:14000/chalZ/em_FP3FkjAoab_F1HVUlI4ipjljzR79DRP9PewweHyQ: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/G7X6aLw90vMTBNp_k3Pyukbj0roK_QgCdk6cv1FDK54 acme-client: challenge, token: VehbDXDF7LPYj18SOq1cVNmE8fr3sV0irGrO0PX4Bok, uri: https://127.0.0.1:14000/chalZ/em_FP3FkjAoab_F1HVUlI4ipjljzR79DRP9PewweHyQ, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/hBzBIp8PZYMeaUepvWauvKw0Qw2TefleYC2SZWYkZ1Q: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/440fde76d02ce272: 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/fd8ee666b7fa41e 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/7f616ddff09ecc1e acme-client: dochngreq: https://127.0.0.1:14001/authZ/gbAcKfaFwvKiiTsqvQiuFvCxHGosMHFezv7vyoY1dto acme-client: challenge, token: -tBlZKKMnNFT48x9LNA_bL1dxWzW-EQew1E3udgyZFc, uri: https://127.0.0.1:14001/chalZ/KuQHy6e5fTbxCWATiVoczcMGf6cT8o1Rs8hEa0WzrK0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/-tBlZKKMnNFT48x9LNA_bL1dxWzW-EQew1E3udgyZFc: created acme-client: https://127.0.0.1:14001/chalZ/KuQHy6e5fTbxCWATiVoczcMGf6cT8o1Rs8hEa0WzrK0: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/gbAcKfaFwvKiiTsqvQiuFvCxHGosMHFezv7vyoY1dto acme-client: challenge, token: -tBlZKKMnNFT48x9LNA_bL1dxWzW-EQew1E3udgyZFc, uri: https://127.0.0.1:14001/chalZ/KuQHy6e5fTbxCWATiVoczcMGf6cT8o1Rs8hEa0WzrK0, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/mWXDyPT2Dx0OhoQVNMpCH0pf-UWig8p00MnO5Oq2jAc: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/0d598096f1b50f2b: certificate account key: https://127.0.0.1:14001/my-account/7f616ddff09ecc1e 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"