Tomcat https server behind nginx and bad gateway

Hi,

I have a tomcat server running behind nginx proxy. When I access the
nginx
from browser it is throwing bad gateway error.

According to the tomcat application developer nginx is unable to import
the
ssl certs.
How to import certs in to nginx? Any pointers?

the setup is like follows

browser http req --> http://nginx_rps httpsreq—>
https://authwebser:443

This is in continuation with my previous post
http://mailman.nginx.org/pipermail/nginx/2014-September/045115.html