==== 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" 26844 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/acme/privkey.pem: generated RSA account key acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/private/privkey.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/3686c19beb268cb0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/tSwU3Q6rDVNGRu03UkUcf7A6sOWXCkfun6n5842TjKY acme-client: challenge, token: GU49DIwzgZXoHv5Umry6fEgeGqIcXAdyhIKCaSZezcI, uri: https://127.0.0.1:14000/chalZ/0G6UY1ll6Pf8wGEda1fG9Y3ciV7Wrbo2ax7PoWYBmms, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/GU49DIwzgZXoHv5Umry6fEgeGqIcXAdyhIKCaSZezcI: created acme-client: https://127.0.0.1:14000/chalZ/0G6UY1ll6Pf8wGEda1fG9Y3ciV7Wrbo2ax7PoWYBmms: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/tSwU3Q6rDVNGRu03UkUcf7A6sOWXCkfun6n5842TjKY acme-client: challenge, token: GU49DIwzgZXoHv5Umry6fEgeGqIcXAdyhIKCaSZezcI, uri: https://127.0.0.1:14000/chalZ/0G6UY1ll6Pf8wGEda1fG9Y3ciV7Wrbo2ax7PoWYBmms, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/DMCFlVpOSUCSJYLvmLcn0ZPI6eLqltPxUQ2dx2rfkhE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/28d03a3890e9c836: certificate account key: https://127.0.0.1:14000/my-account/3686c19beb268cb0 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/3686c19beb268cb0 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/3686c19beb268cb0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/YDgp8o-F_LngeRkXipmW6GwmKeMnXAuS4-J9eOsMQ5Q acme-client: challenge, token: RhrbjVGY2-HP9KxqOnFXD5opadxTtD5f2rkIp29IWc0, uri: https://127.0.0.1:14000/chalZ/JJ1e0siOdcUKo_4l_hRW1eCcMDjk-8Bgd85n9DqXcxs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/RhrbjVGY2-HP9KxqOnFXD5opadxTtD5f2rkIp29IWc0: created acme-client: https://127.0.0.1:14000/chalZ/JJ1e0siOdcUKo_4l_hRW1eCcMDjk-8Bgd85n9DqXcxs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/YDgp8o-F_LngeRkXipmW6GwmKeMnXAuS4-J9eOsMQ5Q acme-client: challenge, token: RhrbjVGY2-HP9KxqOnFXD5opadxTtD5f2rkIp29IWc0, uri: https://127.0.0.1:14000/chalZ/JJ1e0siOdcUKo_4l_hRW1eCcMDjk-8Bgd85n9DqXcxs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Ebp6I2ey-2p9DKkj0yKhQStTrIiJrwNYOn5tdH8ueU0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/19ff0f1b27f33bfa: 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/3686c19beb268cb0 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/3686c19beb268cb0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/UyS0zcBhQdURxaKBnF4sb3w34cB-KV_v3HuTUPDf1yg acme-client: challenge, token: I3EPUVZeUyoJiDMdwO8UoPVn82KagSsBTR82e-keLtk, uri: https://127.0.0.1:14000/chalZ/LPfZr4VUqBDYJ59pvHYHDMtdb4H3dyACxzQX2eEFRUo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/I3EPUVZeUyoJiDMdwO8UoPVn82KagSsBTR82e-keLtk: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/XBotTmHZoWUgAebx6B8JcZqDJu5guHl0pWq5UJqLOoc acme-client: challenge, token: aUeiXj8Rhw1M3YoxokzYidCttae5PQZtYIwb4nKGmYo, uri: https://127.0.0.1:14000/chalZ/oAVgZ8tjoUk22fQzor6BoZJOzTV7zYmJSH9NhmX5q64, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/aUeiXj8Rhw1M3YoxokzYidCttae5PQZtYIwb4nKGmYo: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/l8qOI3wgZDm2Xf58eCZuITmk8pt_IQw18QRLWD81sXU acme-client: challenge, token: Etp0XNLmY2mC4dJEGdpHUPUJtd_IXlL3oidUqXOYitk, uri: https://127.0.0.1:14000/chalZ/UPwLqoHkD1yIZeE34XdmJlOrhfToYuK26L-CRmRg55s, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Etp0XNLmY2mC4dJEGdpHUPUJtd_IXlL3oidUqXOYitk: created acme-client: https://127.0.0.1:14000/chalZ/LPfZr4VUqBDYJ59pvHYHDMtdb4H3dyACxzQX2eEFRUo: challenge acme-client: https://127.0.0.1:14000/chalZ/oAVgZ8tjoUk22fQzor6BoZJOzTV7zYmJSH9NhmX5q64: challenge acme-client: https://127.0.0.1:14000/chalZ/UPwLqoHkD1yIZeE34XdmJlOrhfToYuK26L-CRmRg55s: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/UyS0zcBhQdURxaKBnF4sb3w34cB-KV_v3HuTUPDf1yg acme-client: challenge, token: I3EPUVZeUyoJiDMdwO8UoPVn82KagSsBTR82e-keLtk, uri: https://127.0.0.1:14000/chalZ/LPfZr4VUqBDYJ59pvHYHDMtdb4H3dyACxzQX2eEFRUo, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XBotTmHZoWUgAebx6B8JcZqDJu5guHl0pWq5UJqLOoc acme-client: challenge, token: aUeiXj8Rhw1M3YoxokzYidCttae5PQZtYIwb4nKGmYo, uri: https://127.0.0.1:14000/chalZ/oAVgZ8tjoUk22fQzor6BoZJOzTV7zYmJSH9NhmX5q64, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/l8qOI3wgZDm2Xf58eCZuITmk8pt_IQw18QRLWD81sXU acme-client: challenge, token: Etp0XNLmY2mC4dJEGdpHUPUJtd_IXlL3oidUqXOYitk, uri: https://127.0.0.1:14000/chalZ/UPwLqoHkD1yIZeE34XdmJlOrhfToYuK26L-CRmRg55s, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/I-YMpaRQ5BNMTS3whgOv0D-IrI-epjB3y05mDpI8DRE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/23368bf078d5fa06: 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/3686c19beb268cb0 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/3686c19beb268cb0 acme-client: https://127.0.0.1:14000/finalize-order/D8_RTLqEja02ySshEPjwKS4ajOHXh8-tzXVhaMNqF3A: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7d2e28be21fa6879: 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/3686c19beb268cb0 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"