comparison host/test/test_renew_ssl.luan @ 2101:ad0a9ef64827 ssltesting

Https.renew_ssl
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 15 Dec 2025 23:05:49 -0700
parents host/test/test_https.luan@c0847b30833f
children 38d4b0a443ae
comparison
equal deleted inserted replaced
2100:665d227f06f3 2101:ad0a9ef64827
1 local Luan = require "luan:Luan.luan"
2 local error = Luan.error
3 local do_file = Luan.do_file or error()
4 local Io = require "luan:Io.luan"
5 local uri = Io.uri or error()
6 local Logging = require "luan:logging/Logging.luan"
7 local logger = Logging.logger "test_https"
8
9
10 local Https = require "classpath:luan/host/Https.luan"
11
12 local domain = "https.me.luan.software"
13 local site_dir = uri("file:local")
14 local luanhost_dir = uri("file:..")
15 local dry_run = true
16
17 site_dir.exists() or error()
18
19 Https.renew_ssl(0,domain,site_dir,luanhost_dir,dry_run)