B4J Tutorial [Server] SSL Connections - Erel    Jun 28, 2021   (15 reactions)   tags: B4J, ports SSL article to learn more about HTTPS: http://en.wikipedia.org/wiki/HTTP_Secure SSL connections...-and-certificates-JDK-keytool The server 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... B4J Library [server] LetsEncrypt SSL certificates - Erel    Mar 3, 2024   (20 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 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] 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... 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 Library ABKeystoreSSL: SSL Certificate generator using Let's Encrypt - alwaysbusy    Mar 15, 2021   (16 reactions) This library allows you to generate SSL Certificates without the need of using the openssl and....com/ABKeystoreSSL1.08.zip Save the generated user.key and domain.key in a secure place! IF YOU LOSE...) ABKeystoreSSL Author: Alain Bailleul Version: 1.07 ABKeystoreSSL Functions: GenerateJKS... be accessible on port 80. Is for example your Apache Server. ReloadJKS (SslConfiguration As SslContextFactory) Reloads the SslConfiguration of the jServer Based on the reloadSSLConfiguration method... B4J Question [Solved] javax.net.ssl.SSLHandshakeException - bdunkleysmith    Jul 4, 2022 with javax.net.ssl.SSLHandshakeException errors, however of recent times the applications....ssl.SSLHandshakeException: Received fatal alert: handshake_failure at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source) at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source) at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source) at java.base/sun.security.ssl.Alert$AlertConsumer.consume(Unknown Source) at java.base/sun.security.ssl... B4A Code Snippet [B4X] MQTT SSL and Self Signed Certificates - Erel    Jan 1, 2019   (11 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... B4J Question [SOLVED] B4JPackager11 error javax.net.ssl.SSLHandshakeException - Hendrik Wijaya    May 25, 2019 :\B4JPackager11\Objects\temp\build\bin>java.exe @release_java_modules.txt -m b4j/b4j.webapps.main javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source) at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source) at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source) at java.base/sun.security.ssl.Alert$AlertConsumer.consume(Unknown Source) at java.base/sun.security... B4J Tutorial How to Install an SSL Certificate in B4J Server (Jetty) - tummosoft    Jun 27, 2022   (10 reactions) 130841
This is a easy way to install SSL Certificate on a VPS with Jetty.
(1) Goto ZeroSSL to create free sll for your domain: https://zerossl.com/
(2) Download your Certificate (includes 3 files... computer. (https://slproweb.com/products/Win32OpenSSL.html)
(4) Joint Certificate, open a new command prompt (C:\Program Files\OpenSSL-Win64\bin).
Run:
openssl pkcs12 -export -in d:\certificate.crt... Page: 1   2   3   4   5   6   7   |