letsencrypt::Client method updateConfiguration (protected)

 <instance of letsencrypt::Client[i]> updateConfiguration

Defined in /usr/local/ns/tcl/letsencrypt/letsencrypt-procs.tcl

Update the NaviServer config file by reading its content and update it in memory before writing it back to disk (if changed).

Testcases:
No testcase defined.
Source code:
:log "Checking the NaviServer config file: "
set C [:readFile [ns_info config]]
set origConfig $C

#
# Check, if nsssl module is already loaded
#
set nssslLoaded 0
foreach d [ns_driver info] {
    if {[dict get $d protocol] eq "https"} {
        set nssslLoaded 1
        break
    }
}
if {$nssslLoaded} {
    :log "The nsssl driver module is apparently already loaded.<br>"
} else {
    :log "The nsssl driver module is apparently already not loaded, please configure it first.<br>"
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: