Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Installer.cls
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,14 @@ XData setup

ClassMethod AddSSLConfiguration()
{
Set sc = $$$OK
Set host = "zpmregistry"
New $NAMESPACE
Set $NAMESPACE = "%SYS"
If '##class(Security.SSLConfigs).Exists(host) {
Do ##class(Security.SSLConfigs).Create(host)
Set sc = ##class(Security.SSLConfigs).Create(host)
}
Return host
Return sc
}

ClassMethod setup(ByRef pVars, pLogLevel As %Integer = 3, pInstaller As %Installer.Installer, pLogger As %Installer.AbstractLogger) As %Status [ CodeMode = objectgenerator, Internal ]
Expand Down
5 changes: 3 additions & 2 deletions src/cls/ZPM/Utils.cls
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,14 @@ ClassMethod SQLsetup() As %Status

ClassMethod AddSSLConfiguration() As %Status
{
Set sc = $$$OK
Set host = ..#SSLCONFIGNAME
New $NAMESPACE
Set $NAMESPACE = "%SYS"
If '##class(Security.SSLConfigs).Exists(host) {
Do ##class(Security.SSLConfigs).Create(host)
Set sc = ##class(Security.SSLConfigs).Create(host)
}
Return host
Return sc
}

}