Re: Issue with auto-signed certificate

2009-12-04 Thread elodie
Hi,

It's just to say that I solved my problem.

I had to copy the certificate (cert.pem) from my SMTP server to the
server where openmeetings is installed.
Then convert the certificate in .der with this : openssl x509 -in
cert.pem -inform PEM -out cert.der -outform DER
And import this certificate into the java keystore :
/usr/lib/jvm/java-6-sun-1.6.0.17/bin/keytool -import -trustcacerts -
file PathToYourCert/cert.der -alias CERT(for example) -keystore /usr/
lib/jvm/java-6-sun-1.6.0.17/jre/lib/security/cacerts

If you didn't change the password for the keystore it's changeit by
default.
Agreed so it can trust the certificate.

Then restart red5 and now it's possible to send mail from
openmeetings.

Hope that can help someone with the same problem.

Elodie

On 3 déc, 14:37, elodie elodie.fant...@gmail.com wrote:
 Hi,

 I use a SMTP server whith a auto-signed certificate and when I tried
 to send e-mail with openmeetings I don't receive one because it can't
 find a valid certificate :

 Caused by: javax.net.ssl.SSLHandshakeException:
 sun.security.validator.ValidatorException: PKIX path building failed:
 sun.security.provider.certpath.SunCertPathBuilderException: unable to
 find valid certification path to requested target

 Can someone tell me what can I do so it can accept my certificate ?

 Thanks.

 Elodie

--

You received this message because you are subscribed to the Google Groups 
OpenMeetings User group.
To post to this group, send email to openmeetings-u...@googlegroups.com.
To unsubscribe from this group, send email to 
openmeetings-user+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.




Re: Issue with auto-signed certificate

2009-12-04 Thread Sebastian Wagner
yes indeed thanks for the solution.
It is maybe a not very common scenario but its very good to have a ressource
from soneone who solved it!

Sebastian

2009/12/4 elodie elodie.fant...@gmail.com

 Hi,

 It's just to say that I solved my problem.

 I had to copy the certificate (cert.pem) from my SMTP server to the
 server where openmeetings is installed.
 Then convert the certificate in .der with this : openssl x509 -in
 cert.pem -inform PEM -out cert.der -outform DER
 And import this certificate into the java keystore :
 /usr/lib/jvm/java-6-sun-1.6.0.17/bin/keytool -import -trustcacerts -
 file PathToYourCert/cert.der -alias CERT(for example) -keystore /usr/
 lib/jvm/java-6-sun-1.6.0.17/jre/lib/security/cacerts

 If you didn't change the password for the keystore it's changeit by
 default.
 Agreed so it can trust the certificate.

 Then restart red5 and now it's possible to send mail from
 openmeetings.

 Hope that can help someone with the same problem.

 Elodie

 On 3 déc, 14:37, elodie elodie.fant...@gmail.com wrote:
  Hi,
 
  I use a SMTP server whith a auto-signed certificate and when I tried
  to send e-mail with openmeetings I don't receive one because it can't
  find a valid certificate :
 
  Caused by: javax.net.ssl.SSLHandshakeException:
  sun.security.validator.ValidatorException: PKIX path building failed:
  sun.security.provider.certpath.SunCertPathBuilderException: unable to
  find valid certification path to requested target
 
  Can someone tell me what can I do so it can accept my certificate ?
 
  Thanks.
 
  Elodie

 --

 You received this message because you are subscribed to the Google Groups
 OpenMeetings User group.
 To post to this group, send email to openmeetings-u...@googlegroups.com.
 To unsubscribe from this group, send email to
 openmeetings-user+unsubscr...@googlegroups.comopenmeetings-user%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/openmeetings-user?hl=en.





-- 
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.laszlo-forum.de
seba.wag...@gmail.com

--

You received this message because you are subscribed to the Google Groups 
OpenMeetings User group.
To post to this group, send email to openmeetings-u...@googlegroups.com.
To unsubscribe from this group, send email to 
openmeetings-user+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.