==== 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" 92043 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/757ee1ee1244c30 acme-client: dochngreq: https://127.0.0.1:14000/authZ/U3t3nDfHRQq1EAJ2xRrY5CW27ChAEFx7hQfKBssvJ-M acme-client: challenge, token: mPjkBeOCczrig31Y0O0PgwDFmn214Tj8_pLwNobujx0, uri: https://127.0.0.1:14000/chalZ/IPUeEHtZJFSR8Uz4iulPFfZu7Ia3Zaxsz_UgTc0F_XM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/mPjkBeOCczrig31Y0O0PgwDFmn214Tj8_pLwNobujx0: created acme-client: https://127.0.0.1:14000/chalZ/IPUeEHtZJFSR8Uz4iulPFfZu7Ia3Zaxsz_UgTc0F_XM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/U3t3nDfHRQq1EAJ2xRrY5CW27ChAEFx7hQfKBssvJ-M acme-client: challenge, token: mPjkBeOCczrig31Y0O0PgwDFmn214Tj8_pLwNobujx0, uri: https://127.0.0.1:14000/chalZ/IPUeEHtZJFSR8Uz4iulPFfZu7Ia3Zaxsz_UgTc0F_XM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/AAxx0p-l6ZblGH-Sgyalkj_HFCo3pZqhiVpdNJr_0DY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5fa02c9c1f50ceca: certificate account key: https://127.0.0.1:14000/my-account/757ee1ee1244c30 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/757ee1ee1244c30 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/757ee1ee1244c30 acme-client: https://127.0.0.1:14000/finalize-order/vxqHWFkZTAf89BqTkcRWidWi9U-8Xu7e5F2eS3qLolo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/26edcb2d628a6485: 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/757ee1ee1244c30 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/757ee1ee1244c30 acme-client: dochngreq: https://127.0.0.1:14000/authZ/RwQMDKuUwnDPlg-pQtMNnxttJGLOnesdWmz9UOKWOso acme-client: challenge, token: WZf9Wb02WbiTQ3sYT7ISq9EDBNrgOark9QdRC0vWi5E, uri: https://127.0.0.1:14000/chalZ/94IMie-8r9IaVAoUUJ__k_moH4htPBSadHIc5k6mpDE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/WZf9Wb02WbiTQ3sYT7ISq9EDBNrgOark9QdRC0vWi5E: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/6wCOpeh_862I_g01Xt9DQ7kb1cP2Hyw4BXxp-vEspyU acme-client: challenge, token: ZsAS4jRmubEeXJliYzChA9ipd3qjzvWGcuTpfk9t1HY, uri: https://127.0.0.1:14000/chalZ/VRiGrhzl_GVPozjhxlkvSruczsc5E8IM-g9HmoN9x90, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ZsAS4jRmubEeXJliYzChA9ipd3qjzvWGcuTpfk9t1HY: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/dUJ5RQ6K3zuhWVqwNJwBlJUxVWoOFmfQSp2-s__zgFE acme-client: challenge, token: iBdNgG5jJ0KSyjHEn0CJpjruGIWnRKoLkbJX3G7X47g, uri: https://127.0.0.1:14000/chalZ/DW7LleA2F403EG0eMGq9LbvL6qQ8-4GoTjFHfLs1ZDA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/iBdNgG5jJ0KSyjHEn0CJpjruGIWnRKoLkbJX3G7X47g: created acme-client: https://127.0.0.1:14000/chalZ/94IMie-8r9IaVAoUUJ__k_moH4htPBSadHIc5k6mpDE: challenge acme-client: https://127.0.0.1:14000/chalZ/VRiGrhzl_GVPozjhxlkvSruczsc5E8IM-g9HmoN9x90: challenge acme-client: https://127.0.0.1:14000/chalZ/DW7LleA2F403EG0eMGq9LbvL6qQ8-4GoTjFHfLs1ZDA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/RwQMDKuUwnDPlg-pQtMNnxttJGLOnesdWmz9UOKWOso acme-client: challenge, token: WZf9Wb02WbiTQ3sYT7ISq9EDBNrgOark9QdRC0vWi5E, uri: https://127.0.0.1:14000/chalZ/94IMie-8r9IaVAoUUJ__k_moH4htPBSadHIc5k6mpDE, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/6wCOpeh_862I_g01Xt9DQ7kb1cP2Hyw4BXxp-vEspyU acme-client: challenge, token: ZsAS4jRmubEeXJliYzChA9ipd3qjzvWGcuTpfk9t1HY, uri: https://127.0.0.1:14000/chalZ/VRiGrhzl_GVPozjhxlkvSruczsc5E8IM-g9HmoN9x90, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/dUJ5RQ6K3zuhWVqwNJwBlJUxVWoOFmfQSp2-s__zgFE acme-client: challenge, token: iBdNgG5jJ0KSyjHEn0CJpjruGIWnRKoLkbJX3G7X47g, uri: https://127.0.0.1:14000/chalZ/DW7LleA2F403EG0eMGq9LbvL6qQ8-4GoTjFHfLs1ZDA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/ElyIa2vw18s1i7PVXlxU7XWO0WViTBDGoN0pnwUMnWk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/105d4c66857dbc8b: 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/757ee1ee1244c30 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/757ee1ee1244c30 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Vtx-qMpIADwEYecO_GK-izHv7WkXFgHxYG727WiJBr4 acme-client: challenge, token: 4RLRQa3RzhHXTHEF5jiHXSErJowP4THp8nkFGQ-CXsM, uri: https://127.0.0.1:14000/chalZ/3PZlowaZ9xjPuDP6RH1Gtvu8CpdNVLdAQJHmYLljiIA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/4RLRQa3RzhHXTHEF5jiHXSErJowP4THp8nkFGQ-CXsM: created acme-client: https://127.0.0.1:14000/chalZ/3PZlowaZ9xjPuDP6RH1Gtvu8CpdNVLdAQJHmYLljiIA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Vtx-qMpIADwEYecO_GK-izHv7WkXFgHxYG727WiJBr4 acme-client: challenge, token: 4RLRQa3RzhHXTHEF5jiHXSErJowP4THp8nkFGQ-CXsM, uri: https://127.0.0.1:14000/chalZ/3PZlowaZ9xjPuDP6RH1Gtvu8CpdNVLdAQJHmYLljiIA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/BzGRoYO_yIknE3yfmMm39XkvvBT2_145UrdCviwOdm4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/431e6b7466462a75: 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/757ee1ee1244c30 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/308c4e61c47ff75b acme-client: dochngreq: https://127.0.0.1:14001/authZ/7tqX8nTxB0tdXd_TUfoxMYf5Z61jsw-UeA5BVYDdPWg acme-client: challenge, token: xBZ5W6KxGB1a-olQqfuxFrfvjoKBeYIxhDlHoaGv-Hg, uri: https://127.0.0.1:14001/chalZ/zkmSc8P4BDQKzAupOJYeFyUgTvIEI_0yg6HBm6RxqWc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/xBZ5W6KxGB1a-olQqfuxFrfvjoKBeYIxhDlHoaGv-Hg: created acme-client: https://127.0.0.1:14001/chalZ/zkmSc8P4BDQKzAupOJYeFyUgTvIEI_0yg6HBm6RxqWc: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/7tqX8nTxB0tdXd_TUfoxMYf5Z61jsw-UeA5BVYDdPWg acme-client: challenge, token: xBZ5W6KxGB1a-olQqfuxFrfvjoKBeYIxhDlHoaGv-Hg, uri: https://127.0.0.1:14001/chalZ/zkmSc8P4BDQKzAupOJYeFyUgTvIEI_0yg6HBm6RxqWc, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/Bkc_bFXd5CWweObcQrMDf91RVnLqsTvWujFpi_ZJKAU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/1fc41af1c0338cb7: certificate account key: https://127.0.0.1:14001/my-account/308c4e61c47ff75b 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"