no. That still does not work. Also, I am using the Http Stream server and
testing with Firefox in Linux.
--
..Cheers
Mark
On 5/11/07, Andre de C. Rodrigues <[EMAIL PROTECTED]> wrote:
Have you tried adding the lines I did in my first question? Namely the
line:
sslFilter.setEnabledCipherSuites(new String[] {
"SSL_RSA_WITH_RC4_128_MD5", "SSL_RSA_WITH_RC4_128_MD5"};
Maybe that'll work.
2007/5/11, Mark Webb <[EMAIL PROTECTED]>:
> Class.getResourceAsStream(String) loads a file from the
classpath. Unless
> you are creating your own classloaders, you should be fine just placing
the
> directory that contains the bogus.cert file in your classpath.
>
> BTW, placing the bogus.cert file in my classpath still gives me "no
cipher
> suites in common" error messages. Not that I was surprised that this
> problem still exists, Its that I am still stuck.
>
> --
> ..Cheers
> Mark
>
> On 5/11/07, Andre de C. Rodrigues <[EMAIL PROTECTED]> wrote:
> >
> > I've just made it work... it seems that the problem was that the
> > bogus.cert file was not in the correct location.
> >
> > In the SSLContextFactory.java I have changed the line:
> > in = BogusSSLContextFactory.class.getResourceAsStream(
> > BOGUS_KEYSTORE );
> > to
> > in = new java.io.FileInputStream( BOGUS_KEYSTORE );
> >
> > When I tried to run the app, I got a file not found exception. I
> > placed the bogus.cert file in my project root folder (instead of my
> > src folder) and it worked!
> >
> > I tried changing the line back to what it was while keeping the
> > bogus.cert in my project root folder, but that didn't work either...
> > is there a correct location for bogus.cert when using the original
> > code?
> >
> > Thanks for all the feedback,
> > Andre
> >
>