JRuby error loading private key with jruby-openssl in bouncycastle
|Added at||2017-01-04 15:01|
I'm trying to sign emails sent by my application with an s/mime certificate. The application uses JRuby 1.7.26 and the newest version of the jruby-openssl gem. (Version 0.9.19). When I try to load my private key like this:
I get this error:
If that works i would like to sign the emails like this:
I googled a lot to find solutions for this error or how to sign emails with JRuby in general but I could not find anything helpful.
Thank you in advance for any help.