Skip navigation
5469 Views 4 Replies Latest reply: Jan 7, 2010 10:01 AM by Rob Corell RSS
Bronze 3 posts since
Apr 8, 2008
Currently Being Moderated

Apr 8, 2008 1:02 PM

Openfire and SSL

 

I have been trying for about 1 day to get Openfire set up with SSL but have not succeeded. I am not a novice yet I am just unable to set it up. Here is what I have right now:

 

 

 

 

 

1. My domain is "im.spinaxys.com"

 

 

 

 

 

2. Decrypted private key in PEM format

 

 

-


BEGIN RSA PRIVATE KEY-----

 

 

0DDqOMbM6JWGZigMsUIjFfZgi9bIQItifQpRmiOmh9fFS4nKXfFtAyc1bKANALQs

 

 

.

 

 

.

 

 

-


END RSA PRIVATE KEY-----

 

 

 

 

 

3. Wild card signed certificate for "*.spinaxys.com" in PEM FORMAT

 

 

-


BEGIN CERTIFICATE-----

 

 

MIIINzCCBx+gAwIBAgIDAathMA0GCSqGSIb3DQEBBQUAMIG2MQswCQYDVQQGEwJJ

 

 

.

 

 

.

 

 

-


END CERTIFICATE-----

 

 

 

 

 

4. CA (http://cert.startcom.org/) root certificate in PEM format (I believe this CA is already part of openfire trusted CAs)

 

 

-


BEGIN CERTIFICATE-----

 

MIIFFjCCBH+gAwIBAgIBADANBgkqhkiG9w0BAQQFADCBsDELMAkGA1UEBhMCSUwx

.

 

 

.

 

 

-


END CERTIFICATE-----

 

 

 

 

 

5. CA intermediate certificate

 

 

-


BEGIN CERTIFICATE-----

 

MIIHdzCCBuCgAwIBAgIBAjANBgkqhkiG9w0BAQQFADCBsDELMAkGA1UEBhMCSUwx

.

 

 

.

 

 

-


END CERTIFICATE-----

 

 

 

 

 

I guess this is all that is ever needed to set up SSL support for a server. I must have read atleast a zillion documents trying to achive this but to no use  :).

 

 

 

 

 

I would be really grateful if anyone could give step by step instructions on how to set up SSL in openfire with the above files. Thanks !!!

 

 

  • Bronze 8 posts since
    Apr 8, 2008
    Currently Being Moderated
    Apr 9, 2008 1:40 AM (in response to Rahul Amaram)
    Re: Openfire and SSL

    what OS are you running?

    • Rob Corell Bronze 4 posts since
      Jan 7, 2010
      Currently Being Moderated
      Jan 7, 2010 10:01 AM (in response to Rahul Amaram)
      Re: Openfire and SSL

      Rahul, thanks for the step-by-step process.  I've been fighting OpenFire for days now and just finished trying this approach.  Unfortunately, I'm getting the error below on the last step.  Do you have any thoughts?

       

      [root@vps wave-protocol]# java -cp . KeyStoreImport /opt/openfire/resources/security/keystore ./chain-cert.der traitwise.key.der "traitwise.com"
      Keystore password:
      changeit
      java.security.cert.CertificateParsingException: signed fields invalid
      at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1716)
      at sun.security.x509.X509CertImpl.<init>(X509CertImpl.java:303)
      at sun.security.provider.X509Factory.parseX509orPKCS7Cert(X509Factory.java:532)
      at sun.security.provider.X509Factory.engineGenerateCertificates(X509Factory.java:4 17)
      at java.security.cert.CertificateFactory.generateCertificates(CertificateFactory.j ava:427)
      at KeyStoreImport.main(KeyStoreImport.java:70)

More Like This

  • Retrieving data ...

Bookmarked By (0)