--047d7b343fbece6a6305207aaf39
Content-Type: text/plain; charset=UTF-8
./client-simple
ACE_SSL (11687|140735268270848) error code: 336032784 - error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
(11687|140735268270848) connection failed: Unknown error: 336032784
I tried with the IPC_SAP/SSL_SAP example too.
Am i missing anything here ??
Thank you
On Thu, Sep 24, 2015 at 2:12 PM, Muthuvel <
[email protected]> wrote:
is the below the problem for "no shared secret" error.
The error was caused by a wrong order of commands. If SSL_new is
executed before SSL_CTX_use_certificate_file and SSL_CTX_use_RSAPrivateKey_file, the certs and the private key will not
be passed to the SSL structure. Consequently, the server will not get
any "shared cipher" information.
http://openssl.6102.n7.nabble.com/quot-no-shared-cipher-quot-td14216.html
Thank you
On Thu, Sep 24, 2015 at 6:56 AM, Muthuvel <[email protected]
wrote:
Hi,
I have 2 problem running my Server application that accept only SSL
connection.
1. If anyone try with telnet to the ip with the port, it's connected.
If i terminate the telnet, server got killed.
2. If i try SSL connection, it is not happening, i am getting "no
shared secret".
Any pointers to analyze this issues ?
ACE VERSION: 6.3.2
HOST MACHINE and OPERATING SYSTEM:
x86_64 windows 8.1
TARGET MACHINE and OPERATING SYSTEM, if different from HOST: Same
host
COMPILER NAME AND VERSION (AND PATCHLEVEL): MinGW gcc 4.8.1
THE $ACE_ROOT/ace/config.h FILE :
#define __ACE_INLINE__ 0
#include "ace/config-win32.h"
THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE
include platform_mingw32.GNU
with ssl = 1
$ACE_ROOT/bin/MakeProjectCreator/config/default.features does not
exist.
AREA/CLASS/EXAMPLE AFFECTED:
Newly created application
DOES THE PROBLEM AFFECT:
or EXECUTION?
yes
SYNOPSIS:
1. If anyone try with telnet to the ip with the port, it's connected.
If i terminate the telnet, server got killed.
2. If i try SSL connection, it is not happening, i am getting "no shared
secret".
Setting up ACE_SSL_Context certificate and private_key method returning
-1.
Thank you
--
Regards
Muthuvel
--
Regards
Muthuvel
--
Regards
Muthuvel
--047d7b343fbece6a6305207aaf39
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir="ltr"><p style="margin:0px;font-family:Menlo"> ./client-simple </p> <p style="margin:0px;font-family:Menlo">ACE_SSL (11687|140735268270848) error code: 336032784 - error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure</p>
<p style="margin:0px;font-family:Menlo">(11687|140735268270848) connection failed: Unknown error: 336032784</p><p style="margin:0px;font-family:Menlo"><br></p><p style="margin:0px;font-family:Menlo">I tried with the IPC_SAP/SSL_SAP example too.</p><p
style="margin:0px;font-family:Menlo">Am i missing anything here ??</p><p style="margin:0px;font-family:Menlo"><br></p><p style="margin:0px;font-family:Menlo">Thank you</p><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu,
Sep 24, 2015 at 2:12 PM, Muthuvel <span dir="ltr"><<a href="mailto:
[email protected]" target="_blank">
[email protected]</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex"><div dir="ltr">is the below the problem for "no shared secret" error.<div><br></div><div><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px">The error was caused by a wrong
order of commands. If SSL_new is </span><br style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px"><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px">executed before
SSL_CTX_use_certificate_file and </span><br style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px"><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px">SSL_CTX_use_
RSAPrivateKey_file, the certs and the private key will not </span><br style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px"><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-
size:13px">be passed to the SSL structure. Consequently, the server will not get </span><br style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px"><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,
Arial,sans-serif;font-size:13px">any "shared cipher" information. </span><br style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px"></div><div><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,
Helvetica,Arial,sans-serif;font-size:13px"><br></span></div><div><a href="
http://openssl.6102.n7.nabble.com/quot-no-shared-cipher-quot-td14216.html" target="_blank">
http://openssl.6102.n7.nabble.com/quot-no-shared-cipher-quot-td14216.html</a><span style="
color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px"><br></span></div><div><br></div><div>Thank you</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Thu, Sep 24, 2015 at 6:56 AM,
Muthuvel <span dir="ltr"><<a href="mailto:
[email protected]" target="_blank">
[email protected]</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><
div dir="ltr"><div>Hi,</div><div> I have 2 problem running my Server application that accept only SSL</div><div>connection.</div><div>1. If anyone try with telnet to the ip with the port, it's connected.</div><div> If i terminate the telnet,
server got killed.</div><div>2. If i try SSL connection, it is not happening, i am getting "no shared secret".</div><div><br></div><div>Any pointers to analyze this issues ?</div><div><br></div><div><br></div><br clear="all"><div><p style="
margin:0in 0in 0.0001pt"><span style="font-family:Menlo,serif"> ACE VERSION: 6.3.2<u></u><u></u></span></p><p style="margin:0in 0in 0.0001pt"><span style="font-family:Menlo,serif"> HOST MACHINE and OPERATING SYSTEM:<u></u><u></u></span></p><
<p class="MsoNormal"> x86_64 windows 8.1 <u></u><u></u></p></div><div><p style="margin:0in 0in 0.0001pt"><span style="font-family:Menlo,serif"> TARGET MACHINE and OPERATING SYSTEM, if different from HOST: Same host <u></u><u></u><
/span></p><p style="margin:0in 0in 0.0001pt"><span style="font-family:Menlo,serif"> COMPILER NAME AND VERSION (AND PATCHLEVEL): MinGW gcc 4.8.1<u></u><u></u></span></p><p style="margin:0in 0in 0.0001pt"><span style="font-family:Menlo,serif"> �
�</span><span style="font-size:11.5pt;font-family:Arial,sans-serif">THE $ACE_ROOT/ace/config.h FILE :</span><span style="font-family:Menlo,serif"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.5pt;font-family:Arial,sans-serif">
#define __ACE_INLINE__ 0<br> #include "ace/config-win32.h"</span><u></u><u></u></p></div><div><p class="MsoNormal" style="color:rgb(80,0,80);font-size:13px"> <span style="font-size:11.5pt;font-family:Arial,sans-
serif">THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE </span><u></u><u></u></p><p style="color:rgb(80,0,80);font-size:13px;margin:0in 0in 0.0001pt"><span style="font-family:Menlo,serif"> include platform_mingw32.GNU<u></u><u></u></
span></p><p style="color:rgb(80,0,80);font-size:13px;margin:0in 0in 0.0001pt"><span style="font-family:Menlo,serif"> with ssl = 1<u></u><u></u></span></p><p style="color:rgb(80,0,80);font-size:13px;margin:0in 0in 0.0001pt"><span style="font-size:11.
5pt;font-family:Arial,sans-serif">$ACE_ROOT/bin/MakeProjectCreator/config/default.features does not<br>exist.</span><span style="font-family:Menlo,serif"><u></u><u></u></span></p><p style="color:rgb(80,0,80);font-size:13px;margin:0in 0in 0.0001pt"><span
style="font-family:Menlo,serif"> AREA/CLASS/EXAMPLE AFFECTED:<u></u><u></u></span></p><p style="color:rgb(80,0,80);font-size:13px;margin:0in 0in 0.0001pt"><span style="font-family:Menlo,serif"> Newly created application </span></p><p style="
color:rgb(80,0,80);font-size:13px;margin:0in 0in 0.0001pt"><span style="font-family:Menlo,serif"><br></span></p><div style="color:rgb(80,0,80);font-size:13px"><p class="MsoNormal"><span style="font-family:Menlo,serif"> DOES THE PROBLEM AFFECT:</span>
<br></p></div><div style="color:rgb(80,0,80);font-size:13px"><p class="MsoNormal"> <span style="font-family:Menlo,serif"> or EXECUTION?</span><u></u><u></u></p></div><div style="color:rgb(80,0,80);font-size:13px"><p class="MsoNormal"
<span style="font-family:Menlo,serif"> yes</span><u></u><u></u></p></div><div style="color:rgb(80,0,80);font-size:13px"><p class="MsoNormal"><span style="font-family:Menlo,serif"> SYNOPSIS:</span><u></u><u></u></p><div style="
color:rgb(34,34,34)">1. If anyone try with telnet to the ip with the port, it's connected.</div><div style="color:rgb(34,34,34)"> If i terminate the telnet, server got killed.</div><div style="color:rgb(34,34,34)">2. If i try SSL connection, it
is not happening, i am getting "no shared secret".</div><div style="color:rgb(34,34,34)">Setting up ACE_SSL_Context certificate and private_key method returning -1.</div><div style="color:rgb(34,34,34)"><br></div><div style="color:rgb(34,34,
34)"><br></div><div style="color:rgb(34,34,34)">Thank you</div><span><font color="#888888"><div><br></div></font></span></div><span><font color="#888888"><div style="color:rgb(80,0,80);font-size:13px"></div></font></span></div></div><span><font color="#
888888">-- <br><div>Regards<br>Muthuvel</div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>Regards<br>Muthuvel</div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Regards<br>Muthuvel</div>
</div>
--047d7b343fbece6a6305207aaf39--
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)