My Internet Notebook

a journal on software, mobile, marketing

Secure M-Business Anywhere Sync Server

leave a comment

To enable SSL on sync server on Linux, you need to run the utility avantgoserver/openssl/bin/reqcert.sh to generate a cert request. VeriSign then issues a cert per request. You put three certs in a single file in this directory avantgoserver/conf in the right order. Remember that the order is very important as it won’t work if the order is incorrect.

SSLLoadLocalIdentity: Public/Private keys don't match!
createMasterContext: SSLLoadLocalIdentity returned -6981
(2156) error: Security Error: There was an error loading your RSA certificate: SSLBadParameterErr (-6981)

The order of various certificates in the final cert file:


—–BEGIN CERTIFICATE—–
VeriSign Intermediate CA Certificate
—–END CERTIFICATE—–
—–BEGIN CERTIFICATE—–
VeriSign Signed Certificate
—–END CERTIFICATE—–
—–BEGIN CERTIFICATE—–
Your Private Certificate
—–END CERTIFICATE—–

Written by Y.

January 26th, 2006 at 4:25 pm

Posted in AvantGo Tips,Testing

Leave a Reply

You must be logged in to post a comment.