[jetty-user] Running Jetty On Https
Jaya <[email protected]> Mon, 13 Feb 2012 21:08:53 -0800 (PST)
| Newsgroups | gmane.comp.java.jetty.support |
|---|---|
| Message-ID | <[email protected]> |
I was trying to run jetty on https.
I was following this site http://
http://docs.codehaus.org/display/JETTY/How+to+configure+SSL http://
http://docs.codehaus.org/display/JETTY/How+to+configure+SSL
When i tried to run the following command
openssl x509 -in jetty.der -inform DER -outform PEM -out jetty.crt
I got the following error
Error opening Certificate jetty.der
3207:error:02001002:system library:fopen:No such file or
directory:bss_file.c:356:fopen('jetty.der','r')
3207:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:358:
unable to load certificate
And when i tried with following command
java -classpath
$JETTY_HOME/lib/jetty-util-7.3.1.v20110307.jar:$JETTY_HOME/lib/jetty-6.1-SNAPSHOT.jar
org.eclipse.jetty.security.PKCS12Import jetty.pkcs12 keystore
I got following exception
Exception in thread "main" java.lang.NoClassDefFoundError:
org/eclipse/jetty/security/PKCS12Import
Caused by: java.lang.ClassNotFoundException:
org.eclipse.jetty.security.PKCS12Import
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: org.eclipse.jetty.security.PKCS12Import.
Program will exit.
Please help me to solve these issues.
Thanks and Regards,
Jaya
--
View this message in context: http://jetty.4.n6.nabble.com/Running-Jetty-On-Https-tp4467579p4467579.html
Sent from the Jetty Support mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email