Skip to content
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

Cannot run JNLP file #45

Open
scop opened this issue Oct 5, 2016 · 8 comments
Open

Cannot run JNLP file #45

scop opened this issue Oct 5, 2016 · 8 comments

Comments

@scop
Copy link
Owner

scop commented Oct 5, 2016

When I attempt to run the JNLP file found on the portecle website I get a security error that prevents it from running: http://portecle.sourceforge.net/

screenshot

Reported by: cowwoc

@scop
Copy link
Owner Author

scop commented Oct 5, 2016

From the error message: "Your security settings have blocked a self-signed application from running"

Portecle's webstart files are self signed, sure. I don't know if/when something will be done about that, but in the meantime, it would be useful to know more details about the setup where this error occurs.

Original comment by: scop

@scop
Copy link
Owner Author

scop commented Oct 5, 2016

If you run JDK 8 update 102, you will discover that the lowest security level is "high". An earlier version removed the ability to run self-signed certificates. The only way to fix this moving forward is to pay for an official SSL certificate. On last check, these cost $9 a year.

Original comment by: cowwoc

@scop
Copy link
Owner Author

scop commented Oct 5, 2016

But the error message is about a self-signed application. An SSL certificate will not change the signedness of the app (jar, jnlp files etc). Or do you mean that it could be ok per the security settings if these same self-signed application files were served over a https connection that has a proper non-self-signed certificate (which are BTW available for free from e.g. letsencrypt.org)?

FWIW I run openjdk 1.8.0_102-b14 on Linux and see no such errors. But the web start implementation in use here is probably quite different from the one included with the Oracle non-openjdk java, maybe that's why.

Original comment by: scop

@scop
Copy link
Owner Author

scop commented Oct 5, 2016

Sorry. Apparently you need a code certificate from a CA that is trusted by the JRE. See http://stackoverflow.com/a/19485007/14731 for more details. Unfortunately, these are more expensive than SSL certificates but they are still not so bad: https://aboutssl.org/compare-code-signing-certificates

Original comment by: cowwoc

@scop
Copy link
Owner Author

scop commented Oct 5, 2016

http://stackoverflow.com/a/3662170/14731 mentions that Certum provides certificates for open-source projects for 19 euros. That is by far the best price I've seen so far.

Original comment by: cowwoc

@scop
Copy link
Owner Author

scop commented Oct 5, 2016

14€ nowadays (per year) it seems. Until (or actually if, no promises!) this is resolved somehow within Portecle, I suppose adding the JNLP file to the exception site list would serve as a workaround that users can apply. Could you try it out and report back?

http://docs.oracle.com/javase/8/docs/technotes/guides/deploy/exception_site_list.html

Original comment by: scop

@scop
Copy link
Owner Author

scop commented Oct 5, 2016

Confirmed. The exception list works.

Original comment by: cowwoc

@scop
Copy link
Owner Author

scop commented Oct 7, 2016

Thanks, info added to homepage.

Original comment by: scop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant