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—–