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: ca_bundle.crt, certificate.crt, private.key)
(3) Download Openssl if you have not yet on your comp B4J Library [server] LetsEncrypt SSL certificates - Erel Mar 03, 2024 (21 reactions) LetsEncrypt provides SSL certificates for free. The certificates are created and renewed using a tool named certbot. The process can be a bit confusing, especially if you want to automate it.
As B4J servers can run "forever" a solution that automates the steps and allows hot reloading of the renewed B4J Tutorial B4J Server: Requesting and Installing SSL Certificate - tchart Jun 17, 2015 (16 reactions) The other certificates build up the chain of trust in the key store.
9) Import the certificates in the correct order (ie CA first, then intermediates and then your domain cert)
10) In the case of namecheap I had to import 4 certs in this order;
c:\java\jdk1.8.0_45\bin\keytool -import -trustcacerts - B4J Question Update SSL-Certificate in B4J Serverapp - Erel (first post) Jan 12, 2025 (1 reaction) Unless you are using the code from this example: https://www.b4x.-letsencrypt-ssl-certificates.159285/#content you do need to restart the server in order to load the updated certificate. See the ReloadCertificate method there. B4J Tutorial [Server] SSL Connections - Erel Mar 13, 2025 (15 reactions) Starting from B4J v2.00 the server can listen to two ports, the standard insecure port (http) and a secure port (https).
The default port for http is 80 and for https is 443. These ports are used when the url doesn't explicitly specify a port number.
It is recommended to go over the Wikipedia arti B4J Question Need advice for b4j web server - teddybear (first post) Mar 02, 2023 (1 reaction) aeric said that it will be no problem using SSL certificate to run separate B4J Web server jar for each individual customer B4J Library ABKeystoreSSL: SSL Certificate generator using Let's Encrypt - alwaysbusy Nov 08, 2024 (16 reactions) http://localhost:51042/template
' some parameters
Server.Port = 51042
Server.PortSSL = 51043
...
' create the pages
Dim myPage As ABMPageTemplate
myPage.Initialize
' add the pages to the app
Server.AddPage(myPage.page)
' do the same for your own pages: d B4J Question [solved] Configure ServerApp SSL with LetsEncrypt-Certifikate? - DonManfred (first post) Jan 12, 2025 (1 reaction) I think i managed it out. I created a .PFX from my Certificate and tried to use it in a Serverapp.
I found this
https://stackoverflow.com/questions/808669/convert-a-cert-pem-certificate-to-a-pfx-certificate
and used this command to export my LetsEncryptCert to a PFX-File.
openssl pkcs12 -inkey bo B4J Tutorial [SERVER] Valid SSL certificate for localhost for your development machine - mindful May 16, 2018 (8 reactions) Next we need to generate the keystore that will be used in the B4J Server SSL Configuration. Let's say the path to localhost.p12 is C:\localhost.p12 and the path to your java bin folder is C:\Java\bin\, start the command line with Administrator privileges and run the following command and go to C:\J B4J Question Certificates SSL in b4J - francisco duran Feb 27, 2023 Hello friends, I need your help, I am trying to configure the SSL certificate for a B4J server application. It works very well for me in http:// but if I configure it for https:// I always get the error I have tried in several ways to configure the certificates and I have not been able to.
I am usin Page: 1 2 3 4 5 6 7 Powered by ColBERT |