changeset 2079:d9d6d25e28c4 ssltesting

minor
author Violet7
date Tue, 09 Dec 2025 17:15:47 -0800
parents ac991d32dea5
children d7de1f976c1d
files src/luan/host/https.luan
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
diff -r ac991d32dea5 -r d9d6d25e28c4 src/luan/host/https.luan
--- a/src/luan/host/https.luan	Tue Dec 09 17:11:27 2025 -0800
+++ b/src/luan/host/https.luan	Tue Dec 09 17:15:47 2025 -0800
@@ -106,10 +106,9 @@
 					logger.info("create csr\n"..s)
 
 					-- Finally, get our cert from letsencrypt.
-					local cmd = [[
-						]]..luanhost_dir_str..[[/acme_tiny --account-key ]]..luanhost_dir_str..[[/local/tiny_account.key \
+					local cmd = luanhost_dir_str..[[/acme_tiny --account-key ]]..luanhost_dir_str..[[/local/tiny_account.key \
 						--csr ]]..csr_file_str..[[ \
-						--acme-dir ]]..acme_challenges..[[ \
+						--acme-dir ]]..acme_challenges.canonical().to_string()..[[ \
 					]]
 
           -- TODO: this often doesn't work and I don't know if it's
@@ -120,6 +119,7 @@
 						cmd = cmd.." --directory-url "..dry_run_dir_url
 					end
 					cmd = cmd.." > "..tmp_cert_out.canonical().to_string()
+          logger.info("acme-tiny commandline:\n")
 
 					local s = uri("bash:"..cmd).read_text()
 					logger.info("get cert signed by letsencrypt\n"..s)