==== 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" 37182 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/2aca76ead8d9e245 acme-client: dochngreq: https://127.0.0.1:14000/authZ/2vgntcvI8sY-wkCP2uP8d2tONIUk4aPu2lASz7tnKGI acme-client: challenge, token: NqcwGecnhaPnFhbCg90vtawh-yzAP3RJu66chELvI_g, uri: https://127.0.0.1:14000/chalZ/il3Kt0-E7ZN8gtg8SX8F-xMFpeRaIPSFgfgy7fWhXn8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/NqcwGecnhaPnFhbCg90vtawh-yzAP3RJu66chELvI_g: created acme-client: https://127.0.0.1:14000/chalZ/il3Kt0-E7ZN8gtg8SX8F-xMFpeRaIPSFgfgy7fWhXn8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/2vgntcvI8sY-wkCP2uP8d2tONIUk4aPu2lASz7tnKGI acme-client: challenge, token: NqcwGecnhaPnFhbCg90vtawh-yzAP3RJu66chELvI_g, uri: https://127.0.0.1:14000/chalZ/il3Kt0-E7ZN8gtg8SX8F-xMFpeRaIPSFgfgy7fWhXn8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/DfDWBFcGCRhQpVb5j4bqBMC60f2wEPhAWB-fvIc-LNw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/576366f3e11d7cb5: certificate account key: https://127.0.0.1:14000/my-account/2aca76ead8d9e245 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/2aca76ead8d9e245 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/2aca76ead8d9e245 acme-client: dochngreq: https://127.0.0.1:14000/authZ/nr4nxc4ml9UvWb6meZHYEiUGR82kMHtjVQi7pi3O0ho acme-client: challenge, token: Z25pv62RenTmgVImJAFzXGnMYcloqaXGLVEXDxwHFgE, uri: https://127.0.0.1:14000/chalZ/koYQkp8KhMytQ7Rs3hGje81Dge_XrMdfJqZ9UuujvOY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Z25pv62RenTmgVImJAFzXGnMYcloqaXGLVEXDxwHFgE: created acme-client: https://127.0.0.1:14000/chalZ/koYQkp8KhMytQ7Rs3hGje81Dge_XrMdfJqZ9UuujvOY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/nr4nxc4ml9UvWb6meZHYEiUGR82kMHtjVQi7pi3O0ho acme-client: challenge, token: Z25pv62RenTmgVImJAFzXGnMYcloqaXGLVEXDxwHFgE, uri: https://127.0.0.1:14000/chalZ/koYQkp8KhMytQ7Rs3hGje81Dge_XrMdfJqZ9UuujvOY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/JxFpTurgqsG_Qz6Wg_xSzYCU1u2ze3a1mqB0q7dJD1k: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/708ebe6478bf8c27: 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/2aca76ead8d9e245 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/2aca76ead8d9e245 acme-client: dochngreq: https://127.0.0.1:14000/authZ/2vgntcvI8sY-wkCP2uP8d2tONIUk4aPu2lASz7tnKGI acme-client: challenge, token: NqcwGecnhaPnFhbCg90vtawh-yzAP3RJu66chELvI_g, uri: https://127.0.0.1:14000/chalZ/il3Kt0-E7ZN8gtg8SX8F-xMFpeRaIPSFgfgy7fWhXn8, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/U8W9n7zaFAkVBhGrH0gPcmwfEU_DrKYZIOooCQl3A-o acme-client: challenge, token: Ys7svFkmfGlbl55MSAZki--YMO1hsaVsAA3j0u6tvj0, uri: https://127.0.0.1:14000/chalZ/PPEvgjMlTrmUecE7xJTauAAJqYunn2wuf7tDPEAzWwM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Ys7svFkmfGlbl55MSAZki--YMO1hsaVsAA3j0u6tvj0: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/K6Co68t8JoColEL2MlAdnCVIe9Nr3B5ldOuWEoBGoF8 acme-client: challenge, token: TFkyZWkHtx3SQF0C3LsiSYelsj6MnuxkFIC_5siBQHI, uri: https://127.0.0.1:14000/chalZ/yuU5cpTtME6UOr29GnV7UlhCJyHmd_Y2mEl6GAjRwhc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/TFkyZWkHtx3SQF0C3LsiSYelsj6MnuxkFIC_5siBQHI: created acme-client: https://127.0.0.1:14000/chalZ/PPEvgjMlTrmUecE7xJTauAAJqYunn2wuf7tDPEAzWwM: challenge acme-client: https://127.0.0.1:14000/chalZ/yuU5cpTtME6UOr29GnV7UlhCJyHmd_Y2mEl6GAjRwhc: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/2vgntcvI8sY-wkCP2uP8d2tONIUk4aPu2lASz7tnKGI acme-client: challenge, token: NqcwGecnhaPnFhbCg90vtawh-yzAP3RJu66chELvI_g, uri: https://127.0.0.1:14000/chalZ/il3Kt0-E7ZN8gtg8SX8F-xMFpeRaIPSFgfgy7fWhXn8, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/U8W9n7zaFAkVBhGrH0gPcmwfEU_DrKYZIOooCQl3A-o acme-client: challenge, token: Ys7svFkmfGlbl55MSAZki--YMO1hsaVsAA3j0u6tvj0, uri: https://127.0.0.1:14000/chalZ/PPEvgjMlTrmUecE7xJTauAAJqYunn2wuf7tDPEAzWwM, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/K6Co68t8JoColEL2MlAdnCVIe9Nr3B5ldOuWEoBGoF8 acme-client: challenge, token: TFkyZWkHtx3SQF0C3LsiSYelsj6MnuxkFIC_5siBQHI, uri: https://127.0.0.1:14000/chalZ/yuU5cpTtME6UOr29GnV7UlhCJyHmd_Y2mEl6GAjRwhc, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/-yWoXhMN1IeJfW1oAdyUYNGBH3GAsAM8xNBTuUXBAGg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/59d66ebef521a7e1: 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/2aca76ead8d9e245 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/2aca76ead8d9e245 acme-client: https://127.0.0.1:14000/finalize-order/SvHV3que3SfQAXrn5C_eHhndD6eF1t8-5aTACIS1cII: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/551fa3e9b802f648: 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/2aca76ead8d9e245 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/7ae9079075de3da5 acme-client: dochngreq: https://127.0.0.1:14001/authZ/3VFupIZGGzlg52TD8-7Wb590Ct_40Zk712pYpAPWu28 acme-client: challenge, token: cytWGysYUtn0kpUmdCKXS9maT-a6cMZfCL7-k070ogw, uri: https://127.0.0.1:14001/chalZ/i9Oi1sj9A_M81OiExHYsQFPpUSYYkcQXufE9YLcY6FI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/cytWGysYUtn0kpUmdCKXS9maT-a6cMZfCL7-k070ogw: created acme-client: https://127.0.0.1:14001/chalZ/i9Oi1sj9A_M81OiExHYsQFPpUSYYkcQXufE9YLcY6FI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/3VFupIZGGzlg52TD8-7Wb590Ct_40Zk712pYpAPWu28 acme-client: challenge, token: cytWGysYUtn0kpUmdCKXS9maT-a6cMZfCL7-k070ogw, uri: https://127.0.0.1:14001/chalZ/i9Oi1sj9A_M81OiExHYsQFPpUSYYkcQXufE9YLcY6FI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/LfkEMIv3QEC01DDisKvFu8Yr6M0SOL3BUG6tGn18agY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/3f72e46c1f551c8d: certificate account key: https://127.0.0.1:14001/my-account/7ae9079075de3da5 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"