Mercurial Hosting > luan
changeset 2108:9df13949912f ssltesting
minor
| author | Violet7 |
|---|---|
| date | Tue, 16 Dec 2025 18:57:44 -0800 |
| parents | 5815f44197ee |
| children | 8f5863f0870d |
| files | host/test/test_renew_ssl.luan src/luan/host/Https.luan |
| diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
diff -r 5815f44197ee -r 9df13949912f host/test/test_renew_ssl.luan --- a/host/test/test_renew_ssl.luan Tue Dec 16 18:45:23 2025 -0800 +++ b/host/test/test_renew_ssl.luan Tue Dec 16 18:57:44 2025 -0800 @@ -13,7 +13,7 @@ local luanhost_dir = uri("file:..") local dry_run = true local files = Https.get_files(domain, site_dir) - +logger.info(files) site_dir.exists() or error() Https.renew_ssl(files, 0,domain,site_dir,luanhost_dir,dry_run)
diff -r 5815f44197ee -r 9df13949912f src/luan/host/Https.luan --- a/src/luan/host/Https.luan Tue Dec 16 18:45:23 2025 -0800 +++ b/src/luan/host/Https.luan Tue Dec 16 18:57:44 2025 -0800 @@ -76,7 +76,7 @@ local function Issue_cert(domain, site_dir, luanhost_dir, dry_run, files) local luanhost_dir_str = luanhost_dir.canonical().to_string() - local csr_file_str = files.csr_file_str.canonical().to_string() + local csr_file_str = files.csr_file.canonical().to_string() -- Finally, get our cert from letsencrypt. local cmd = luanhost_dir_str..[[/acme_tiny \
