Problems when using PSK between a version of stunnel usingopenssl 1.0 and a version of stunnel using openssl 1.1.1

Hannah Koperberg <[email protected]> Tue, 17 Sep 2019 18:18:13 +0200
Newsgroups gmane.network.stunnel.user
Message-ID <[email protected]>
--===============4013275977307893739==
Content-Type: multipart/alternative;
	boundary="_0A75C79F-2036-4D5D-95B7-B5E2F8764777_"

--_0A75C79F-2036-4D5D-95B7-B5E2F8764777_
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset="utf-8"

V2UgZW5jb3VudGVyIHByb2JsZW1zIHdoZW4gdXNpbmcgUFNLIGJldHdlZW4gYSB2ZXJzaW9uIG9m
IHN0dW5uZWwgdXNpbmcgb3BlbnNzbCAxLjAgYW5kIGEgdmVyc2lvbiBvZiBzdHVubmVsIHVzaW5n
IG9wZW5zc2wgMS4xLjENClRoZSBwcm9ibGVtIGJlaW5nIHRoZSBmb2xsb3dpbmc6DQoyMDE5LjA5
LjE2IDEzOjM2OjI4IExPRzZbM106IFBTSyBpZGVudGl0eSBub3QgZm91bmQgKHNlc3Npb24gcmVz
dW1wdGlvbj8pDQoyMDE5LjA5LjE2IDEzOjM2OjI4IExPRzdbM106IFRMUyBhbGVydCAod3JpdGUp
OiBmYXRhbDogdW5rbm93biBQU0sgaWRlbnRpdHkNCjIwMTkuMDkuMTYgMTM6MzY6MjggTE9HM1sz
XTogU1NMX2FjY2VwdDogczNfc3J2ci5jOjI4NDU6IGVycm9yOjE0MDhCMERGOlNTTCByb3V0aW5l
czpzc2wzX2dldF9jbGllbnRfa2V5X2V4Y2hhbmdlOnBzayBpZGVudGl0eSBub3QgZm91bmQNCg0K
Tm8gcHJvYmxlbXMgYXJlIGVuY291bnRlcmVkIHdoZW4gdXNpbmcgY2VydGlmaWNhdGVzIG9yIHdo
ZW4gdGhlIHNhbWUgdmVyc2lvbnMgb2Ygc3R1bm5lbCBhbmQgb3BlbnNzbCBhcmUgdXNlZC4NCklu
IHRoZSBsYXR0ZXIgY2FzZSBuZWl0aGVyIGNlcnR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lzIHRoZSBlbmQgb2YgbXnigJlzbWFsbOKAmSBtYWlsIPCfmIkNCg0KS2luZCBy
ZWdhcmRzLA0KSGFubmFoIEtvcGVyYmVyZywgZGUgVm9sa3NiYW5rIGluIHRoZSBOZXRoZXJsYW5k
cw0KDQ0NDQ0NDQoNCg0KDQo=

--_0A75C79F-2036-4D5D-95B7-B5E2F8764777_
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="utf-8"

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc=
hemas-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/of=
fice/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta ht=
tp-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta name=
=3DGenerator content=3D"Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"Segoe UI Emoji";
	panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
	{page:WordSection1;}
--></style></head><body lang=3DNL link=3Dblue vlink=3D"#954F72"><div class=
=3DWordSection1><p class=3DMsoNormal><span lang=3DEN-US>We encounter proble=
ms when using PSK between a version of stunnel using openssl 1.0 and a vers=
ion of stunnel using openssl 1.1.1<o:p></o:p></span></p><p class=3DMsoNorma=
l><span lang=3DEN-US>The problem being the following:<o:p></o:p></span></p>=
<p class=3DMsoNormal><span lang=3DEN-US>2019.09.16 13:36:28 LOG6[3]: PSK id=
entity not found (session resumption?)<o:p></o:p></span></p><p class=3DMsoN=
ormal><span lang=3DEN-US>2019.09.16 13:36:28 LOG7[3]: TLS alert (write): fa=
tal: unknown PSK identity<o:p></o:p></span></p><p class=3DMsoNormal><span l=
ang=3DEN-US>2019.09.16 13:36:28 LOG3[3]: SSL_accept: s3_srvr.c:2845: error:=
1408B0DF:SSL routines:ssl3_get_client_key_exchange:psk identity not found<o=
:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:=
p></span></p><p class=3DMsoNormal><span lang=3DEN-US>No problems are encoun=
tered when using certificates or when the same versions of stunnel and open=
ssl are used.<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>=
In the latter case neither certificates nor PSK give any problems connectin=
g.<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;=
</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>I am sorry if this=
 has been posted before (could not find a similar question)<o:p></o:p></spa=
n></p><p class=3DMsoNormal><span lang=3DEN-US>Can anyone help me with this,=
 please?<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>We se=
em to be getting problems with PSK only when using openssl 1.0 versus opens=
sl 1.1<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US><o:p>&n=
bsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>The openssl an=
d stunnel versions involved are:<o:p></o:p></span></p><p class=3DMsoNormal>=
<span lang=3DEN-US><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span l=
ang=3DEN-US>OLD OPENSSL USE SET-UP:<o:p></o:p></span></p><p class=3DMsoNorm=
al><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><b><=
span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-farea=
st-language:NL'>openssl version<o:p></o:p></span></b></p><p class=3DMsoNorm=
al><b><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";ms=
o-fareast-language:NL'>OpenSSL 1.0.2r&nbsp; 26 Feb 2019<o:p></o:p></span></=
b></p><p class=3DMsoNormal><b><span lang=3DEN style=3D'font-size:8.0pt;font=
-family:"Courier New";mso-fareast-language:NL'><o:p>&nbsp;</o:p></span></b>=
</p><p class=3DMsoNormal><b><span lang=3DEN style=3D'font-size:8.0pt;font-f=
amily:"Courier New";mso-fareast-language:NL'>s</span></b><span lang=3DEN st=
yle=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>t=
unnel -version<br><b>stunnel 5.55 on powerpc-ibm-aix7.2.2.0 platform<br>Com=
piled/running with OpenSSL 1.0.2r&nbsp; 26 Feb 2019</b><br>Threading:PTHREA=
D Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI<o:p></o:p></span></p><p cl=
ass=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto=
'><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fa=
reast-language:NL'>Global options:<br>RNDbytes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 1024<br>RNDfile=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; =3D /dev/urandom<br>RNDoverwrite&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D yes<o:p></o:p></span></p><p class=3DM=
soNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span=
 lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-l=
anguage:NL'>Service-level options:<br>ciphers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D FIPS (with=
 &quot;fips =3D yes&quot;)<br>ciphers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D HIGH:!aNULL:!SSLv2=
:!DH:!kDHEPSK (with &quot;fips =3D no&quot;)<br><b>curves&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; =3D prime256v1<br></b>debug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D daemon.notic=
e<br>logId&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D sequential<br><b>options&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp; =3D NO_SSLv2<br>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D NO_SSLv3<br></b>sessionCa=
cheSize&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 1000<br>sessionCacheTimeout=
&nbsp;&nbsp;&nbsp; =3D 300 seconds<br>stack&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D =
65536 bytes<br>TIMEOUTbusy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; =3D 300 seconds<br>TIMEOUTclose&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 60 seconds<br>TIMEOUTconnect&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 10 seconds<br>TIMEOUTidle&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 43200 sec=
onds<br>verify</span><span lang=3DEN style=3D'mso-fareast-language:NL'>&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span lang=3DEN style=3D'font-size:=
8.0pt;font-family:"Courier New";mso-fareast-language:NL'>=3D none</span><sp=
an lang=3DEN style=3D'mso-fareast-language:NL'><o:p></o:p></span></p><p cla=
ss=3DMsoNormal><span lang=3DEN>NEW OPENSSL USE SET-UP:<o:p></o:p></span></p=
><p class=3DMsoNormal><span lang=3DEN><o:p>&nbsp;</o:p></span></p><p class=
=3DMsoNormal><b><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Couri=
er New";mso-fareast-language:NL'>openssl version<o:p></o:p></span></b></p><=
p class=3DMsoNormal><b><span lang=3DEN style=3D'font-size:8.0pt;font-family=
:"Courier New";mso-fareast-language:NL'>OpenSSL 1.1.1c&nbsp; 28 May 2019<o:=
p></o:p></span></b></p><p class=3DMsoNormal style=3D'mso-margin-top-alt:aut=
o;mso-margin-bottom-alt:auto'><span lang=3DEN style=3D'font-size:8.0pt;font=
-family:"Courier New";mso-fareast-language:NL'>Stunnel -version<br><b>stunn=
el 5.54 on powerpc-ibm-aix7.2.2.0 platform<br>Compiled/running with OpenSSL=
 1.1.1c&nbsp; 28 May 2019<br></b>Threading:PTHREAD Sockets:POLL,IPv6 TLS:EN=
