==== 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" 90730 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/2a50e0705a081af9 acme-client: dochngreq: https://127.0.0.1:14000/authZ/wiBsvj393sblPmHThTZggHMgV_T9YzoJxL9WIsBRd7A acme-client: challenge, token: BF6zPLI_QTGAME6nZsHoxYo8V8J96MqcWd08Cnl-Fa8, uri: https://127.0.0.1:14000/chalZ/LbM_7Wge909Bo5Aben6kG8oJjO9iECsBcbq8zngAPXY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/BF6zPLI_QTGAME6nZsHoxYo8V8J96MqcWd08Cnl-Fa8: created acme-client: https://127.0.0.1:14000/chalZ/LbM_7Wge909Bo5Aben6kG8oJjO9iECsBcbq8zngAPXY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/wiBsvj393sblPmHThTZggHMgV_T9YzoJxL9WIsBRd7A acme-client: challenge, token: BF6zPLI_QTGAME6nZsHoxYo8V8J96MqcWd08Cnl-Fa8, uri: https://127.0.0.1:14000/chalZ/LbM_7Wge909Bo5Aben6kG8oJjO9iECsBcbq8zngAPXY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/oYWJk7zn_tV9EJIws8zEb86rntDvVXi7sTyhBTTqo1I: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/75e4c486af391511: certificate account key: https://127.0.0.1:14000/my-account/2a50e0705a081af9 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/2a50e0705a081af9 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/2a50e0705a081af9 acme-client: dochngreq: https://127.0.0.1:14000/authZ/R0WmeU9BP-phAS8cxwdsIRANmFwf1nHnahfI5gmYPWA acme-client: challenge, token: a0A86OidXo8fN0F8zTp9m5YC7nErXdq2glBp_oENPmQ, uri: https://127.0.0.1:14000/chalZ/P0HmnXs9zwRLr0r3hDqmssGQ7a_-YS0Rmnx1erNneFY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/a0A86OidXo8fN0F8zTp9m5YC7nErXdq2glBp_oENPmQ: created acme-client: https://127.0.0.1:14000/chalZ/P0HmnXs9zwRLr0r3hDqmssGQ7a_-YS0Rmnx1erNneFY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/R0WmeU9BP-phAS8cxwdsIRANmFwf1nHnahfI5gmYPWA acme-client: challenge, token: a0A86OidXo8fN0F8zTp9m5YC7nErXdq2glBp_oENPmQ, uri: https://127.0.0.1:14000/chalZ/P0HmnXs9zwRLr0r3hDqmssGQ7a_-YS0Rmnx1erNneFY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/yPJrJL7c0BbCqO6FRC1BUqjRhkrCR8IyZhRr5MazJK8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0e311427fd53e6e8: 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/2a50e0705a081af9 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/2a50e0705a081af9 acme-client: dochngreq: https://127.0.0.1:14000/authZ/9Sx7LAb5QAcf-QZsW50_yjnK02AOq-iZRpXVZL260j0 acme-client: challenge, token: cgwpZj3iuG9DiGVt3FQaWeP_z_YUFpTq9VLWZ6fxBYU, uri: https://127.0.0.1:14000/chalZ/lJoXpa8bQlocP_QC3byEh9Wdzu6OfjFXESqUHe7PZMA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/cgwpZj3iuG9DiGVt3FQaWeP_z_YUFpTq9VLWZ6fxBYU: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/zIM2HKz3uYHoSWTO36JxLDx51ypdoHlo1srdoRcAdFY acme-client: challenge, token: V-9CyfWi8zrxOez_hhkSfxTxW5DjxTefHgHWN-HcKUg, uri: https://127.0.0.1:14000/chalZ/1gWCbk3a4DngD9sV5w0n2rtsdsvx1YGmNB3l2DxxGd4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/V-9CyfWi8zrxOez_hhkSfxTxW5DjxTefHgHWN-HcKUg: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/wiBsvj393sblPmHThTZggHMgV_T9YzoJxL9WIsBRd7A acme-client: challenge, token: BF6zPLI_QTGAME6nZsHoxYo8V8J96MqcWd08Cnl-Fa8, uri: https://127.0.0.1:14000/chalZ/LbM_7Wge909Bo5Aben6kG8oJjO9iECsBcbq8zngAPXY, status: 2 acme-client: https://127.0.0.1:14000/chalZ/lJoXpa8bQlocP_QC3byEh9Wdzu6OfjFXESqUHe7PZMA: challenge acme-client: https://127.0.0.1:14000/chalZ/1gWCbk3a4DngD9sV5w0n2rtsdsvx1YGmNB3l2DxxGd4: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/9Sx7LAb5QAcf-QZsW50_yjnK02AOq-iZRpXVZL260j0 acme-client: challenge, token: cgwpZj3iuG9DiGVt3FQaWeP_z_YUFpTq9VLWZ6fxBYU, uri: https://127.0.0.1:14000/chalZ/lJoXpa8bQlocP_QC3byEh9Wdzu6OfjFXESqUHe7PZMA, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/zIM2HKz3uYHoSWTO36JxLDx51ypdoHlo1srdoRcAdFY acme-client: challenge, token: V-9CyfWi8zrxOez_hhkSfxTxW5DjxTefHgHWN-HcKUg, uri: https://127.0.0.1:14000/chalZ/1gWCbk3a4DngD9sV5w0n2rtsdsvx1YGmNB3l2DxxGd4, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/wiBsvj393sblPmHThTZggHMgV_T9YzoJxL9WIsBRd7A acme-client: challenge, token: BF6zPLI_QTGAME6nZsHoxYo8V8J96MqcWd08Cnl-Fa8, uri: https://127.0.0.1:14000/chalZ/LbM_7Wge909Bo5Aben6kG8oJjO9iECsBcbq8zngAPXY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/_KERtGSTLwXK6WnDcYqfFL2DYaYALdAsC7iyURAbAj0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/277b960fdfb48e62: 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/2a50e0705a081af9 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/2a50e0705a081af9 acme-client: dochngreq: https://127.0.0.1:14000/authZ/S6v83jfuFjBm8R07qvyzLfR0eCsQhWu6Ds_pttdgGlg acme-client: challenge, token: XzZil10vWkXM7KZ0oO-ZGT_pF9UKZ5YXGJvemuwV9Hk, uri: https://127.0.0.1:14000/chalZ/-9i_U0Pbn7NioAjwI2IgYJxQ0AnDSSO7OtZpQe1H1o4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/XzZil10vWkXM7KZ0oO-ZGT_pF9UKZ5YXGJvemuwV9Hk: created acme-client: https://127.0.0.1:14000/chalZ/-9i_U0Pbn7NioAjwI2IgYJxQ0AnDSSO7OtZpQe1H1o4: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/S6v83jfuFjBm8R07qvyzLfR0eCsQhWu6Ds_pttdgGlg acme-client: challenge, token: XzZil10vWkXM7KZ0oO-ZGT_pF9UKZ5YXGJvemuwV9Hk, uri: https://127.0.0.1:14000/chalZ/-9i_U0Pbn7NioAjwI2IgYJxQ0AnDSSO7OtZpQe1H1o4, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/-YbHor8vgF8N4Le5nhcQa2zgwpPuRpEG9FeVjmHBqLA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/11e03501416d66bb: 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/2a50e0705a081af9 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"