Compiling the server as standalone, does not run on port ConfigureSSL(443).
The screen flashes and exits.
However, it does run on a normal port (i.e. srvr.Port = ????) without ConfigureSSL(????).
Please advise.
The screen flashes and exits.
However, it does run on a normal port (i.e. srvr.Port = ????) without ConfigureSSL(????).
Please advise.
SERVER CODE:
Sub Process_Globals
Private srvr As Server
End Sub
Sub AppStart (Args() As String)
srvr.Initialize("srvr")
ConfigureSSL(443)
srvr.LogsFileFolder = File.Combine(File.DirApp, "logs")
srvr.AddHandler("/demo/*", "DemoHandler", False)
srvr.Start
Log("Server started")
StartMessageLoop
End Sub
Private Sub ConfigureSSL (SslPort As Int)
Dim ssl As SslConfiguration
ssl.Initialize
ssl.SetKeyStorePath(File.DirApp,"jetty.keystore")
ssl.KeyStorePassword = "123456"
srvr.SetSslConfiguration(ssl, SslPort)
End Sub