==== 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" 36333 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/4e6a9bc9155aefa5 acme-client: dochngreq: https://127.0.0.1:14000/authZ/CA9grbr4Dq0qpPu7icd2E5E-q9cgPN5aWZMaXE1xDrQ acme-client: challenge, token: nB0t6y2iZtJOJ1PULYaP1PeVjngsVAu7aez61O1_y18, uri: https://127.0.0.1:14000/chalZ/ZaMBQJKc2MUIaqYp0AmFBghe26vZxAHE-fFBgib1u50, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/nB0t6y2iZtJOJ1PULYaP1PeVjngsVAu7aez61O1_y18: created acme-client: https://127.0.0.1:14000/chalZ/ZaMBQJKc2MUIaqYp0AmFBghe26vZxAHE-fFBgib1u50: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/CA9grbr4Dq0qpPu7icd2E5E-q9cgPN5aWZMaXE1xDrQ acme-client: challenge, token: nB0t6y2iZtJOJ1PULYaP1PeVjngsVAu7aez61O1_y18, uri: https://127.0.0.1:14000/chalZ/ZaMBQJKc2MUIaqYp0AmFBghe26vZxAHE-fFBgib1u50, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/fYzyC15_KEsy3Sp8RXviYH24mETsgWqQVQZhCEoxhdM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0166e83695c2fe4e: certificate account key: https://127.0.0.1:14000/my-account/4e6a9bc9155aefa5 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/4e6a9bc9155aefa5 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/4e6a9bc9155aefa5 acme-client: https://127.0.0.1:14000/finalize-order/E243jCM1EI-jGIiAKAetYwv54NBKzILQXjReFGZbqzQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/078f069b526e5b3a: 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/4e6a9bc9155aefa5 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/4e6a9bc9155aefa5 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Nu8mRMadjbBhpDPGNTLLI4x-DJ6-e15tXyDy3zn8mhk acme-client: challenge, token: Y4tcVG33O7BSbIYZxrIeZhhw9_srRKz52x4pooXBPNo, uri: https://127.0.0.1:14000/chalZ/pXcVX__lSxP2yf_qn3d6eK3Ze3NXaieJOpYhfcCy9qE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Y4tcVG33O7BSbIYZxrIeZhhw9_srRKz52x4pooXBPNo: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/CA9grbr4Dq0qpPu7icd2E5E-q9cgPN5aWZMaXE1xDrQ acme-client: challenge, token: nB0t6y2iZtJOJ1PULYaP1PeVjngsVAu7aez61O1_y18, uri: https://127.0.0.1:14000/chalZ/ZaMBQJKc2MUIaqYp0AmFBghe26vZxAHE-fFBgib1u50, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/DMgss2AIp_o0Wv-hhoh3gUzASL82TFn7iW6Nn15budM acme-client: challenge, token: CiTyjtwtuJS-Oyu4lwZbRbjkO0pyEFQhFDJTRe0-rf0, uri: https://127.0.0.1:14000/chalZ/TifkJ99IOteoDpC5d62kWm_VwwVzOZbDVreZTv7luVs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/CiTyjtwtuJS-Oyu4lwZbRbjkO0pyEFQhFDJTRe0-rf0: created acme-client: https://127.0.0.1:14000/chalZ/pXcVX__lSxP2yf_qn3d6eK3Ze3NXaieJOpYhfcCy9qE: challenge acme-client: https://127.0.0.1:14000/chalZ/TifkJ99IOteoDpC5d62kWm_VwwVzOZbDVreZTv7luVs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Nu8mRMadjbBhpDPGNTLLI4x-DJ6-e15tXyDy3zn8mhk acme-client: challenge, token: Y4tcVG33O7BSbIYZxrIeZhhw9_srRKz52x4pooXBPNo, uri: https://127.0.0.1:14000/chalZ/pXcVX__lSxP2yf_qn3d6eK3Ze3NXaieJOpYhfcCy9qE, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/CA9grbr4Dq0qpPu7icd2E5E-q9cgPN5aWZMaXE1xDrQ acme-client: challenge, token: nB0t6y2iZtJOJ1PULYaP1PeVjngsVAu7aez61O1_y18, uri: https://127.0.0.1:14000/chalZ/ZaMBQJKc2MUIaqYp0AmFBghe26vZxAHE-fFBgib1u50, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/DMgss2AIp_o0Wv-hhoh3gUzASL82TFn7iW6Nn15budM acme-client: challenge, token: CiTyjtwtuJS-Oyu4lwZbRbjkO0pyEFQhFDJTRe0-rf0, uri: https://127.0.0.1:14000/chalZ/TifkJ99IOteoDpC5d62kWm_VwwVzOZbDVreZTv7luVs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/JVNtWWX2XX0Ql5GETMQQUFEzD5pogRwZdp2Bb2ssaL4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2890b9939de54379: 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/4e6a9bc9155aefa5 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/4e6a9bc9155aefa5 acme-client: dochngreq: https://127.0.0.1:14000/authZ/E4qWFYoiDuZFDnSfl_z4CbwRab6szIx1h20TREWQWCU acme-client: challenge, token: gyhQBuZXRPXIZxq-Ewxmifm9hwZNFiJ1pA_ffgQaESk, uri: https://127.0.0.1:14000/chalZ/aHCrJGiU8oxPstYjg8fyEME4xKBuXugqkHY7FFXyvUk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/gyhQBuZXRPXIZxq-Ewxmifm9hwZNFiJ1pA_ffgQaESk: created acme-client: https://127.0.0.1:14000/chalZ/aHCrJGiU8oxPstYjg8fyEME4xKBuXugqkHY7FFXyvUk: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/E4qWFYoiDuZFDnSfl_z4CbwRab6szIx1h20TREWQWCU acme-client: challenge, token: gyhQBuZXRPXIZxq-Ewxmifm9hwZNFiJ1pA_ffgQaESk, uri: https://127.0.0.1:14000/chalZ/aHCrJGiU8oxPstYjg8fyEME4xKBuXugqkHY7FFXyvUk, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/_fjxC-M8Xa-jYvCYIFBcJL1VayBhSqCUDlXj5zvEfHI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/571b7f9b3fc83b60: 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/4e6a9bc9155aefa5 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/575c97891585aea1 acme-client: dochngreq: https://127.0.0.1:14001/authZ/mDmA9SuFDrpEH-ZQyamQIHeFnr00PSXMQ8vDF9-f4aU acme-client: challenge, token: 0jU_EomAxwqmLihm1XE6pTPZLOdRmkqVrXSQPs_c35Q, uri: https://127.0.0.1:14001/chalZ/NsrVQGey0vSZBFxehkF0FzFEMc6TNbjwi_O-4Hum82Y, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/0jU_EomAxwqmLihm1XE6pTPZLOdRmkqVrXSQPs_c35Q: created acme-client: https://127.0.0.1:14001/chalZ/NsrVQGey0vSZBFxehkF0FzFEMc6TNbjwi_O-4Hum82Y: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/mDmA9SuFDrpEH-ZQyamQIHeFnr00PSXMQ8vDF9-f4aU acme-client: challenge, token: 0jU_EomAxwqmLihm1XE6pTPZLOdRmkqVrXSQPs_c35Q, uri: https://127.0.0.1:14001/chalZ/NsrVQGey0vSZBFxehkF0FzFEMc6TNbjwi_O-4Hum82Y, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/9nbsHrCa5LgDGsCBAb-cffB6e-Cz1EJkpMtJAoCDayQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/07d72da74d7edd5a: certificate account key: https://127.0.0.1:14001/my-account/575c97891585aea1 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"