There's a simple rule:
The requests that your Ossn server receives (be it https or http) have to be in line with
saved in your ossn.config.site.php
That is, if you have a flow like
client-request(https) -> proxy (converting https2http) -> Ossn(expecting https)
things won't work.
So please look into your Ossn apache log and verify what is arriving.