Hi,
I follow this thread to setup ssl for ABM mini template
I have succesfully created a keystore file (steps 1-4 from post #1), but steps 5-10 not done yet.
I have these codes in my project
When I type localhost:25000/MyWeb/ it showed OK but the browser address bar showed http://localhost:25000/MyWeb, and give warning that this is not a secure web.
There is no different wheater use ssl or not. Is this normal?
I follow this thread to setup ssl for ABM mini template
B4J Server: Requesting and Installing SSL Certificate
I thought I would share how I requested and installed a SSL certificate for my B4J server. In my case I used namecheap.com to purchase a $9 SSL certificate. I already had a domain name and a server (on AWS). I had tried this with the free cert from StartSSL but that didnt work. You need to do...
www.b4x.com
I have succesfully created a keystore file (steps 1-4 from post #1), but steps 5-10 not done yet.
I have these codes in my project
B4X:
Sub AppStart (Args() As String)
Server.Initialize("", DonatorKey, "test") ' Application = ' the handler that will be used in the url e.g. http://localhost:51042/template
Server.Port = 25000
Server.PortSSL = 55555
If Server.PortSSL <> 0 Then
Server.StartServerHTTP2("keystore.jks", "mypass", "mypass")
Else
Server.StartServer
End If
StartMessageLoop
End Sub
When I type localhost:25000/MyWeb/ it showed OK but the browser address bar showed http://localhost:25000/MyWeb, and give warning that this is not a secure web.
There is no different wheater use ssl or not. Is this normal?
Last edited: