B4J Tutorial [Server] SSL Connections - Erel    Mar 13, 2025   (15 reactions)   tags: B4J, ports SSL article to learn more about HTTPS: http://en.wikipedia.org/wiki/HTTP_Secure SSL connections... configuration is done with SslConfiguration object. This code should be called before the server is stared. Private Sub ConfigureSSL (SslPort As Int) 'example of SSL connector configuration Dim ssl As SslConfiguration ssl.Initialize ssl.SetKeyStorePath(File.DirApp, "test2.keystore") 'path to keystore file ssl.KeyStorePassword = "123456" ssl... B4J Library [server] LetsEncrypt SSL certificates - Erel    Mar 3, 2024   (21 reactions) LetsEncrypt provides SSL certificates for free. The certificates are created and renewed using...'t close to its expiration date.
Using OpenSSL + Java keytool to convert the certificate to a Java... B4J Library ABKeystoreSSL: SSL Certificate generator using Let's Encrypt - alwaysbusy    Nov 8, 2024   (17 reactions) This library allows you to generate SSL Certificates without the need of using the openssl and....com/ABKeystoreSSL1.08b.zip Save the generated user.key and domain.key in a secure place! IF... instead) ABKeystoreSSL Author: Alain Bailleul Version: 1.07 ABKeystoreSSL Functions: GenerateJKS... (SslConfiguration As SslContextFactory) Reloads the SslConfiguration of the jServer Based... Public ABM As ABMaterial 'ignore ' JKS variables Public JKS As ABKeystoreSSL Public... B4J Code Snippet [B4X] Trust all SSL Socket - Erel    Apr 21, 2021   (7 reactions)   tags: B4X Trust all SSL Socket Platforms: B4J (1st post) and B4A (2nd post) This code creates an SSL socket that doesn't verify the server certificate. Depends on jNet / Net and JavaObject libraries. Private Sub CreateTrustAllSSLSocket (EventName As String) As Socket Dim socket As Socket socket.Initialize(EventName... As JavaObject SSLContext = SSLContext.InitializeStatic("javax.net.ssl.SSLContext").RunMethod... java.base/sun.security.ssl=b4j ... B4J Question [solved] Configure ServerApp SSL with LetsEncrypt-Certifikate? - DonManfred    Jan 12, 2025 Hello, i have a few questions regarding this
https://www.b4x.com/android/forum/threads/server-ssl-connections.40130/
Asume i have a working LetsEncrypt-Certificate running on my Webserver. On the same machine i´m running multiple B4J Server apps. It is a Windows VPS.
What do i need to do to create a keystore with this Certificate to use it in my b4j server apps?
Asking another way: What kind... B4J Question b4j does not open an https ssl site, what to do? - Xfood    May 13, 2025 Good morning,
and for 2 days I've been trying to open this site from b4j with webview, I've ... Wish Access to sslFactory in jServer or implementation of SslContextFactory reload - OliverA    Feb 25, 2021   (1 reaction) Looks like Jetty supports "hot loading" of the keystore used for HTTPS connections (necessary when trying to update certificate without having to stop/start the whole server process). In order to implement this though, I would either need access to the private sslFactory variable....project/blob/e81c847998fd99fd9a46e2bc15f191e38c2cc33d/jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SslContextFactory.java#L1877 This link shows the method of SslContextFactory that I would try to... B4J Question [SOLVED] Connecting to Moqsuitto MQTT Broker-Server with Credentials/SSL Strange Problem ! - Magma    Sep 21, 2022 Hi there... Well I have a very very strange problem... First of all - I am using the same code to connect at 3rd party server having "Credentials" and "SSL" (the same way - with lets encrypt). Works at debug/release and standalone package perfect. 1) I ve installed at my Debian VPS server a mosquitto broker 3.1/v3.1.1 as saying... not allowing anonymous !, created ssl for... (mosquitto.zip)_... if helps using Let's Encrypt SSL... and without it ... with simple tcp access had... Share My Creation B4J RabbitMQ Client SSL/Username/Password - Magma    Mar 13, 2025   (5 reactions) Well,
MQTT is a very good Protocol - but what about RabbitMQ ?
162518
Do you wanna try it ?
me too...
You will need the following:... B4A Code Snippet [B4X] MQTT SSL and Self Signed Certificates - Erel    Jan 1, 2019   (13 reactions)   tags: MQTT There are two client libraries: jMQTT for B4A and B4J and iMQTT for B4i. Both libraries support SSL connections. You just need to change the URI scheme to ssl:// instead of tcp://: mqtt.Initialize("mqtt", "ssl://127.0.0.1:17178", clientId) If the broker is using a self signed... As JavaObject SSLContext = SSLContext.InitializeStatic("javax.net.ssl.SSLContext").RunMethod... over SSL: broker.Initialize("", 0) 'set the non-SSL port to 0 broker.SetUserAndPassword... Page: 1   2   3   4   5   6   7   |