mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
fixes ssl renewal, replaces rsa with ecdsa for derivative certs
This commit is contained in:
@@ -65,6 +65,7 @@ import Lib.WebServer
|
||||
import Model
|
||||
import Settings
|
||||
import Lib.Background
|
||||
import qualified Daemon.SslRenew as SSLRenew
|
||||
|
||||
appMain :: IO ()
|
||||
appMain = do
|
||||
@@ -187,6 +188,10 @@ startupSequence foundation = do
|
||||
void . forkIO . forever $ forkIO (runReaderT AppNotifications.fetchAndSave foundation) >> threadDelay 5_000_000
|
||||
withAgentVersionLog_ "App notifications refreshing"
|
||||
|
||||
withAgentVersionLog_ "Initializing SSL certificate renewal loop"
|
||||
void . forkIO . forever $ forkIO $ SSLRenew.renewSslLeafCert foundation
|
||||
withAgentVersionLog_ "SSL Renewal daemon started"
|
||||
|
||||
-- reloading avahi daemon
|
||||
-- DRAGONS! make sure this step happens AFTER system synchronization
|
||||
withAgentVersionLog_ "Publishing Agent to Avahi Daemon"
|
||||
|
||||
Reference in New Issue
Block a user