GINE,FIPS,OCSP,PSK,SNI<o:p></o:p></span></p><p class=3DMsoNormal style=3D'm=
so-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN style=3D=
'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>Global =
options:<br>RNDbytes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 1024<br>RNDfile&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D /dev/u=
random<br>RNDoverwrite&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; =3D yes<o:p></o:p></span></p><p class=3DMsoNormal style=3D'mso-marg=
in-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=3DEN style=3D'font-s=
ize:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>Service-level =
options:<br>ciphers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D FIPS (with &quot;fips =3D yes&quot;)=
<br>ciphers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; =3D HIGH:!aNULL:!SSLv2:!DH:!kDHEPSK (with &quot;=
fips =3D no&quot;)<br><b>ciphersuites&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; =3D TLS_CHACHA20_POLY1305_SHA256:TLS_AES_256_GCM_SHA=
384:TLS_AES_128_GCM_SHA256 (with TLSv1.3)<br>curves&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
=3D X25519:P-256:X448:P-521:P-384<br></b>debug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
=3D daemon.notice<br>logId&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D sequential<br><b>=
options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; =3D NO_SSLv2<br>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D NO_SSLv3<=
br></b>sessionCacheSize&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 1000<br>ses=
sionCacheTimeout&nbsp;&nbsp;&nbsp; =3D 300 seconds<br>stack&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp; =3D 65536 bytes<br>TIMEOUTbusy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 300 seconds<br>TIMEOUTclose&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 60 seconds<br>TIMEOU=
Tconnect&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 10 seconds<br>=
TIMEOUTidle&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; =3D 43200 seconds<br>verify&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D none<o:p></o:p></sp=
an></p><p class=3DMsoNormal><span lang=3DEN>Both stunnel versions run on th=
e same AIX platform (Identical OS)<o:p></o:p></span></p><p class=3DMsoNorma=
l><span lang=3DEN><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span la=
ng=3DEN>The setups are:<o:p></o:p></span></p><p class=3DMsoNormal><span lan=
g=3DEN>SERVER SET-UP FOR STUNNEL USING OPENSSL 1.0.2.R :<o:p></o:p></span><=
/p><p class=3DMsoNormal><span lang=3DEN><o:p>&nbsp;</o:p></span></p><p clas=
s=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier=
 New";mso-fareast-language:NL'>debug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D debu=
g<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-s=
ize:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>syslog&nbsp;&n=
bsp;&nbsp;&nbsp; =3D no<o:p></o:p></span></p><p class=3DMsoNormal><span lan=
g=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-langu=
age:NL'>output&nbsp;&nbsp;&nbsp;&nbsp; =3D /path/to/logfile<o:p></o:p></spa=
n></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-fa=
mily:"Courier New";mso-fareast-language:NL'>log&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; =3D append<o:p></o:p></span></p><p class=3DMsoNormal><span l=
ang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-lan=
guage:NL'>pid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D /path/to/pidfil=
e<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-s=
ize:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>cert&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; =3D /path/to/cert<o:p></o:p></span></p><p class=
=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier =
New";mso-fareast-language:NL'>key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 =3D /path/to/key<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN=
 style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL=
'>CAFile&nbsp;&nbsp;&nbsp;&nbsp; =3D /path/to/CAfile<o:p></o:p></span></p><=
p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-family:"C=
ourier New";mso-fareast-language:NL'>CAPath&nbsp;&nbsp;&nbsp;&nbsp; =3D /pa=
th/to/CAdir<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=
=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>PSKs=
ecrets =3D /path/to/PSKfile<o:p></o:p></span></p><p class=3DMsoNormal><span=
 lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-l=
anguage:NL'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DE=
N style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:N=
L'>[HkListenerSSL]<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DE=
N style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:N=
L'>client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D no<o:p></o:p></span></p><p clas=
s=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier=
 New";mso-fareast-language:NL'>verifyChain =3D yes<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Cou=
rier New";mso-fareast-language:NL'>verifyPeer&nbsp; =3D yes<o:p></o:p></spa=
n></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-fa=
mily:"Courier New";mso-fareast-language:NL'>accept&nbsp; =3D 0.0.0.0:9999<o=
:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size=
:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>connect =3D local=
host:25250<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=
=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'><o:p=
>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-=
size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>[HkListenerPS=
KO012]<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=3D'f=
ont-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>client&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; =3D no<o:p></o:p></span></p><p class=3DMsoNorma=
l><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fa=
reast-language:NL'>accept&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 0.0.0.0:9998<o:=
p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:=
8.0pt;font-family:"Courier New";mso-fareast-language:NL'>connect =3D localh=
ost:25250<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=
=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>ciph=
ers&nbsp;&nbsp;&nbsp; =3D PSK<o:p></o:p></span></p><p class=3DMsoNormal><sp=
an lang=3DEN><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3D=
EN>CLIENT SET-UP FOR STUNNEL USING OPENSSL 1.0.2.R :<o:p></o:p></span></p><=
p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-family:"C=
ourier New";mso-fareast-language:NL'>debug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
=3D debug<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=
=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>sysl=
og&nbsp;&nbsp;&nbsp;&nbsp; =3D no<o:p></o:p></span></p><p class=3DMsoNormal=
><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-far=
east-language:NL'>output&nbsp;&nbsp;&nbsp;&nbsp; =3D /path/to/logfile<o:p><=
/o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0=
pt;font-family:"Courier New";mso-fareast-language:NL'>log&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp; =3D append<o:p></o:p></span></p><p class=3DMsoNorm=
al><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-f=
areast-language:NL'>pid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D /path=
/to/pidfile<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=
=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>cert=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D /path/to/cert<o:p></o:p></span></p=
><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-family:=
"Courier New";mso-fareast-language:NL'>key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; =3D /path/to/key<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-la=
nguage:NL'>CAFile&nbsp;&nbsp;&nbsp;&nbsp; =3D /path/to/CAfile<o:p></o:p></s=
pan></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-=
family:"Courier New";mso-fareast-language:NL'>CAPath&nbsp;&nbsp;&nbsp;&nbsp=
; =3D /path/to/CAdir<o:p></o:p></span></p><p class=3DMsoNormal><span lang=
=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-langua=
ge:NL'>PSKsecrets =3D /path/to/PSKfile<o:p></o:p></span></p><p class=3DMsoN=
ormal><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";ms=
o-fareast-language:NL'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><sp=
an lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast=
-language:NL'>[HkListenerSSL]<o:p></o:p></span></p><p class=3DMsoNormal><sp=
an lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast=
-language:NL'>client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D yes<o:p></o:p></span=
></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-fam=
ily:"Courier New";mso-fareast-language:NL'>verifyChain =3D yes<o:p></o:p></=
span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font=
-family:"Courier New";mso-fareast-language:NL'>verifyPeer&nbsp; =3D yes<o:p=
></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8=
.0pt;font-family:"Courier New";mso-fareast-language:NL'>accept&nbsp; =3D 0.=
0.0.0:1119<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=
=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>conn=
ect =3D localhost:9999<o:p></o:p></span></p><p class=3DMsoNormal><span lang=
=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-langua=
ge:NL'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN sty=
le=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>[H=
kListenerPSKO013]<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN=
 style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL=
'>client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D yes<o:p></o:p></span></p><p clas=
s=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier=
 New";mso-fareast-language:NL'>accept&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 0.0=
