ssl

  1. 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...
  2. 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)...
  3. 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...
  4. 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 :(...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. avalle

    B4J Question Configuring TLS/SSL ciphers for Jetty web server

    I'm running a web server written in B4J using the Jetty service. I have configured it for HTTPS access, so I've run https://www.ssllabs.com test to check the quality of the TLS protocol. The TLS certificate looks good, but the server rates as "B" quality due to a couple of things: This server...
  10. Alexander Stolte

    Android Question jRDC2 Trust anchor for certification path not found

    Hello, I successfully implemented SSL on the jRDC2, with a trusted certificate, in the browser it works. But if i want to connect from my App to the RDC, then comes this 2 Errors: ERROR9000: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for...
  11. Lucas Eduardo

    Android Question SSL Error Android 5.1 or bottom

    Hello, i'm new in forum, i'm having a problem with SSL. When i try to login in my app i recive this error only with android 5.1 or bottom. javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. If i change the...
  12. Alexander Stolte

    B4J Question SSL no valid keystore

    Hello, i follow these steps. Erel was linking to a page to create a keystore file, i follow these steps and have create an keystore. Now if i call this function: Private Sub ConfigureSSL (SslPort As Int) 'example of SSL connector configuration Dim ssl As SslConfiguration...
  13. Alexander Stolte

    B4J Question jRDC2 and SSL is this code right?

    Hello, i am currently in the process of providing my VPS with SSL and I wanted to ask if the code in jRDC2 + SSL is correct or if I need to change something. This is the normal jRDC2 code + the function for SSL Sub Process_Globals Public srvr As Server Public rdcConnector1 As...
  14. Jamie8763

    B4A Library SSLPins

    SSL Certificate pinning inspired by https://www.b4x.com/android/forum/threads/okhttp-set-parameter-with-inline-java.64748/ post but updated to work. You need to change sha256/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= with the required public key. Use doCheckRequest to find the correct key...
  15. hatzisn

    Android Question Trust anchor for certification path not found.

    Hi everybody, I am facing a problem with accessing a site in Android device and emulator. I get the following error: javax.net.ssl.SSLHandshakeException:java.security.cert.CertPathValidatorException:Trust anchor for certification path not found. I use the OkHttp and OkHttpUtils2 libraries...
Top