I came to know I can use AWS Certificate Manager(ACM) to get wild card SSL i.e. *.example.com.
SSL certificate created in ACM can be used on EC2 running behind AWS ELB.
The problem occurs when there is request from AWS ELB from port 443 to EC2 on port 80, URL in browser still on HTTPS, internal PHP is running on HTTP(not listening in nginx config to 443), so session is not valid, and the application logout flow occurs and session is not valid.
I have no idea how to resolve this, or how I can configure port 443 in nginx witout SSL?
PS
As Amazon do not give option to download SSL private key and public key from ACM to setup SSL on EC2 nginx config over port 443.
