mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
fix hostname vs server id delineation
This commit is contained in:
@@ -25,7 +25,7 @@ import Constants
|
||||
renewSslLeafCert :: AgentCtx -> IO ()
|
||||
renewSslLeafCert ctx = do
|
||||
let base = appFilesystemBase . appSettings $ ctx
|
||||
hn <- injectFilesystemBase base getStart9AgentHostname
|
||||
hn <- (<> ".local") <$> injectFilesystemBase base getStart9AgentHostname
|
||||
tor <- injectFilesystemBase base getAgentHiddenServiceUrl
|
||||
putStr @Text "SSL Renewal Required? "
|
||||
needsRenew <- doesSslNeedRenew (toS $ entityCertPath hn `relativeTo` base)
|
||||
|
||||
@@ -467,7 +467,7 @@ syncConvertEcdsaCerts = SyncOp "Convert Intermediate Cert to ECDSA P256" check m
|
||||
|
||||
replaceDerivativeCerts :: (HasFilesystemBase sig m, Fused.Has (Error S9Error) sig m, MonadIO m) => m ()
|
||||
replaceDerivativeCerts = do
|
||||
hn <- getStart9AgentHostname
|
||||
hn <- (<> ".local") <$> getStart9AgentHostname
|
||||
tor <- getAgentHiddenServiceUrl
|
||||
|
||||
caKeyPath <- toS <$> getAbsoluteLocationFor rootCaKeyPath
|
||||
|
||||
Reference in New Issue
Block a user