I am running suitecrm using this image:hub.docker.com/r/bitnami/suitecrm/
I run it behind a reverse proxy (I use Kong)
My connection is SSL from the client to the reverse proxy, then the proxy will call suitecrm using a normal http connection.
(This setup gives me lots of control and I don’t have to keep configuring certbot for all my apps) - This is a docker cluster setup.
I have spent ages trying to get the API working.
Calls to all endpoints return 404. e.g. suitecrm.mysite.com/Api/access_token gives 404.
I have generated public.key and pritvate.key in /opt/bitnami/suitecrm/public/legacy/Api/V8/OAuth2/
I created Client Credentials in the app
But still every endpoint gives 404.
Then I remembered reading somewhere that you HAVE to use SSL to access the API. I was wondering is it because my reverse proxy will be sending all my requests without ssl.
I have had a look in /opt/bitnami/apache2/conf/vhosts
and I can see the SSL and non-SSL vhosts are the same.
Can anyone tell me if this is the cause, and if there is any way to allow suitecrm to accept non-ssl api calls?
This is where I saw the need for SSL - Requirements :: SuiteCRM Documentation