Hi, Martin! Thank you for your reply! As you can see in the list of included libs in my initial mail I already have the bcmail<jdk>.jar in my classpath. Unfortunately this didn't fix my problem.
Cheers, Servet > -----Ursprüngliche Nachricht----- > Von: Martin Gainty [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 13. Oktober 2008 18:56 > An: Tomcat Users List > Betreff: RE: Using S/MIME encryption in Tomcat5.5 fails > > > > I dont believe the default BC jars have S/MIME capability > I would download bcmail<JDK>.jar and place in your /lib > folder from http://www.bouncycastle.org/latest_releases.html > > let me know if this helps.. > Martin > ______________________________________________ > Disclaimer and confidentiality note > Everything in this e-mail and any attachments relates to the > official business of Sender. This transmission is of a > confidential nature and Sender does not endorse distribution > to any party other than intended recipient. Sender does not > necessarily endorse content contained within this transmission. > > > > From: [EMAIL PROTECTED] > > To: users@tomcat.apache.org > > Subject: Using S/MIME encryption in Tomcat5.5 fails > > Date: Mon, 13 Oct 2008 18:13:46 +0200 > > > > Hi *, > > > > I try to encrypt outgoing mails from my webapplication with S/MIME. > > > > Therefore I make use of the BouncyCastleProvider and created an > > example according to http://javamail-crypto.sourceforge.net/. > > Afterwards I introduced Bouncycaste as securityprovider by > adding the > > line > > > "security.provider.7=org.bouncycastle.jce.provider.BouncyCastleProvide > > r" to the file JAVA_HOME/jre/lib/security/java.security. > > > > When I start the class as a standalone JavaApplication everything > > works fine, but putting it into my webapplication and calling it > > raises a NoSuchProviderException > > (DEBUG: setDebug: JavaMail version 1.3.1 > > java.security.NoSuchProviderException: No provider configured for > > S/MIME at > > net.suberic.crypto.EncryptionManager.getEncryptionUtils(Unknown > > Source)). > > > > Here is a list of libraries, that I include in the lib-directory of > > the created WAR-file: > > - activation.jar > > - bcmail-jdk15-141.jar > > - bcprov-ext-jdk15-141.jar > > - bcprov-jdk15-141.jar > > - cryptomail.jar > > - javamail-crypto_060622.jar > > - javamail-crypto-bouncycastle-smime_060622.jar > > - mail.jar > > - mailapi.jar > > - smtp.jar > > > > I also tried to put them into commons/lib but the exception > is still > > thrown. I use Java1.5_14 and Tomcat5.5. > > > > Thanks in advance for your effort. Any help will be apreciated. > > > > Cheers, > > Servet > > > > > > > > > --------------------------------------------------------------------- > > To start a new topic, e-mail: users@tomcat.apache.org > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > _________________________________________________________________ > See how Windows connects the people, information, and fun > that are part of your life. > http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/ > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]