Using SSL with Sync Gateway: getting 403 Forbidden when trying to access certain documents through sync-gateway API

Hello there,

I’m having a major issue using SSL with Sync Gateway. it seems that I am able to send documents through the sync gateway using ssl, but unable to retrieve the documents through API GET messages (using https ofcourse) nor by syncing the information down to another client instance.

my sync-gateway instance is as follows:

{
    "log": [
        "CRUD",
        "CRUD+",
        "HTTP",
        "HTTP+",
        "Access",
        "Cache",
        "Shadow",
        "Shadow+",
        "Changes",
        "Changes+"
    ],
    "SSLCert": "~/Documents/ssl-test/cert.pem",
    "SSLKey":  "~/Documents/ssl-test/privkey.pem",
    "databases": {
        "default": {
            "server": "http://localhost:8091",
            "bucket": "default", "sync": `function(doc){channel(doc.channels);}`,
            "users": {        
                 "GUEST": {
                    "disabled": false 
                }
            }
        }
    }

}

Please let me know if you require any more information, And thank you in advance!

Best regards,
Tarek M.

Issue resolved, I forgot to add the admin_channel to the sync gateway!