ugu5ma / jscep

Automatically exported from code.google.com/p/jscep
MIT License
0 stars 0 forks source link

issues when usin jscep on windows 2008 R2 #84

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
May you please help m to find the source of my issue when using Jscep against 
NDES Win 2008 r2, if have the following error during enrollement:

{org.jscep.transaction.TransactionException: 
org.jscep.message.MessageDecodingException: org.bouncycastle.cms.CMSException: 
cannot create cipher: Cannot find any provider supporting 1.3.14.3.2.7}

i have the latest version of bouncycastle, and checked if something is missing, 
it seems not.
Does anyone have a clue? the pkcs7 namespace has been removed, is it linked?

Thanks a lot

Original issue reported on code.google.com by ibelem...@gmail.com on 17 Sep 2012 at 8:52

GoogleCodeExporter commented 9 years ago
This problem occurs because BC doesn't support DES in CMS, only Triple DES 
(DESede).  

Can you provide the full stack trace please?  In the mean time, please ask on 
the support list about specifying 3DES for your key-signing algorithm in NDES.

Original comment by da...@grant.org.uk on 17 Sep 2012 at 9:01

GoogleCodeExporter commented 9 years ago
1.3.14.3.2.7 is available if you add the Bouncy Castle provider to your JRE 
providers list.

Original comment by da...@grant.org.uk on 17 Sep 2012 at 11:20

GoogleCodeExporter commented 9 years ago

Original comment by da...@grant.org.uk on 17 Sep 2012 at 11:31

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1513.

Original comment by da...@grant.org.uk on 17 Sep 2012 at 11:32

GoogleCodeExporter commented 9 years ago

Original comment by da...@grant.org.uk on 17 Sep 2012 at 11:48

GoogleCodeExporter commented 9 years ago
thanks a lot it solved the issue :
            java.security.Security.addProvider(new BouncyCastleProvider());

Original comment by ibelem...@gmail.com on 17 Sep 2012 at 1:31

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1517.

Original comment by da...@grant.org.uk on 19 Sep 2012 at 5:02