==== 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" 73750 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/4983f584fd380193 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7btJpo5Lw_H8kSM-G8f2_Cbum1qNrN8xMFlatZ8dKNY acme-client: challenge, token: CFyQroPhZ_vcej2Zk0x8o_CGkt7V5og1Nd44kgqZ9Ic, uri: https://127.0.0.1:14000/chalZ/iQ_KDnwSdJDHdTR683xNPWcf4qqr8-ebdht5bbfgvvo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/CFyQroPhZ_vcej2Zk0x8o_CGkt7V5og1Nd44kgqZ9Ic: created acme-client: https://127.0.0.1:14000/chalZ/iQ_KDnwSdJDHdTR683xNPWcf4qqr8-ebdht5bbfgvvo: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7btJpo5Lw_H8kSM-G8f2_Cbum1qNrN8xMFlatZ8dKNY acme-client: challenge, token: CFyQroPhZ_vcej2Zk0x8o_CGkt7V5og1Nd44kgqZ9Ic, uri: https://127.0.0.1:14000/chalZ/iQ_KDnwSdJDHdTR683xNPWcf4qqr8-ebdht5bbfgvvo, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/6aarPxFLFOWZN-Xy-S9DOqIi8E22qTXpYcm7KQEBPgQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/601c38bc893b66a5: certificate account key: https://127.0.0.1:14000/my-account/4983f584fd380193 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/4983f584fd380193 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/4983f584fd380193 acme-client: https://127.0.0.1:14000/finalize-order/c3apoiiirXQoWjtySo2X5gBHXyF0zcK8sEsSNSKhBBE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3acdefb2baa24a1e: 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/4983f584fd380193 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/4983f584fd380193 acme-client: dochngreq: https://127.0.0.1:14000/authZ/a2mQaTYMVIBH0j4QEHDn2atlBEzPWogcs51GCSa-Dbo acme-client: challenge, token: k9q0ICAkrhuZviZ89gQsh4BLRXbwk2O9vPsGK_ly9BI, uri: https://127.0.0.1:14000/chalZ/3Xo8vJHny1zmPbS7VA0ThNQjvy1PmoK3jxdK8rsgalA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/k9q0ICAkrhuZviZ89gQsh4BLRXbwk2O9vPsGK_ly9BI: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/0pwL4hdssdYTJZTn90prpEiauo_7MANlXXHovfFs1Ug acme-client: challenge, token: upkeMd37fdN99rdxOatym_A3oAZDhjZSaS57nEE6UK8, uri: https://127.0.0.1:14000/chalZ/50wBY7tYpBwUtoE4qZU3fX0mp8BPvz_7mu-vYVDAqLo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/upkeMd37fdN99rdxOatym_A3oAZDhjZSaS57nEE6UK8: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/7btJpo5Lw_H8kSM-G8f2_Cbum1qNrN8xMFlatZ8dKNY acme-client: challenge, token: CFyQroPhZ_vcej2Zk0x8o_CGkt7V5og1Nd44kgqZ9Ic, uri: https://127.0.0.1:14000/chalZ/iQ_KDnwSdJDHdTR683xNPWcf4qqr8-ebdht5bbfgvvo, status: 2 acme-client: https://127.0.0.1:14000/chalZ/3Xo8vJHny1zmPbS7VA0ThNQjvy1PmoK3jxdK8rsgalA: challenge acme-client: https://127.0.0.1:14000/chalZ/50wBY7tYpBwUtoE4qZU3fX0mp8BPvz_7mu-vYVDAqLo: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/a2mQaTYMVIBH0j4QEHDn2atlBEzPWogcs51GCSa-Dbo acme-client: challenge, token: k9q0ICAkrhuZviZ89gQsh4BLRXbwk2O9vPsGK_ly9BI, uri: https://127.0.0.1:14000/chalZ/3Xo8vJHny1zmPbS7VA0ThNQjvy1PmoK3jxdK8rsgalA, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/0pwL4hdssdYTJZTn90prpEiauo_7MANlXXHovfFs1Ug acme-client: challenge, token: upkeMd37fdN99rdxOatym_A3oAZDhjZSaS57nEE6UK8, uri: https://127.0.0.1:14000/chalZ/50wBY7tYpBwUtoE4qZU3fX0mp8BPvz_7mu-vYVDAqLo, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7btJpo5Lw_H8kSM-G8f2_Cbum1qNrN8xMFlatZ8dKNY acme-client: challenge, token: CFyQroPhZ_vcej2Zk0x8o_CGkt7V5og1Nd44kgqZ9Ic, uri: https://127.0.0.1:14000/chalZ/iQ_KDnwSdJDHdTR683xNPWcf4qqr8-ebdht5bbfgvvo, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/ENaQQH1SbcEiNNvwVu5hp8hOZ6eOGwcJzQwlNfh83oE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4a8e85ebf1f7d4f7: 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/4983f584fd380193 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/4983f584fd380193 acme-client: dochngreq: https://127.0.0.1:14000/authZ/f8BU3btJR7Lv47jzpKqueeLipGmD7UNM1jvzXCiQMf8 acme-client: challenge, token: CvNQDsZ9SFIi0ReiqNp2kQ5SpSlNNVQumAjpUtP2S_8, uri: https://127.0.0.1:14000/chalZ/UFWx3DNPEfV12W4TvAIWb-ug6yIodq236U4PfuK21HI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/CvNQDsZ9SFIi0ReiqNp2kQ5SpSlNNVQumAjpUtP2S_8: created acme-client: https://127.0.0.1:14000/chalZ/UFWx3DNPEfV12W4TvAIWb-ug6yIodq236U4PfuK21HI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/f8BU3btJR7Lv47jzpKqueeLipGmD7UNM1jvzXCiQMf8 acme-client: challenge, token: CvNQDsZ9SFIi0ReiqNp2kQ5SpSlNNVQumAjpUtP2S_8, uri: https://127.0.0.1:14000/chalZ/UFWx3DNPEfV12W4TvAIWb-ug6yIodq236U4PfuK21HI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/AXr4UtGZHtrzYPEmSWHkMqwMN5gAQg-ZlTyDylPTxzM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6213ab48d60309db: 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/4983f584fd380193 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/7393505e69adb546 acme-client: dochngreq: https://127.0.0.1:14001/authZ/Vl74hu2Wq5G5wkGrrTkkDrKCbMREFtHMsYm7jDZrjVU acme-client: challenge, token: Gie-oot58pcd2X1RTFjJoEIbmqN3-6hqQ7zScWVtCQE, uri: https://127.0.0.1:14001/chalZ/YlU1OZbvWNpl_XAUPxfaJLVQVxkRNaQPdAYw-A-7-EY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Gie-oot58pcd2X1RTFjJoEIbmqN3-6hqQ7zScWVtCQE: created acme-client: https://127.0.0.1:14001/chalZ/YlU1OZbvWNpl_XAUPxfaJLVQVxkRNaQPdAYw-A-7-EY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/Vl74hu2Wq5G5wkGrrTkkDrKCbMREFtHMsYm7jDZrjVU acme-client: challenge, token: Gie-oot58pcd2X1RTFjJoEIbmqN3-6hqQ7zScWVtCQE, uri: https://127.0.0.1:14001/chalZ/YlU1OZbvWNpl_XAUPxfaJLVQVxkRNaQPdAYw-A-7-EY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/4mYXgUflVwgqcK75bF0K_jkmtzXKzQXHk7LLGXz-GlM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/7cf1a192c32b294a: certificate account key: https://127.0.0.1:14001/my-account/7393505e69adb546 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"