==== 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" 24534 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/45c3868d12974ff4 acme-client: dochngreq: https://127.0.0.1:14000/authZ/jMRJiIlJC29ZRyXTmqNYLAx3B8nVT2ZM8G0FTk5MB88 acme-client: challenge, token: lhBQdcPa347YQQFFAULEooOxq1LgXk41pL8FHuk1Mx4, uri: https://127.0.0.1:14000/chalZ/iLCm335xBkOHO-3S_TB_AJPAGz1hoVkfhskme3nVPDk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/lhBQdcPa347YQQFFAULEooOxq1LgXk41pL8FHuk1Mx4: created acme-client: https://127.0.0.1:14000/chalZ/iLCm335xBkOHO-3S_TB_AJPAGz1hoVkfhskme3nVPDk: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/jMRJiIlJC29ZRyXTmqNYLAx3B8nVT2ZM8G0FTk5MB88 acme-client: challenge, token: lhBQdcPa347YQQFFAULEooOxq1LgXk41pL8FHuk1Mx4, uri: https://127.0.0.1:14000/chalZ/iLCm335xBkOHO-3S_TB_AJPAGz1hoVkfhskme3nVPDk, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/0xmqy5KkMcyuWE-RDUoMRgmUYZz-4jc8V1t7DsLRgIE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3cec5f1f63a83e4f: certificate account key: https://127.0.0.1:14000/my-account/45c3868d12974ff4 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/45c3868d12974ff4 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/45c3868d12974ff4 acme-client: https://127.0.0.1:14000/finalize-order/-SVCCbYvYFcs26lDuZi465Tj298vQb8gejq4qOsxak4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1c65e8ff6849719e: 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/45c3868d12974ff4 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/45c3868d12974ff4 acme-client: dochngreq: https://127.0.0.1:14000/authZ/jFibc7j7DYw7HcDVFpGS1hAmGi2eG-E5uLpm19lGdSc acme-client: challenge, token: 5oHvZSSiOfEHm6Th4WdkKENpH2ZmUTNKXBi1SIfTJVA, uri: https://127.0.0.1:14000/chalZ/OA2-O95XfYQyobnfN524H_yA-ELIoZhRCINU5l6IsfQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/5oHvZSSiOfEHm6Th4WdkKENpH2ZmUTNKXBi1SIfTJVA: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/SKiLQWtOYUlx6F9-_XgRbZK2nKtAFxMgQO4qVVBd2tc acme-client: challenge, token: E5fBwi-W_X4wI2EAFKqETWra9wM-DiT-kEk1K2urgd4, uri: https://127.0.0.1:14000/chalZ/xmX0uNRrABOD0TutOOw1f2wliqbGFGo9rF475wojn5o, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/E5fBwi-W_X4wI2EAFKqETWra9wM-DiT-kEk1K2urgd4: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/RrHjUH1ty6H8OXYjMDNH9QbQwBUWsaB1hj-RLJs3jhY acme-client: challenge, token: 5c5q2qq_JBmhLxX8VPXXDnPH_CrvLAEYQjgIboJPQT8, uri: https://127.0.0.1:14000/chalZ/3Hq39gD_Vqh53U-XUznqdyd0HVI24k50ZhGzZ1A4lFE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/5c5q2qq_JBmhLxX8VPXXDnPH_CrvLAEYQjgIboJPQT8: created acme-client: https://127.0.0.1:14000/chalZ/OA2-O95XfYQyobnfN524H_yA-ELIoZhRCINU5l6IsfQ: challenge acme-client: https://127.0.0.1:14000/chalZ/xmX0uNRrABOD0TutOOw1f2wliqbGFGo9rF475wojn5o: challenge acme-client: https://127.0.0.1:14000/chalZ/3Hq39gD_Vqh53U-XUznqdyd0HVI24k50ZhGzZ1A4lFE: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/jFibc7j7DYw7HcDVFpGS1hAmGi2eG-E5uLpm19lGdSc acme-client: challenge, token: 5oHvZSSiOfEHm6Th4WdkKENpH2ZmUTNKXBi1SIfTJVA, uri: https://127.0.0.1:14000/chalZ/OA2-O95XfYQyobnfN524H_yA-ELIoZhRCINU5l6IsfQ, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/SKiLQWtOYUlx6F9-_XgRbZK2nKtAFxMgQO4qVVBd2tc acme-client: challenge, token: E5fBwi-W_X4wI2EAFKqETWra9wM-DiT-kEk1K2urgd4, uri: https://127.0.0.1:14000/chalZ/xmX0uNRrABOD0TutOOw1f2wliqbGFGo9rF475wojn5o, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/RrHjUH1ty6H8OXYjMDNH9QbQwBUWsaB1hj-RLJs3jhY acme-client: challenge, token: 5c5q2qq_JBmhLxX8VPXXDnPH_CrvLAEYQjgIboJPQT8, uri: https://127.0.0.1:14000/chalZ/3Hq39gD_Vqh53U-XUznqdyd0HVI24k50ZhGzZ1A4lFE, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/xxuGG30qz2PXl88S1eG5o_ZerpPIRT3-Df1ygoEHP2o: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7a3bedde32ea50ce: 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/45c3868d12974ff4 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/45c3868d12974ff4 acme-client: dochngreq: https://127.0.0.1:14000/authZ/kg0Nx8s1KCjC9vnoadbyRq-LCyUzOIyJlyI0dyBKAtM acme-client: challenge, token: jnblFHQTM9-P64mjnzMSyY3nN0qO_0yqjC7H36SDE0g, uri: https://127.0.0.1:14000/chalZ/5_wmaxXf9o3ItrSGByVS4C7k30L4JGhxutQ3b6Ey0tI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/jnblFHQTM9-P64mjnzMSyY3nN0qO_0yqjC7H36SDE0g: created acme-client: https://127.0.0.1:14000/chalZ/5_wmaxXf9o3ItrSGByVS4C7k30L4JGhxutQ3b6Ey0tI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/kg0Nx8s1KCjC9vnoadbyRq-LCyUzOIyJlyI0dyBKAtM acme-client: challenge, token: jnblFHQTM9-P64mjnzMSyY3nN0qO_0yqjC7H36SDE0g, uri: https://127.0.0.1:14000/chalZ/5_wmaxXf9o3ItrSGByVS4C7k30L4JGhxutQ3b6Ey0tI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/ig_sb0zkacI2XodcIv_EH9H-U6XhUYptLR8qvCuAfVs: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/36f9a9cf11bbe922: 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/45c3868d12974ff4 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"