==== 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" 89043 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/b7fe553c1e28892 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Uowd6TPsVDcwqm8I8OX1VvaqAkvTCeFAnBMu889Pr5k acme-client: challenge, token: 6j4Q7J6VnkABU5fFBQjbyvZ3InKWmlO3KFPG2dvqrl4, uri: https://127.0.0.1:14000/chalZ/xIm-TkqSy_egvJdTB0ln5yuJ1pe5GJJISBM8p18p4aI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/6j4Q7J6VnkABU5fFBQjbyvZ3InKWmlO3KFPG2dvqrl4: created acme-client: https://127.0.0.1:14000/chalZ/xIm-TkqSy_egvJdTB0ln5yuJ1pe5GJJISBM8p18p4aI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Uowd6TPsVDcwqm8I8OX1VvaqAkvTCeFAnBMu889Pr5k acme-client: challenge, token: 6j4Q7J6VnkABU5fFBQjbyvZ3InKWmlO3KFPG2dvqrl4, uri: https://127.0.0.1:14000/chalZ/xIm-TkqSy_egvJdTB0ln5yuJ1pe5GJJISBM8p18p4aI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/5PrzIHmrJa3_VfGCMBRwN-Aj8fsGW0_DY_5LFHaC7J0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7c9594663a030d58: certificate account key: https://127.0.0.1:14000/my-account/b7fe553c1e28892 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/b7fe553c1e28892 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/b7fe553c1e28892 acme-client: dochngreq: https://127.0.0.1:14000/authZ/w5PHM-zSWmyPTqw-ga8JeQXZOwEAjkxiNLKWFHUNJco acme-client: challenge, token: ZJTFhLM9I3Wmlt188MxD1YXunMNIkzxuRVfVjxhilac, uri: https://127.0.0.1:14000/chalZ/mxsTJqWEbarDWEPUynooTol7tkBxampBoGUvkU1-wyk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ZJTFhLM9I3Wmlt188MxD1YXunMNIkzxuRVfVjxhilac: created acme-client: https://127.0.0.1:14000/chalZ/mxsTJqWEbarDWEPUynooTol7tkBxampBoGUvkU1-wyk: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/w5PHM-zSWmyPTqw-ga8JeQXZOwEAjkxiNLKWFHUNJco acme-client: challenge, token: ZJTFhLM9I3Wmlt188MxD1YXunMNIkzxuRVfVjxhilac, uri: https://127.0.0.1:14000/chalZ/mxsTJqWEbarDWEPUynooTol7tkBxampBoGUvkU1-wyk, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/iwz0vV6_eOnEq5ZT0CeXYv5nXYhZuDIZnPUCrmyV278: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/209ab289c49a910f: 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/b7fe553c1e28892 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/b7fe553c1e28892 acme-client: dochngreq: https://127.0.0.1:14000/authZ/6NP7YKxt9pCDcPRLZ9JH0Qz4sfUKhdF-r-4vp56AKes acme-client: challenge, token: 75aSubnHl8BgiZ7sShlMIHZIG3Hzk0l9Br1gbMr34Jo, uri: https://127.0.0.1:14000/chalZ/gCw4Bcsk0k9CQOWxqJGV0c_Im6GSiAgdooxYmA4OwD4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/75aSubnHl8BgiZ7sShlMIHZIG3Hzk0l9Br1gbMr34Jo: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/yHHEY0Bg82QdRoc-ChhTnjmguPvOcvs2FPJVcK2baTA acme-client: challenge, token: KJanT3-Zz0rsg8KKU5X0xRvUGK2t3i8jcAAdk0p95dQ, uri: https://127.0.0.1:14000/chalZ/CfHEV-0rgFLDsLUhc4agn1Eczk20xO23rI2l7Zbv0eQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/KJanT3-Zz0rsg8KKU5X0xRvUGK2t3i8jcAAdk0p95dQ: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/vULZeszWAtrxH1aYSEjL8k14qxsdD9tE9wxPasDgK_0 acme-client: challenge, token: jZ8gbR_jTy34YLvsXHhnY3vi0DgSEKk_dPk60oH5M4g, uri: https://127.0.0.1:14000/chalZ/wnVz2u4KSdlFLXbmrWVre-GuKC0IigT9AFJxtqZd_5g, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/jZ8gbR_jTy34YLvsXHhnY3vi0DgSEKk_dPk60oH5M4g: created acme-client: https://127.0.0.1:14000/chalZ/gCw4Bcsk0k9CQOWxqJGV0c_Im6GSiAgdooxYmA4OwD4: challenge acme-client: https://127.0.0.1:14000/chalZ/CfHEV-0rgFLDsLUhc4agn1Eczk20xO23rI2l7Zbv0eQ: challenge acme-client: https://127.0.0.1:14000/chalZ/wnVz2u4KSdlFLXbmrWVre-GuKC0IigT9AFJxtqZd_5g: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/6NP7YKxt9pCDcPRLZ9JH0Qz4sfUKhdF-r-4vp56AKes acme-client: challenge, token: 75aSubnHl8BgiZ7sShlMIHZIG3Hzk0l9Br1gbMr34Jo, uri: https://127.0.0.1:14000/chalZ/gCw4Bcsk0k9CQOWxqJGV0c_Im6GSiAgdooxYmA4OwD4, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/yHHEY0Bg82QdRoc-ChhTnjmguPvOcvs2FPJVcK2baTA acme-client: challenge, token: KJanT3-Zz0rsg8KKU5X0xRvUGK2t3i8jcAAdk0p95dQ, uri: https://127.0.0.1:14000/chalZ/CfHEV-0rgFLDsLUhc4agn1Eczk20xO23rI2l7Zbv0eQ, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/vULZeszWAtrxH1aYSEjL8k14qxsdD9tE9wxPasDgK_0 acme-client: challenge, token: jZ8gbR_jTy34YLvsXHhnY3vi0DgSEKk_dPk60oH5M4g, uri: https://127.0.0.1:14000/chalZ/wnVz2u4KSdlFLXbmrWVre-GuKC0IigT9AFJxtqZd_5g, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/ysOaIoHcKl4_S5CxCaejNBRXKdJUK7tFd2CDRpDXF8o: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4a6a0a54246ba1f1: 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/b7fe553c1e28892 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/b7fe553c1e28892 acme-client: https://127.0.0.1:14000/finalize-order/goGNx-P6a8TQoabBtMcLQfqVCuyz57R2WnwGlhgswro: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7bc8fc108798f4b1: 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/b7fe553c1e28892 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"