Hello.
We are doing some tests with Couchbase Server, Sync Gateway and Elastic Load Balancer from Amazon. We have tried the communication via HTTP from Phonegap application to backend database and we have no trouble with that architecture.
Our application will need to be secure, and we need to use the SSL feature of Sync gateway, we tried to use the self signed certificates from tests, trough our amazon test enviroment but we have the next error at the gateways:
http: TLS handshake error from XXX.XX.XX.XXX:49780: tls: first record does not look like a TLS handshake
or
401 User not authenticated.
We used self signed certificates with the name of Amazon balancer or EC2 Server and enterprise version of Sync Gateway 1.1.0 but still having the previous errors.
What features should the certificate need to have?
Can we test with a certificate from an authorized entity? Do you recommend a particular one?
Is it possible to use ELB with SSL? Do the certificate could be shared among ELB and Gateways?