Hello, this is my Main module of B4J server
Then this is server log
this is browser
still cannot getting http/2 working, certificate is valid, im following this guide : https://www.b4x.com/android/forum/threads/server-conscrypt-and-http-2.93040/
any suggestion?
Main module:
If settings.Get("use_ssl") = "true" Then
srv.Http2Enabled = True
StartSSL
Else
srv.Port = settings.Get("port")
End If
srv.Start
Log("Server started.")
StartMessageLoop
private Sub StartSSL
Log("Using SSL")
Dim ssl As SslConfiguration
ssl.Initialize
ssl.SetKeyStorePath(File.DirApp,"mykeystore.jks")
ssl.KeyStorePassword = "123456"
ssl.KeyManagerPassword = "123456"
srv.SetSslConfiguration(ssl,443)
srv.AddFilter("/*","sslFilter",False)
End Sub
Then this is server log
Server log:
Sep 30 08:54:21 vm-app java[21132]: 2023-09-30 08:54:21.155:INFO :oejus.SslContextFactory:main: x509=X509@4e628b52(1,h=[xxx.com],a=[],w=[xxx.com]) for Server@51ec2df1[provider=null,keyStore=file:xxx>
Sep 30 08:54:21 vm-app java[21132]: 2023-09-30 08:54:21.306:INFO :oejs.AbstractConnector:main: Started ServerConnector@5f574cc2{SSL, (ssl, alpn, h2, http/1.1)}{0.0.0.0:443}
this is browser
still cannot getting http/2 working, certificate is valid, im following this guide : https://www.b4x.com/android/forum/threads/server-conscrypt-and-http-2.93040/
any suggestion?
Last edited: