Ah - okay.
Actually, loading the certificate also into the server and loading the ciphers
in
the client and also in the server resolved the problem.
Unfortunately, i used incomplete documentation from a university presentation
from
the internet, which contained logic as well as other errors.
The
Hello,
I would recommend to actually load the server certificate in addition
to the key. Without certificate the key/certificate pair is not complete
and only anonymous ciphers would be valid. These are not enabled by
default so that no "shared cipher for which all necessary data are
available" ca
Hello !
I have changed the order now - however, in my understanding, setting the
ciphers is not required in any case.
The behaviour is unfortunately still the same.
Is there a way to debug the handshake further down ?
Thanks
Florian
Krishna M Singh wrote:
> Hi
>
> I don't remember the internal
Hi
I don't remember the internals of the SSL_CTX and SSL structures but t
we need to create SSL object once all the initialization of SSL_CTX is
completed...
m_ssl=SSL_new(m_ctx);
should come after all the calls to add cipher etc. that sets something
in the context are done else the m_ssl willn'
Hello !
Here is again the complete code as of now.
The restricitions are removed so far.
Output from Server:
SSL PrivateKey opened successfully
LOG; Now accepting connections on fd...connection accepted.
LOG; Now accepting (ssl)...SSL Handshake (SSL_accept) failed - error
code -1
SSH Handshake er
> Well, i tried this, but unfortunately, there is no change.
> Is my understanding wrong that per default, there are ciphers defined ?
> I am happy to define them if required - however, i don't
> understand the error.
> Any idea ?
Make sure you've removed any test code you added that limi
Well, i tried this, but unfortunately, there is no change.
Is my understanding wrong that per default, there are ciphers defined ?
I am happy to define them if required - however, i don't understand the error.
Any idea ?
Florian
David Schwartz wrote:
> > Hello !
> >
> > However, when using DES-C
> Hello !
>
> However, when using DES-CBC3-SHA instead, i still have the same behaviour.
>
> Any idea ?
>
> Many thanks !!
>
> Florian
Did you add these ciphers?
Try something like:
EVP_add_cipher(EVP_des_cbc());
EVP_add_cipher(EVP_rc2_cbc());
EVP_add_cipher(EVP_rc4());
EVP_
Hello !
However, when using DES-CBC3-SHA instead, i still have the same behaviour.
Any idea ?
Many thanks !!
Florian
Girish Venkatachalam wrote:
> --- Florian G otter <[EMAIL PROTECTED]> wrote:
> > Added code:
> >
> > if(SSL_set_cipher_list(m_ssl,"EXP-RC4-MD5")==1)
> > {
> > cout << "set
--- Florian G otter <[EMAIL PROTECTED]> wrote:
> Added code:
>
> if(SSL_set_cipher_list(m_ssl,"EXP-RC4-MD5")==1)
> {
> cout << "setting cipher went okay" << endl;
> }
> else
> {
> cout << "cipher not set" << endl;
> }
>
Dont use EXP- ciphers!
__
Well - this was really a stupid mistake.
However, after some hours of furter debugging i am stuck now with a problem
again.
Basically, it looks like the client and the server do not find a shared
cipher to use.
I tried the code without specifiying the ciper (according to the
documentation, standard
On Thu, Aug 17, 2006 at 03:43:47PM +0200, Florian G otter wrote:
> Hello once again,
>
> here is my cut-down code as well as output.
> Basically, the server fails after the line "// FAILS!!!" without the
> client even connecting to it.
>
> Does anybody have an idea ?
That seems to be a simple on
Hello once again,
here is my cut-down code as well as output.
Basically, the server fails after the line "// FAILS!!!" without the
client even connecting to it.
Does anybody have an idea ?
Many thanks
Florian
--
Output from server:
SSL PrivateKey opened successfully
LOG; Now accepting connec
--- Florian G otter <[EMAIL PROTECTED]> wrote:
> Hello everybody !
>
> I have a problem witht the SSL_accept / handshake
> which i could not
> resolve with the help of the net / colleagues /
> time.
>
> Having written a small server / client, it gives the
> following output
> (debug info gener
Hello everybody !
I have a problem witht the SSL_accept / handshake which i could not
resolve with the help of the net / colleagues / time.
Having written a small server / client, it gives the following output
(debug info generated by me with the help of SSL_get_error ):
SSL PrivateKey opened su
15 matches
Mail list logo