<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'>Hi Shamun,<div style="font-size: 12pt;"></div><div><br></div><div><div style="font-family: 'Times New Roman'; font-size: medium; background-color: rgb(255, 255, 255);"><div>As per my knowledge, U should mention the service <b>https</b> instead of <b>SSL</b>,as you want to add the support for HTTPS. </div><div>Just make the following change in your stunnel.conf file.</div><div><br></div><div>pid = /stunnel.pid</div><div><br></div><div>cert=/etc/stunnel/abyhu.crt</div><div>CAfile=/etc/stunnel/<span class="Object" id="OBJ_PREFIX_DWT769" style="color: rgb(0, 0, 139); cursor: pointer;"><a href="http://abyhu.ca/" target="_blank" style="color: rgb(0, 0, 139); text-decoration: none; cursor: pointer;">abyhu.ca</a></span></div><div>key=/etc/stunnel/abyhu.key</div><div><br></div><div>sslVersion = all</div><div>;socket = l:TCP_NODELAY=1</div><div>;socket = r:TCP_NODELAY=1</div><div>client=no</div><div><br></div><div>debug = 7</div><div>output = /var/log/stunnel.log</div><div><br></div><div><b><font color="#3333ff">[https]</font></b></div><div>accept=443</div><div>connect=80</div><div>TIMEOUTclose = 0</div><div><br></div><div><br></div><div><br></div><div><br></div><div>Thanks,</div><div>Krinali Shah</div><div><br></div><div><br></div></div></div>----- Original Message -----<br>From: "Shamun Toha Md" <shamun@companysocia.com><br>To: stunnel-users@stunnel.org<br>Sent: Thursday, February 6, 2014 12:52:18 PM<br>Subject: [stunnel-users] Stunnel - how to make Google App Engine HTTP into HTTPS ?<br><br><div dir="ltr">I have Google App Engine running in HTTP (port tcp 80), which is a daemon based service it execute back-end some python instances. Now all that works over HTTP , TCP 80, and Google App Engine itself do not have any kind of HTTPS setup, it has to be organized externally.<div>
<br></div><div>Therefore, the biggest problem is now that how can i use stunnel to resolve this problem please?<br></div><div>I have already tried following setup and it does not work at all. </div><div><br></div><div>1) if the user visit <a href="https://www.mysite.com" target="_blank">https://www.mysite.com</a> then he hit stunnel accept=443 after that he is connected with connect=80 but user browser change into http:// instead of remaining in https:// . Which make the whole thing not working</div>
<div><br></div><div>$ uname -a</div><div>Linux server2 2.6.32-358.23.2.el6.x86_64 #1 SMP Wed Oct 16 18:37:12 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux</div><div>$ cat /etc/stunnel/stunnel.conf</div><div><div>pid = /stunnel.pid</div>
<div><br></div><div>cert=/etc/stunnel/abyhu.crt</div><div>CAfile=/etc/stunnel/<a href="http://abyhu.ca" target="_blank">abyhu.ca</a></div><div>key=/etc/stunnel/abyhu.key</div><div><br></div><div>sslVersion = all</div><div>;socket = l:TCP_NODELAY=1</div>
<div>;socket = r:TCP_NODELAY=1</div><div>client=no</div><div><br></div><div>debug = 7</div><div>output = /var/log/stunnel.log</div><div><br></div><div>[SSL]</div><div>accept=443</div><div>connect=80</div><div>TIMEOUTclose = 0</div>
</div><div><br></div><div><br></div><div>My goal is: when user visit <a href="https://www.mysite.com" target="_blank">https://www.mysite.com</a> it remain as https not become http:// then it is not solving the problem cause Google app engine do not have HTTPS</div>
<div><br></div><div><br></div><div><br></div><div>Thank you.</div><div><br></div><div>Best regards</div><div><br></div><div><br></div></div>
<table><tbody><tr><td bgcolor="#ffffff"><font color="#000000"><pre>---------------------------------------------------------------------------------------------
Notice:
This message has been scanned by Trend Micro Mail Security scanner and is believed to be clean
---------------------------------------------------------------------------------------------</pre></font></td></tr></tbody></table>
<br>_______________________________________________<br>stunnel-users mailing list<br>stunnel-users@stunnel.org<br>https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users<br></div>
<br>*************************************************************************************************************************************************************
<p align="justify"><b>eInfochips Business Disclaimer</b>: This e-mail message and all attachments transmitted with it are intended solely for the use of the addressee and may contain legally privileged and confidential information. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this message and please delete it from your computer. Any views expressed in this message are those of the individual sender unless otherwise stated. Company has taken enough precautions to prevent the spr
ead of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email.</p>
*************************************************************************************************************************************************************
<br></body></html>
<table><tr><td bgcolor=#ffffff><font color=#000000><pre>---------------------------------------------------------------------------------------------
Notice:
This message has been scanned by Trend Micro Mail Security scanner and is believed to be clean
---------------------------------------------------------------------------------------------</pre></font></td></tr></table>