- Newest
- Most votes
- Most comments
Hello @rePost-User-5556571, yes the Java process /root/.javax/x30.jar is running its own HTTP service, it does not look as any know J2EE server like weblogic, tomcat, glassfish, etc. It looks like a custom bundle app. Try to look in the following directories /root/JavaX-Code/ and /root/.javax/ and look for a jks o keystore file, maybe they left there the keystore where the current SSL certificate is.
If so, you can create a new keystore and replace the existing one with your new cert.
Hope this helps.
Thank you very much for your help, Yes it's definitely an embedded web service in the java app, I've been poking around the transpiled & non-transpiled code. I do have access to the keystore (.p12) file. Previously, I've been updating the SSL when needed by re-running
letsencrypt-renew
, updating the DNS txt record & making a new validation.txt file containing Certbot's validation string. Does it sound like it will be possible to get Certbot to automatically renew the SSL if I make a new keystore, or will the embedded java server prevent it from renewing automatically?@rePost-User-5556571 you should be able to renew it, and just replace the cert in the keystore as long as you have the request and the cert is generated from the same request, thing that I think is not possible with letsencrypt, that's why you will have to create a new keystore as is going to have a new cert
Hi, you may alternatively try wget --save-headers <url> from a desktop remote from the server to get the external view
Relevant content
- asked 3 years ago
- asked 4 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
What is the full ouput of the netstat | grep -E '80|443', it should say the process that is using those ports, that way you could see what program is running.
@Higher running
sudo netstat -tulnp | grep -E '80|443'
(added -p to show PIDs) gives:and the PID 1139 currently belongs to /root/.javax/x30.jar The content being served has it's code at /root/JavaX-Code/ & transpiles on reboot. Could the Java app be acting as it's own web service? I'm not at all familiar with Java, I apologize
I'll say in advance that i have my doubts this will provide anything useful, but there's no harm in trying it. What do you get from "curl --head http://localhost:80" (and retry for all the other ports above), does it return a "Server:" entry in its output?