.0.0:1118<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=
=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>conn=
ect =3D localhost:9998<o:p></o:p></span></p><p class=3DMsoNormal><span lang=
=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-langua=
ge:NL'>ciphers&nbsp;&nbsp;&nbsp; =3D PSK<o:p></o:p></span></p><p class=3DMs=
oNormal><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";=
mso-fareast-language:NL'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><=
span lang=3DEN>PSKFile for server and client content:<o:p></o:p></span></p>=
<p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-family:"=
Courier New";mso-fareast-language:NL'>HkListenerPSKO012:ZOOzMLROn5+Xy6PJ/lw=
nCgy5lq+Ak7OhOFS2s6vj4OU<o:p></o:p></span></p><p class=3DMsoNormal><span la=
ng=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-lang=
uage:NL'>HkListenerPSKO013:ZOOzMLROn5+Xy6PJ/lwnCgy5lq+Ak7OhOFS2s6vj4OU<o:p>=
</o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.=
0pt;font-family:"Courier New";mso-fareast-language:NL'><o:p>&nbsp;</o:p></s=
pan></p><p class=3DMsoNormal><span lang=3DEN><o:p>&nbsp;</o:p></span></p><p=
 class=3DMsoNormal><span lang=3DEN>SERVER SET-UP FOR STUNNEL USING OPENSSL =
1.1.1.c :<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=
=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>debu=
g&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D debug<o:p></o:p></span></p><p class=3DM=
soNormal><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New"=
;mso-fareast-language:NL'>syslog&nbsp;&nbsp;&nbsp;&nbsp; =3D no<o:p></o:p><=
/span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;fon=
t-family:"Courier New";mso-fareast-language:NL'>output&nbsp;&nbsp;&nbsp;&nb=
sp; =3D /path/to/logfile<o:p></o:p></span></p><p class=3DMsoNormal><span la=
ng=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-lang=
uage:NL'>log&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D append<o:p></o:p=
></span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;f=
ont-family:"Courier New";mso-fareast-language:NL'>pid&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp; =3D /path/to/pidfile<o:p></o:p></span></p><p class=3DM=
soNormal><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New"=
;mso-fareast-language:NL'>cert&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D /pat=
h/to/cert<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=
=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>key&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D /path/to/key<o:p></o:p></span=
></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-fam=
ily:"Courier New";mso-fareast-language:NL'>CAFile&nbsp;&nbsp;&nbsp;&nbsp; =
=3D /path/to/CAfile<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3D=
EN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:=
NL'>CAPath&nbsp;&nbsp;&nbsp;&nbsp; =3D /path/to/CAdir<o:p></o:p></span></p>=
<p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-family:"=
Courier New";mso-fareast-language:NL'>PSKsecrets =3D /path/to/PSKfile<o:p><=
/o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0=
pt;font-family:"Courier New";mso-fareast-language:NL'>sslVersionMin =3D TLS=
v1<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-=
size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>sslVersionMax=
 =3D TLSv1.2<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN styl=
