Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:zyx.kudosbritegroup.com
i have already created A record to point to my VPS
The operating system my web server runs on is (include version): server 2019
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know):yes
As for integrating the cert into your Java web app...
That isn't something that this forum covers exactly.
Is it an app you wrote yourself or something that you downloaded and installed?
The easiest case for a Java application is usually to have it listen only on localhost, in unencrypted HTTP, and then to proxy to it with a reverse proxy based on nginx or Caddy. Then you can get the certificate for your reverse proxy and don't have to install it into your Java application.