Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 92
  • Last Modified:

need help overcoming java security so I can connect to a network device

I am trying to connect to a network printer that is using an HP jet direct because we need to change the IP address.  No matter what I do, I cannot get past the java and I am just totally frustrated.  I have added the ip address of the printer to the site list in the java control panel which enabled me to get a 'run' button at the browser prompt...but when I click run, I just get thrown another error that I have no idea on how to overcome.  I don't even care what it means, I just need to change this IP...is there any way to get past this or another tool I cam use instead of a browser?  There is no way to change the IP at the device itself.   Thanks for any help!
2016-08-08_9-33-46.png
0
snyperj
Asked:
snyperj
1 Solution
 
CEHJCommented:
I find it hard to believe that HP have not provided a standard web (server) interface to the server, so why not just use that?
0
 
snyperjAuthor Commented:
I am not familiar with how to do that?  ( I would if I knew how!)
0
 
CEHJCommented:
Even domestic HP printers these days have web interfaces. Check the docs for that model
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
snyperjAuthor Commented:
Thanks, but that actually isn't much help.  I AM connecting to the device directly and that is where I am getting the java prompts.  It is an old forms printer that is using an HP network adaptor .  IT is the network adaptor I am connecting to and getting the java prompts.  Thanks again, I will wait and see if others have something for me to try..you are basically saying to do what I am already trying to do.
0
 
CEHJCommented:
Well i find it difficult to believe that HP would be foolish enough to make their printer a hostage to Java (which incidentally would require it to have a web server in the first place) in order to administrate it. Let's hope that's not the case. What model is it please?
0
 
James BilousSoftware EngineerCommented:
It may be possible to use telnet to access and work with your print server if you're doing basic things like updating IPs:

http://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-bpj07574
0
 
Sudeep SharmaTechnical DesignerCommented:
Suggestion from James should be considered, however if you still want to use the browser start reading below.

If you would wanted to work on the web interface which has Java, here is the procedure to do it, however the steps underline involve high risk as we are about to enable SSL3 for Java which is disable by default for a long time by Java.

Browse to the JRE installation path of your system. On mine it is following:
C:\Program Files (x86)\Java\jre1.8.0_92\lib\security
In this directory you would find the file java.security
Take backup of this file.
Then open it in the notepad.

You would see line similar to
jdk.tls.disabledAlgorithms=SSLv3, RC4, MD5withRSA, DH keySize < 768

Just put # against it, so it would look like.
#jdk.tls.disabledAlgorithms=SSLv3, RC4, MD5withRSA, DH keySize < 768

Close all the browsers, clear the Java cache.
Try to open the printer web interface again and you should be able to run the Java applets now.

Also try to update the firmware of the printer which may update the Java to use TLS instead of SSL.

Once done, rever the changes or restore the backup of  java.security file.

Thanks,
Sudeep
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now