e=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'><o:=
p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font=
-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'><o:p>&nbsp;<=
/o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0=
pt;font-family:"Courier New";mso-fareast-language:NL'>[HkListenerSSL]<o:p><=
/o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0=
pt;font-family:"Courier New";mso-fareast-language:NL'>client&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; =3D no<o:p></o:p></span></p><p class=3DMsoNormal><span lang=
=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-langua=
ge:NL'>verifyChain =3D yes<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-la=
nguage:NL'>verifyPeer&nbsp; =3D yes<o:p></o:p></span></p><p class=3DMsoNorm=
al><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-f=
areast-language:NL'>accept&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D 0.0.0.0:9999<o=
:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size=
:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>connect&nbsp;&nbs=
p;&nbsp;&nbsp; =3D localhost:25250<o:p></o:p></span></p><p class=3DMsoNorma=
l><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fa=
reast-language:NL'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span l=
ang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-lan=
guage:NL'>[HkListenerPSKO048]<o:p></o:p></span></p><p class=3DMsoNormal><sp=
an lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast=
-language:NL'>client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D no<o:p></o:p></span>=
</p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-fami=
ly:"Courier New";mso-fareast-language:NL'>accept&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; =3D 0.0.0.0:9998<o:p></o:p></span></p><p class=3DMsoNormal><span lang=
=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-langua=
ge:NL'>connect&nbsp;&nbsp;&nbsp;&nbsp; =3D localhost:25250<o:p></o:p></span=
></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-fam=
ily:"Courier New";mso-fareast-language:NL'>ciphers&nbsp;&nbsp;&nbsp;&nbsp; =
=3D PSK<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US><o:p>&=
nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN>CLIENT SET-UP FO=
R STUNNEL USING OPENSSL 1.1.1.c :<o:p></o:p></span></p><p class=3DMsoNormal=
><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-far=
east-language:NL'>debug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D debug<o:p></o:p><=
/span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;fon=
t-family:"Courier New";mso-fareast-language:NL'>syslog&nbsp;&nbsp;&nbsp;&nb=
sp; =3D no<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=
=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>outp=
ut&nbsp;&nbsp;&nbsp;&nbsp; =3D /path/to/logfile<o:p></o:p></span></p><p cla=
ss=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courie=
r New";mso-fareast-language:NL'>log&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; =3D append<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN sty=
le=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>pi=
d&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D /path/to/pidfile<o:p></o:p>=
</span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;fo=
nt-family:"Courier New";mso-fareast-language:NL'>cert&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; =3D /path/to/cert<o:p></o:p></span></p><p class=3DMsoNormal>=
<span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fare=
ast-language:NL'>key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D /path/to=
/key<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=3D'fon=
t-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>CAFile&nbsp=
;&nbsp;&nbsp;&nbsp; =3D /path/to/CAfile<o:p></o:p></span></p><p class=3DMso=
Normal><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";m=
so-fareast-language:NL'>CAPath&nbsp;&nbsp;&nbsp;&nbsp; =3D /path/to/CAdir<o=
:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size=
:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>PSKsecrets =3D /p=
ath/to/PSKfile<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN st=
yle=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>s=
slVersionMin =3D TLSv1<o:p></o:p></span></p><p class=3DMsoNormal><span lang=
=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-langua=
ge:NL'>sslVersionMax =3D TLSv1.2<o:p></o:p></span></p><p class=3DMsoNormal>=
<span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fare=
ast-language:NL'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lan=
g=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-langu=
age:NL'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN st=
yle=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>[=
HkListenerSSL]<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN st=
yle=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>c=
lient&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D yes<o:p></o:p></span></p><p class=
=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier =
New";mso-fareast-language:NL'>verifyChain =3D yes<o:p></o:p></span></p><p c=
lass=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Cour=
ier New";mso-fareast-language:NL'>verifyPeer&nbsp; =3D yes<o:p></o:p></span=
></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-fam=
ily:"Courier New";mso-fareast-language:NL'>accept&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp; =3D localhost:4449<o:p></o:p></span></p><p class=3DMsoNormal><span lan=
g=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-langu=
age:NL'>connect&nbsp;&nbsp;&nbsp;&nbsp; =3D dreps:9999<o:p></o:p></span></p=
><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-family:=
"Courier New";mso-fareast-language:NL'><o:p>&nbsp;</o:p></span></p><p class=
=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier =
New";mso-fareast-language:NL'>[HkListenerPSKO047]<o:p></o:p></span></p><p c=
lass=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Cour=
ier New";mso-fareast-language:NL'>client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =3D =
yes<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font=
-size:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>accept&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp; =3D localhost:4448<o:p></o:p></span></p><p class=
=3DMsoNormal><span lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier =
New";mso-fareast-language:NL'>connect&nbsp;&nbsp;&nbsp;&nbsp; =3D dreps:999=
8<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-s=
ize:8.0pt;font-family:"Courier New";mso-fareast-language:NL'>ciphers&nbsp;&=
nbsp;&nbsp;&nbsp; =3D PSK<o:p></o:p></span></p><p class=3DMsoNormal><span l=
ang=3DEN><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN><=
o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN>PSKFile for=
 server and client set-up:<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN style=3D'font-size:8.0pt;font-family:"Courier New";mso-fareast-la=
