hi,

You only need to install JSS if your applet or the applet you want to 
use requires JSS.

Getting the following URL (you specified) to display correctly over SSL 
in FF3 does not require JSS

https://www.java.com/en/download/help/testvm.xml

The SSL connection and applet do not use JSS, so this problem is not JSS 
related at all.
And if you had JSS installed perfectly, it would not not help the above 
URL to display correctly.
so ignore JSS.

I assume that http works? If not start there.

http://www.java.com/en/download/help/testvm.xml

Since https does not work I would re-read the advice on the page:


If your applet is not displaying properly, please check these additional 
configurations.

   1. Enable the JRE through your Web browser
   2. Enable the JRE through the "Java Plug-in Control Panel"
   3. Clearing your Web Browser Cache

If you are unable to perform any of the steps above due to an error, 
please reinstall the JRE.

Download and installation instructions
http://www.java.com/en/download/help/6000010300.xml

---

Note I do not have a working Ubuntu system. Also its not clear to me 
that you
actually want/need to use JSS. I think you just want to get this URL

https://www.java.com/en/download/help/testvm.xml working on Ubuntu using FF3.

But if you do want to use JSS after 
getting the above URL working correctly and you are intending to 
have your own java applet use JSS then here is some tips that may
help:

http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/keystores.html

For debugging and testing of your applet that uses JSS you can modify 
your java.policy file

        permission java.security.AllPermission;
        permission java.lang.RuntimePermission "loadLibrary.*";

Which will allow your applet to initialize JSS and allow JSS to load 
it's dependent NSPR/NSS libraries.
When you need to deploy your applet rather than modifying the 
java.policy file you should sign
your applet.

http://java.sun.com/javase/6/docs/technotes/guides/plugin/developer_guide/rsa_how.html

Also if you want to run an applet that uses JSS on windows, understand 
that Firefox builds
the NSPR/NSS binaries for the OS_TARGET=WIN95 which means you would have to
first build JSS for the OS_TARGET=WIN95 and then install.

hope this helps,

glen


Marcin T wrote:
> Hello
>
> I am trying to solve a problem with java applet  authentication on
> Ubuntu AMD64 in Firefox 3.0 32bit with Java 1.6 32bit.
>
> This distro doesn't come with JSS package (it took a lot of googling
> to actually understand this issue), so I had to install files by hand.
> I can see that installation was ok as command runs fine:
>
>       LD_LIBRARY_PATH=/usr/local/firefox32-3/ CLASSPATH=/usr/local/
> firefox32-3/jss4.jar java
> org.mozilla.jss.tests.SSLClientAuth . passwords
>
> However when I try to run a test java applet over SSL connection, I
> get ClassNotFound exception:
>
>      https://www.java.com/en/download/help/testvm.xml
>
> This is log from console:
>
> security: Loading certificates from Deployment session certificate
> store
> security: Loaded certificates from Deployment session certificate
> store
> security: Checking if certificate is in Deployment denied certificate
> store
> network: Cache entry not found [url:
> https://www.java.com/applet/testvmDynamicJavaComPopUp819/class.class,
> version: null]
> network: Connecting 
> https://www.java.com/applet/testvmDynamicJavaComPopUp819/class.class
> with proxy=DIRECT
> security: Loading certificates from Deployment session certificate
> store
> security: Loaded certificates from Deployment session certificate
> store
> security: Checking if certificate is in Deployment denied certificate
> store
> load: class testvmDynamicJavaComPopUp819.class not found.
> java.lang.ClassNotFoundException: testvmDynamicJavaComPopUp819.class
>       at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:194)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>       at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:127)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>       at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:640)
>       at sun.applet.AppletPanel.createApplet(AppletPanel.java:786)
>       at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2108)
>       at sun.applet.AppletPanel.runLoader(AppletPanel.java:715)
>       at sun.applet.AppletPanel.run(AppletPanel.java:369)
>       at java.lang.Thread.run(Thread.java:619)
>
> Any help will be much appreciated
>
> Best Regards,
> Marcin
> _______________________________________________
> dev-tech-crypto mailing list
> dev-tech-crypto@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tech-crypto
>   

_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to