How to have multiple HTTPS connection with different PEM file

We are running sTunnel 4.2 and want to have two HTTPS connection that use different PEM certs and are having difficulty doing this - how do you set this up? We have something like ---- Cert = cert1.pem [https] connect = xxx.xxx.xxx.xxx:442 connect = yyy.yyy.yyy.yyy:443 accept = 9876 ------ and we need something like this? -------- [https] connect = xxx.xxx.xxx.xxx:442 cert = cert1.pem accept = 9876 [https] connect = yyy.yyy.yyy.yyy:443 cert = cert2.pem accept = 9877 ----- Can we do that in the config file? If not, how does one specify ? Thanks! Andrew Culross TwoFour Systems 445 Hamilton Ave White Plains, NY 10601 Direct +1 (914) 220-8849 Main +1 (914) 220-8800 Fax +1 (914) 220-8899 <http://www.twofour.com/> www.TwoFour.com <http://www.twofour.com/emaildisclaimer.aspx> http://www.twofour.com/emaildisclaimer.aspx

Dear Sir, Your second config set will be right just by specifying DIFFERENT service names for the two option blocks, eg https1 and https2. The first set is wrong in your case: multiple connect is just for redundancy/load-balancing management, not for "multiple" and separate services. Best regards, Pierre Delaage Quoting Andrew Culross <Andrew.Culross@twofour.com>:
We are running sTunnel 4.2 and want to have two HTTPS connection that use different PEM certs and are having difficulty doing this - how do you set this up?
We have something like
----
Cert = cert1.pem
[https]
connect = xxx.xxx.xxx.xxx:442
connect = yyy.yyy.yyy.yyy:443
accept = 9876
------
and we need something like this?
--------
[https]
connect = xxx.xxx.xxx.xxx:442
cert = cert1.pem
accept = 9876
[https]
connect = yyy.yyy.yyy.yyy:443
cert = cert2.pem
accept = 9877
-----
Can we do that in the config file?
If not, how does one specify ?
Thanks!
Andrew Culross
TwoFour Systems
445 Hamilton Ave
White Plains, NY 10601
Direct +1 (914) 220-8849
Main +1 (914) 220-8800
Fax +1 (914) 220-8899
<http://www.twofour.com/> www.TwoFour.com
<http://www.twofour.com/emaildisclaimer.aspx> http://www.twofour.com/emaildisclaimer.aspx
participants (2)
-
Andrew Culross
-
delaage.pierre@free.fr