B4J Question [ABMaterial] Request to test new feedback url

Seems to work fine.

upload_2017-11-10_9-52-11.png
 
Upvote 0
I'm not yet an ABMer (just briefly tested it when on early versions) , but followed the link in post #1 and everything seems to work properly.
 
Upvote 0
Upvote 0
the process with LetsEncrypt will be similar
Yes. The tricky part is using apache on the linux to receive your letsencrypt key files for your domain (it needs port 80/443) and NO B4J webapps running. You then recieve 2 .pem files that you have to convert to a keystore file.

Short story (I'll make a more extended one with screenshots later).

1. install certbot
Code: Copy
sudo apt-get install certbot

If you are running haproxy, make sure you disable it to:

Code: Copy
systemctl stop haproxy.service

2. get your .pem keys:
Code: Copy
sudo ./certbot-auto --debug -v --server https://acme-v01.api.letsencrypt.org/directory certonly -d feedback.abmaterial.com

3. Pick option 3 (use a file)

4. Enter the full path to your apache www root (in my case it was)
Code: Copy
/var/www/html

Now a file will be created there and Letsectrypt must be able to download this file to verify this domain belongs to you.

5. You receive something like this if succesful:
Code: Copy
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/feedback.abmaterial.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/feedback.abmaterial.com/privkey.pem
Your cert will expire on 2018-02-07. To obtain a new or tweaked
version of this certificate in the future, simply run certbot-auto
again. To non-interactively renew *all* of your certificates, run
"certbot-auto renew"

6. Make a pkcs12 file
Code: Copy
sudo openssl pkcs12 -export -out keystore.pkcs12 -in /etc/letsencrypt/live/feedback.abmaterial.com/fullchain.pem -inkey /etc/letsencrypt/live/feedback.abmaterial.com/privkey.pem

7. Finally convert it to a keystore file
Code: Copy
sudo keytool -importkeystore -srckeystore keystore.pkcs12 -srcstoretype PKCS12 -destkeystore keystore.jks

You can now also restart haproxy (if needed)
Code: Copy
systemctl start haproxy.service
 
Last edited:
Upvote 0
Hi ABMers,

Got any tips / tricks or useful snippets for us ABMers?

The term "ABMers" term has been copyrighted by me when I used it, for the first time (ever posted) in a previous post, as above.

- To remove this (somewhat questionable) restriction, just reply with the fu emoji icon - quoting me. I would expect this would consist of an angry face with a middle finger on top... (just speculating cause I don't see many of the billions that could exist).

Thank you for your cooperation...

PS - i kill me... and the site works great...
 
Last edited:
Upvote 0
Back
Top