-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bypassing Certificates and Proxies #264
Comments
The first error is a problem (cannot reach ROB server to check version). The second one is due to the ongoing rebuild of the server, will be fixed when all services come back online. On the topic of certificates: Java has its own certificate "truststore". JHV comes with a stripped down JRE which includes From StackOverflow it seems the command is something like: Not sure if the modification of the "truststore" invalidates the signature of the entire app. An alternative is to install the entire JDK from https://jdk.java.net/21/, alter its "truststore" with your certificate and run JHV from command line. The JARs are located at If all that fails, I believe there is a programmatic way to disable entirely the certificate checking. This week I'm on vacation, maybe I can have a stab at it next week if you don't succeed. |
Thanks for the detailed response @bogdanni. I ended up adding the certificate to both the bundled JRE and the JAVA version that was already installed. That seemed to work!
I was unable to download jpips, I need to work out if thats our firewall. |
The IAS server should be a full mirror of the GSFC server and the JPIP movie streaming connection with it is non-SSL. I expect it to work. |
Thanks for your help I will speak to our IT and see if we can fix this on our end. |
In the meantime @nabobalis could you confirm that the IAS server works from your network? |
@ebuchlin One optimization we did on the new ROB server (still under re-build) is to assign a second network card and IP address to the VM. That way, we can run |
What is the best way to check this? |
Load a movie from IAS server. |
Unfortunately, no:
|
Could you please try ROB server? |
Same issue:
I think I need to talk to my IT team about this. |
Re-opening this following the email from Ralph. @nabobalis So, by inserting that certificate you managed to make the JHV high-level HTTP client work with the proxy, which is actually big progress, it means that Java detects and uses your proxy settings. The next step is to make the movie streaming work: that network connection is implemented at socket (lower) level. Because I have no access to such a network, the code for using sockets with proxy is implemented in the blind. The whole thing is also a bit voodoo to me, I suspect a SOCKS type of proxy connection should be attempted. I have uploaded a build at https://swhv.oma.be/download_test/proxy-test/ which attempts to use first a SOCKS proxy type. As before, the proxy certificate has to be inserted in Java's "truststore". The command-line to start it is now simpler, something like If that still doesn't work, please try with Does that proxy server need a username and password? |
Thanks, I will try this when I get into work later today
No, I have never had to provide it one before. |
So this happened with the test version, I think I forgot some steps previously (which I forgot).
I also updated my own Mac OS java install and tried to run it directly:
|
For the error with the builtin Java: were you connected to the network? Because it seems all network accesses at startup timed out. If you forgot to add the proxy certificate to Java truststore then the message would have been like before For the exception with separate Java installation, it looks like it still needs the |
That is strange, I am connected to the network and can do say git pulls, wget or curls with my local proxy settings.
This fixed it for me thanks! |
This isn't a JHelioviewer problem and more of a question.
At LMSAL we are behind several layers of firewalls and proxies and that typically interfere with making secure connections at times.
Typically we disable SSL connections or by adding a new root certificate but I can't get this to work with JHelioviewer.
I am asking is there a way to disable the need for SSL via the command line or a configuration value?
On the other side I am working with IT and trying to fix it properly but in the meantime, I thought I would ask.
The text was updated successfully, but these errors were encountered: