Default engine

2006-10-26 Thread Mike Hamburg
Is it possible to set the default engine in OpenSSL? I have Padlock acceleration, but I can't get OpenSSL to use it without adding -evp -engine padlock, and I can't get OpenSSH to use it at all (using ./configure --enable-ssl-engine). Or is there something else I should be looking at? Thanks

No version information available

2006-10-26 Thread Mike Hamburg
I compiled and installed openssl v0.9.8d under Ubuntu, and whenever I run anything which links with ssl, I get a version warning message. For instance, with scp: scp: /usr/lib/i686/cmov/libcrypto.so.0.9.8: no version information available (required by scp) Is this warning meaningful, and if

Re: strange certificate verification

2006-10-26 Thread Vincenzo Sciarra
Try c_rehash in the certificate folder. bye 2006/10/25, Alexis Lefort [EMAIL PROTECTED]: Hi all, I did a software that verifies the certificate of the server it connects to, but when I specify the CA file with SSL_CTX_set_client_CA_list () the certificate is accepted, and when I only

Re: strange certificate verification

2006-10-26 Thread Alexis Lefort
Thanks for your reply :) This is what I already do, and there is only one certificate in the file. regards Vincenzo Sciarra a écrit : Try c_rehash in the certificate folder. bye 2006/10/25, Alexis Lefort [EMAIL PROTECTED]: Hi all, I did a software that verifies the certificate of the

Re: strange certificate verification

2006-10-26 Thread Alexis Lefort
There is no man page on SSL_CTX_set_verify_locations, do you mean SSL_CTX_load_verify_locations? what I do is : SSL_CTX_set_client_CA_list (sslctx, SSL_load_client_CA_file (caList)); SSL_CTX_load_verify_locations (sslctx, caList, caPath); Vincenzo Sciarra a crit: The software must verify

Re: Default engine

2006-10-26 Thread Victor B. Wagner
On 2006.10.26 at 00:46:15 -0700, Mike Hamburg wrote: Is it possible to set the default engine in OpenSSL? I have Padlock acceleration, but I can't get OpenSSL to use it without adding -evp -engine padlock, and I can't get OpenSSH to use it at all (using ./configure --enable-ssl-engine). Or

Re: strange certificate verification

2006-10-26 Thread Vincenzo Sciarra
Yes I'm sorry. try this : // SSL_CTX_set_client_CA_list (sslctx, SSL_load_client_CA_file (caList)); SSL_CTX_load_verify_locations (sslctx, /path/of/CA/cert/file, NULL); 2006/10/26, Alexis Lefort [EMAIL PROTECTED]: There is no man page on SSL_CTX_set_verify_locations, do you mean

Re: strange certificate verification

2006-10-26 Thread Alexis Lefort
Yes, if I load the file it works, but I want it to work even if the file is only in the directory. I have just seen something else: I did by myself a software that does the equivalent of c_rehash, but my software accept to rename the file whereas c_rehash refuses to do so! Why c_rehash can

Re: strange certificate verification

2006-10-26 Thread Alexis Lefort
hu ho, the way I rename the file was bad, I omitted the firsts characters if they were 0. I feel just a little bit stupid sorry and thanks for your help :) Alexis Lefort a écrit : Yes, if I load the file it works, but I want it to work even if the file is only in the directory. I have just

Re: shared libs for hpux1

2006-10-26 Thread Marc Girod
Rick Jones [EMAIL PROTECTED] writes: IIRC, many PA2.0 HP 9000s will id themselves as only a 9000/800 - there were enough different models of 800 over the years that just about all the digits were taken,. Might be best to triple-check with the likes of the model command and perhaps some

Re: strange certificate verification

2006-10-26 Thread Vincenzo Sciarra
c_rehash only prepare a directory to be standard for cert verification. 2006/10/26, Alexis Lefort [EMAIL PROTECTED]: Yes, if I load the file it works, but I want it to work even if the file is only in the directory. I have just seen something else: I did by myself a software that does the

note on c_rehash

2006-10-26 Thread Alexis Lefort
Hello all again ;) c_rehash does symbolic links to files containing certificates, but it does only one link per file. If there are more than one certificate in a file it will lead to problems for openssl because only one certificate is alowed in renamed files. It was just a little note to

openssl 0.9.8 and pkcs5v2 alg in pkcs12

2006-10-26 Thread Jean-Marc Desperrier
Hi, The pkcs12 man page reads : -keypbe [...] If a a cipher name (as output by the list-cipher-algorithms command is specified then it is used with PKCS#5 v2.0 [...] The 'list-cipher-algorithms' command is only available in the 0.9.9-dev trunk version of openssl. Does it mean also that

Could Not Load Verify Locations

2006-10-26 Thread Dan O'Reilly
Using OpenLDAP and OpenSSL .98, I get: ldap_create ldap_url_parse_ext(ldaps://discovery.adtest.process.com) ldap_simple_bind_s ldap_sasl_bind_s ldap_sasl_bind ldap_send_initial_request ldap_new_connection 1 1 0 ldap_int_open_connection ldap_connect_to_host: TCP discovery.adtest.process.com:636

Re: openssl 0.9.8 and pkcs5v2 alg in pkcs12

2006-10-26 Thread Dr. Stephen Henson
On Thu, Oct 26, 2006, Jean-Marc Desperrier wrote: Hi, The pkcs12 man page reads : -keypbe [...] If a a cipher name (as output by the list-cipher-algorithms command is specified then it is used with PKCS#5 v2.0 [...] The 'list-cipher-algorithms' command is only available in the

wireshark and malformed ssl

2006-10-26 Thread Corey Jones
I have been using wireshark(0.99.3) to analyse ssl data flows to try to track down an issue where our SSL server(0.9.7d based) somehow gets corrupted and degrades over a period of time to the point where all ssl handshakes result in fatal alerts of bad record mac. When analysing a capture

Re: wireshark and malformed ssl

2006-10-26 Thread Marek Marcola
Hello, I have been using wireshark(0.99.3) to analyse ssl data flows to try to track down an issue where our SSL server(0.9.7d based) somehow gets corrupted and degrades over a period of time to the point where all ssl handshakes result in fatal alerts of bad record mac. When analysing a