ssl

  1. H

    Android Tutorial Understanding Network security configuration

    Every developer must understand this article if developing any kind of network communication app. Android os recent versions put end apps users privacy at the heart of its platform, the network communication between apps MUST BE secure by default, meaning connection must be to HTTPS not HTTP ...
  2. F

    Android Question Mqtt - javax.net.ssl.SSLProtocolException

    Hi, I have a problem with mqtt library version 1.01 I have to connect via ssl connection to my mosquitto server; I followed the tutorial at this link https://www.b4x.com/android/forum/threads/b4x-mqtt-ssl-and-self-signed-certificates.100973/#content, but I have these errors...
  3. Dave O

    B4J Question best Linux distribution for simple cloudKVS B4J server?

    Hi all, I created a B4A checklist app that stores data locally on the device, but now I'd like to offer users the option to collaborate on their lists with others, so I'm planning to use cloudKVS on a VPS. (Already have a test app working on a Windows laptop with 2 Android devices connecting...
  4. A

    B4J Question WebApp: SSL & .pfx question.

    Hi. This is not a B4J question but it is related to using certificates. Actually I was asked to use a specific certificate to a B4J WebApp. I ask it here because there is people that have some expirience with SSL. I do have a specific pfx certificate. I do add it to .keystore using the...
  5. G

    B4J Question ServerSocket, switch client socket to TLS

    I have a (legacy) solution written several years ago in VB.net which is an SMTP server. Part of the solution includes responding to the STARTTLS command which effectively converts the active client socket from plain to SSL. I'm looking to convert this to B4J, and have created a very simple...
  6. Peachy

    B4J Question [ABMaterial] Websocket losing connection

    Hello, having an issue with our ABMaterial service, we have it set up behind an nginx reverse proxy which connects through ssl to cloudflare for our URL. For some reason recently the pages websocket has started to drop connection and reload itself, this happens on any page. if you would like to...
  7. naldoxable

    Bug? [SOLVED] Received fatal alert: protocol_version

    Dear @Erel, I'm experiencing issues using my app with jOkHttpUtils2 outside B4J if I build the standalone package. I have already read other posts in this forum but I'm not sure how to proceed. I'm using the last version of B4J with openJDK 11 as written in the installation guide. I'm using...
  8. aeric

    Share My Creation JQuiz - API Server for B4XQuiz

    This is the full source code for B4XQuiz server. SQL script to generate database in post #2 For B4XQuiz client app, please check: https://www.b4x.com/android/forum/threads/b4jquiz-desktop-app.124202/ Update It is now easier to create Web API Server using B4X Template Check...
  9. A

    B4J Question jRDC2 +SSL problem

    Hi All, I am trying to implement SSL in jRDC2, but I am not sure what I am doing wrong. can someone please help with the attached example? Note: I have created keystore file at my cloud linux VM - but it is not on my windows PC, is this the correct process? if not and the keystore needs to...
  10. B

    Android Question OkHTTPUtlis2 Connection problem on Android 10

    Hello, I post data to my server with OkHttpUtils2 and it works. But my server not have SSL and that is why my program does not work in Android 10. I do not know what to do to connect to the server in Android 10 without SSL.
  11. Angel Garcia

    B4J Question jRDC2 with SSL example

    Hello all, Wondering if there is an example of jRDC2 with SSL connection, just in order to put me on the right direction. First I'll go threw this tutorial: https://www.b4x.com/android/forum/threads/b4j-server-requesting-and-installing-ssl-certificate.55194/#post-346876 And later go threw this...
  12. W

    B4J Library AutoKeyGenerator: create Jetty compatible certificates using LEt's Encrypt and CloudFlare

    Attached the source code and some description on a tool I wrote to generate SSL certificates to be used in B4J http server applications. It generates and renews certificates (even wildcard ones) on Let's Encrypt and communicates with the CloudFlare API to do DNS challenging. The code has been...
  13. R

    Android Question Webview.InitializeAcceptAll

    I am using a webview to load an URL. The code worked fine until I try to load any 'https://' URL and then I get a blank page. I see several threads showing methods of ignoring/disabling the credential check, but nothing for working with a webview directly. The B4J section showed an example of...
  14. W

    Android Question OkHttpUtils2 and SSL-Problem (maybe TLS?) [SOLVED]

    Hi! I want to download a text-file from a webserver via https (unfortunally the server doesn't support http). I'm using the library: OkHttpUtils2 on Android 4.4.2 This is my code: Dim j As HttpJob j.Initialize("", Me) j.Download("https://services.swpc.noaa.gov/text/geoalert.txt") Wait For (j)...
  15. bitben

    Android Question B4A SSL Handshake Error

    Hello, yes i know there are many threads about this, but i have found no solution to my - i think - special problem. I need to connect to this url: https://ssfbln.dyndns.org:444/mb/index.asp There is no need to install an sec. certificate, i can load it and login in chrome without certificate...
  16. MarkusR

    B4J Question [solved] problem client server solution with ssl

    so i made a server in b4j with jServer (see #3) it get a request and it send a list with userdefined type as bytes as response. that works fine if me test this from browser. now i try to make a b4j app that make this get request vis https:// + username & password but i get a error here :(...
  17. MarkusR

    B4J Question authentication identity check at server?

    I try to use this solution with ssl: [Server] Data Collection Solution - Device, Desktop and Web reports https://www.b4x.com/android/forum/threads/server-data-collection-solution-device-desktop-and-web-reports.37254/#content In the DataCollectionDesktop App i will use Username & Password...
  18. MarkusR

    Android Question Server App with Network & TCP Socket + SSL

    hello, how to make this example b4j network here work with ssl? https://www.b4x.com/android/forum/threads/b4x-network-asyncstreams-b4xserializator.72149/ i set the server into listen after a button click. if me click connect from "client" the server show a connect but the client stay in status...
  19. MarkusR

    B4J Question [solved] B4J Server at Home with SSL (Jetty)

    hello, i have a problem to get data if me used a http(s) server. it not response if me test local at same pc or from web. if me use port 80 with without ssl config it works fine local and extern. in firefox i got a message selfsigned cert if not ok but i clicked ok for allow then nothing...
  20. LucaMs

    Android Question [solved] WSS - Trust anchor for certification path not found.

    I have a b4j websocket server certainly reachable from outside my network (I mean that I don't have problems with ports, firewalls, ...). I created the keystore as decribed in this tutorial (more precisely as described in wiki.eclipse... linked in that tutorial) and I get that error message...
Top