==== 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" 8086 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/6c702bc9224059a acme-client: dochngreq: https://127.0.0.1:14000/authZ/7vwCan0eMbct42PbRE3m0vJrMVuvaysa6eQoZ_WerwY acme-client: challenge, token: MnLPeGjzbYlxKhrIeBw6OqAYlZwKyWyKn9LR53GWNs0, uri: https://127.0.0.1:14000/chalZ/AAaGRT3LmnzAy74VDXYP_CTiEhFrtsMwhVysCR5cVjo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/MnLPeGjzbYlxKhrIeBw6OqAYlZwKyWyKn9LR53GWNs0: created acme-client: https://127.0.0.1:14000/chalZ/AAaGRT3LmnzAy74VDXYP_CTiEhFrtsMwhVysCR5cVjo: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7vwCan0eMbct42PbRE3m0vJrMVuvaysa6eQoZ_WerwY acme-client: challenge, token: MnLPeGjzbYlxKhrIeBw6OqAYlZwKyWyKn9LR53GWNs0, uri: https://127.0.0.1:14000/chalZ/AAaGRT3LmnzAy74VDXYP_CTiEhFrtsMwhVysCR5cVjo, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/CJc7a2c7LZDulcpSwOdRz5zR1Q2unJoDjPjULJI7_5I: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5eb3e4223e056438: certificate account key: https://127.0.0.1:14000/my-account/6c702bc9224059a 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/6c702bc9224059a 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/6c702bc9224059a acme-client: dochngreq: https://127.0.0.1:14000/authZ/38Cck6yK4qG9bZbmnQ6Tpn346qea41-e3a1CM3tSRp8 acme-client: challenge, token: Kzj3CcK5g7k2XVmr8RgGONOu8uZYKC1gP8Q8NIfyo3w, uri: https://127.0.0.1:14000/chalZ/ZGm_ozA83UdN3sLzAb9AzAbrLyMEM3wzik0gQNYEpoA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Kzj3CcK5g7k2XVmr8RgGONOu8uZYKC1gP8Q8NIfyo3w: created acme-client: https://127.0.0.1:14000/chalZ/ZGm_ozA83UdN3sLzAb9AzAbrLyMEM3wzik0gQNYEpoA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/38Cck6yK4qG9bZbmnQ6Tpn346qea41-e3a1CM3tSRp8 acme-client: challenge, token: Kzj3CcK5g7k2XVmr8RgGONOu8uZYKC1gP8Q8NIfyo3w, uri: https://127.0.0.1:14000/chalZ/ZGm_ozA83UdN3sLzAb9AzAbrLyMEM3wzik0gQNYEpoA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/TMPxvzAYs0WQoCBrQ1FXcJDHOGwphaN4nt8YgL1ibjA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/72625086ed88f873: 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/6c702bc9224059a 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/6c702bc9224059a acme-client: dochngreq: https://127.0.0.1:14000/authZ/H-gvQsbS1yFgJ18BAdajOKU5oCfoeeQPfpq6SmrUQ5w acme-client: challenge, token: ka-yWsiI6tYXs95_EMT6sr-X4VKoW6l--0_86_DKGWs, uri: https://127.0.0.1:14000/chalZ/o4M5XVVNlEetFxvGt5rWU7eHSZZWmrUxCHuZvvobE_8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ka-yWsiI6tYXs95_EMT6sr-X4VKoW6l--0_86_DKGWs: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/ai5V4bcpaiy-oI_2O5V6eqGHsp5nNFpMEIotXCTSgaE acme-client: challenge, token: 1wbyelWFS384akkCkYIgJSMmcZgNXbtDAoHGQG7U9MQ, uri: https://127.0.0.1:14000/chalZ/hmBy_txvCU5sfGVy_Bn2Dek1hPmYK5kMkdgP3Cg8Pj4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/1wbyelWFS384akkCkYIgJSMmcZgNXbtDAoHGQG7U9MQ: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/7iPmli-hZEVlc9AjK_pGoxwFRpymzGR_mQ97-OqQ-ts acme-client: challenge, token: YeaplCdirFbpdEGKeyefVDe9CKqrB6-ehNRzcihwqPo, uri: https://127.0.0.1:14000/chalZ/4xMgpDGt0Caoyrmwwxa-80P0YObvB51E6KwkYRJHwhQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/YeaplCdirFbpdEGKeyefVDe9CKqrB6-ehNRzcihwqPo: created acme-client: https://127.0.0.1:14000/chalZ/o4M5XVVNlEetFxvGt5rWU7eHSZZWmrUxCHuZvvobE_8: challenge acme-client: https://127.0.0.1:14000/chalZ/hmBy_txvCU5sfGVy_Bn2Dek1hPmYK5kMkdgP3Cg8Pj4: challenge acme-client: https://127.0.0.1:14000/chalZ/4xMgpDGt0Caoyrmwwxa-80P0YObvB51E6KwkYRJHwhQ: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/H-gvQsbS1yFgJ18BAdajOKU5oCfoeeQPfpq6SmrUQ5w acme-client: challenge, token: ka-yWsiI6tYXs95_EMT6sr-X4VKoW6l--0_86_DKGWs, uri: https://127.0.0.1:14000/chalZ/o4M5XVVNlEetFxvGt5rWU7eHSZZWmrUxCHuZvvobE_8, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ai5V4bcpaiy-oI_2O5V6eqGHsp5nNFpMEIotXCTSgaE acme-client: challenge, token: 1wbyelWFS384akkCkYIgJSMmcZgNXbtDAoHGQG7U9MQ, uri: https://127.0.0.1:14000/chalZ/hmBy_txvCU5sfGVy_Bn2Dek1hPmYK5kMkdgP3Cg8Pj4, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7iPmli-hZEVlc9AjK_pGoxwFRpymzGR_mQ97-OqQ-ts acme-client: challenge, token: YeaplCdirFbpdEGKeyefVDe9CKqrB6-ehNRzcihwqPo, uri: https://127.0.0.1:14000/chalZ/4xMgpDGt0Caoyrmwwxa-80P0YObvB51E6KwkYRJHwhQ, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/As2kCtMChQkvmPH1rXpVg4fgfnRJUhKT2o7pHMSn_ms: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/10fbf345e043516f: 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/6c702bc9224059a 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/6c702bc9224059a acme-client: dochngreq: https://127.0.0.1:14000/authZ/TkMfBrmCjfXknoy7qLBYpfZ-du76ZbpcoDRejuSEpuw acme-client: challenge, token: Z_a8Hkg0L96I6Nlr5X0aID5y_CasF13iUsfCo752mGo, uri: https://127.0.0.1:14000/chalZ/5bE-jeWZH2sGriP0yNmnG3XT0mw5mnJx3-kZFh5D4Bs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Z_a8Hkg0L96I6Nlr5X0aID5y_CasF13iUsfCo752mGo: created acme-client: https://127.0.0.1:14000/chalZ/5bE-jeWZH2sGriP0yNmnG3XT0mw5mnJx3-kZFh5D4Bs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/TkMfBrmCjfXknoy7qLBYpfZ-du76ZbpcoDRejuSEpuw acme-client: challenge, token: Z_a8Hkg0L96I6Nlr5X0aID5y_CasF13iUsfCo752mGo, uri: https://127.0.0.1:14000/chalZ/5bE-jeWZH2sGriP0yNmnG3XT0mw5mnJx3-kZFh5D4Bs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/4CsILrkFRUW1qnv9GBwsKyhEPhEPG5jhHLTJEFEz-8w: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2e7fe68a6a72f43b: 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/6c702bc9224059a 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"