nguage:NL'>HkListenerPSKO047:ZOOzMLROn5+Xy6PJ/lwnCgy5lq+Ak7OhOFS2s6vj4OU<o:=
p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN style=3D'font-size:=
8.0pt;font-family:"Courier New";mso-fareast-language:NL'>HkListenerPSKO048:=
ZOOzMLROn5+Xy6PJ/lwnCgy5lq+Ak7OhOFS2s6vj4OU<o:p></o:p></span></p><p class=
=3DMsoNormal style=3D'margin-bottom:12.0pt'><span style=3D'font-size:10.0pt=
;font-family:"Arial",sans-serif;mso-fareast-language:NL'><o:p>&nbsp;</o:p><=
/span></p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><span lang=3D=
EN-US style=3D'font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-=
language:NL'>It goes without saying that only one of the two server set-ups=
 can be active during testing <o:p></o:p></span></p><p class=3DMsoNormal st=
yle=3D'margin-bottom:12.0pt'><span lang=3DEN-US style=3D'font-size:10.0pt;f=
ont-family:"Arial",sans-serif;mso-fareast-language:NL'><o:p>&nbsp;</o:p></s=
pan></p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><span lang=3DEN=
-US style=3D'font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-la=
nguage:NL'>Well, that is the end of my=E2=80=99small=E2=80=99 mail </span><=
span lang=3DEN-US style=3D'font-size:10.0pt;font-family:"Segoe UI Emoji",sa=
ns-serif;mso-fareast-language:NL'>&#128521;</span><span lang=3DEN-US style=
=3D'font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:NL=
'><o:p></o:p></span></p><p class=3DMsoNormal style=3D'margin-bottom:12.0pt'=
><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:"Arial",sans-seri=
f;mso-fareast-language:NL'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal=
 style=3D'margin-bottom:12.0pt'><span lang=3DEN-US style=3D'font-size:10.0p=
t;font-family:"Arial",sans-serif;color:black;mso-fareast-language:NL'>Kind =
regards</span><span lang=3DEN-US style=3D'font-size:10.0pt;font-family:"Ari=
al",sans-serif;mso-fareast-language:NL'>,<o:p></o:p></span></p><p class=3DM=
soNormal><b><span style=3D'font-size:10.0pt;font-family:"Arial",sans-serif;=
color:#009CDE;mso-fareast-language:NL'>Hannah Koperberg</span></b><b><span =
style=3D'font-size:10.0pt;font-family:"Arial",sans-serif;color:black;mso-fa=
reast-language:NL'>, de Volksbank in the Netherlands</span></b><b><span sty=
le=3D'font-size:10.0pt;font-family:"Arial",sans-serif;color:#009CDE;mso-far=
east-language:NL'><o:p></o:p></span></b></p><table class=3DMsoNormalTable b=
order=3D0 cellspacing=3D0 cellpadding=3D0 width=3D652 style=3D'width:489.05=
pt;border-collapse:collapse'><tr><td width=3D43 style=3D'width:32.25pt;padd=
ing:0cm 0cm 0cm 0cm'></td><td width=3D41 style=3D'width:30.75pt;padding:0cm=
 0cm 0cm 0cm'></td><td width=3D43 style=3D'width:32.25pt;padding:0cm 0cm 0c=
m 0cm'></td><td width=3D42 style=3D'width:31.5pt;padding:0cm 0cm 0cm 0cm'><=
/td><td width=3D90 style=3D'width:67.5pt;padding:0cm 0cm 0cm 0cm'></td><td =
width=3D393 style=3D'width:294.8pt;padding:0cm 0cm 0cm 0cm'></td></tr></tab=
le><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial"=
,sans-serif;mso-fareast-language:NL'><o:p>&nbsp;</o:p></span></p><p class=
=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Arial",sans-se=
rif;color:#000066;mso-fareast-language:NL'><o:p>&nbsp;</o:p></span></b></p>=
<p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Arial"=
,sans-serif;color:#000066;mso-fareast-language:NL'><o:p>&nbsp;</o:p></span>=
</b></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>=

--_0A75C79F-2036-4D5D-95B7-B5E2F8764777_--


--===============4013275977307893739==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
stunnel-users mailing list
[email protected]
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users

--===============4013275977307893739==--