Charles,
Indeed it seems to be an issue with JRuby 1.7 RC2 and maybe the included BC
libraries.
If switch back to JRuby 1.6 I get the expected result.
org.bouncycastle.pkcs.PKCS10CertificationRequest@206b4e2
Is there an easy way to exclude the included BC libraries?
Regards,
Carl
On 18
Thanks Kristian,
Unfortunately I will need to use the SSL support!
Any other work arounds be greatly appreciated.
Regards,
Carl
On 18 Oct 2012, at 09:52, kristian m.krist...@web.de wrote:
when I used jruby-core maven artifact and replaced the bouncy-castle
artifact the built in SSL support
jruby NEEDS the slightly older version of BC and you need jruby's SSL
support, so the last possibility for you is to use that very same
version of BC as jruby !
I am sure jruby will support other versions of BC in one of its coming
releases ;) actually it would be nice to have IMO.
- Kristian
Thanks Kristian,
What's the best way to replace the BC .jar provided with JRuby with the same
version as provided by BC?
Can I just download and reference the older version in my JRuby script, or do I
need to remove the version that comes with JRuby and replace it?
Carl
On 18 Oct 2012, at
JRUBY uses
org.bouncycastle:bcmail-jdk15on:jar:1.46
org.bouncycastle:bcprov-jdk15on:jar:1.46
for testing you can just prepend them to your bootclassloader - something like
jruby -J-Xbootclasspath/p:bcmail-jdk15on.jar:bcprov-jdk15on.jar
but doing so with BC version 1.47 did not work for me (the
Thanks Kristian
All a little messy I guess - Hopefully this incompatibility will be fixed soon.
Thanks for your advice!
On 18 Oct 2012, at 11:06, kristian m.krist...@web.de wrote:
jruby NEEDS the slightly older version of BC and you need jruby's SSL
support, so the last possibility for you
On Thu, Oct 18, 2012 at 6:54 AM, kristian m.krist...@web.de wrote:
JRUBY uses
org.bouncycastle:bcmail-jdk15on:jar:1.46
org.bouncycastle:bcprov-jdk15on:jar:1.46
for testing you can just prepend them to your bootclassloader - something like
jruby
Hi,
I need to do the equivalent of this in JRuby:--
PKCS10CertificationRequest csr = csrBuilder.build(signer);
Which equates to what I think is casting a
org.bouncycastle.pkcs.PKCS10CertificationRequestHolder object to a
org.bouncycastle.pkcs.PKCS10CertificationRequest object.
Is this
Charles,
Maybe I'm getting my terminology mixed up here.
I basically have two different types of object .
PKCS10CertificationRequestHolder and a
PKCS10CertificationRequest
In order for me to pass the holder object to another class the holder object
needs to be just a request object as
Yes, I think I was confused by your terminology.
Assuming the original Java code is right, here's the Ruby code:
csr = csrBuilder.build(signer)
- Charlie
On Wed, Oct 17, 2012 at 2:03 PM, Carl Bourne carl.bou...@me.com wrote:
Charles,
Maybe I'm getting my terminology mixed up here.
I
Oliver yes I did try that but it still doesn't seem to work as I would expect.
Heres a bit more background to the problem.
Using this Java code:
// Generate the certificate signing request
PKCS10CertificationRequestBuilder csrBuilder = new
On Wed, Oct 17, 2012 at 6:44 PM, Carl Bourne carl.bou...@me.com wrote:
Using this Java code:
// Generate the certificate signing request
PKCS10CertificationRequestBuilder csrBuilder = new
PKCS10CertificationRequestBuilder(entityName, publicKeyInfo);
12 matches
Mail list logo