Re: SSL connection error

2005-10-18 Thread Gleb Paharenko
Hello.



It is a bit confusing for me. Really, MySQL has all permissions for

reading those files. Do you have SELinux enabled? Sometimes it is

the source of the problems, you should have it properly configured.





Israel Fern$ndez Cabrera [EMAIL PROTECTED] wrote:

List:  MySQL General Discussion« Previous Message

From:  Israel Fernández Cabrera   Date:   October 17 2005 10:18pm

Subject:   SSL connection error

Get Plain Text  



Hi all



I'm back with a new subject may be the last one was not attractive :)

I'm using mysql 4.1.11-2 in Fedora Core 4. I need to set up mysql

connections over SLL I follow the mysql manual instructions, create

certificates and keys for the CA, the client and the server and modify

the /etc/my.cnf file with the ssl-ca, ssl-cert and ssl-key for the

client and the mysqld sections of the my.cnf file.

My problem is that mysqld log an error describing that it has no

permission to read the certificate file, I've been with this for more

than 3 days.

I'm attaching ls output, my.cnf file, mysqld.log file and a fragment

of the mysqld strace output with the open syscall returning error.



Thanks in advance for your time and interest



best regards



--



Israel Fdez. Cabrera

[EMAIL PROTECTED]



#ls / | grep etc

drwxr-xr-x   83 root root   12288 Oct 15 16:50 etc



#ls /etc | grep pki

drwxr-xr-x   7 root root4096 Oct 14 17:51 pki



#ls /etc/pki

total 104

drwxr-xr-x  3 root root 4096 Oct 14 21:46 CA

drwxr-xr-x  3 root root 4096 Oct  8 16:54 dovecot

-rwxr-xr-x  1 root root 1088 Oct  8 16:54 gencert.sh

-rwxr-xr-x  1 root root 1056 Oct  8 16:54 gencert.sh~

-rw-r--r--  1 root root  236 Oct  8 16:54 index.txt

-rw-r--r--  1 root root   21 Oct  8 16:54 index.txt.attr

-rw-r--r--  1 root root   21 Oct  8 16:54 index.txt.attr.old

-rw-r--r--  1 root root  118 Oct  8 16:54 index.txt.old

drwxr-xr-x  2 root root 4096 Oct  8 16:54 newcerts

drwxr-xr-x  2 root root 4096 Oct  8 16:54 rpm-gpg

-rw-r--r--  1 root root3 Oct  8 16:54 serial

-rw-r--r--  1 root root3 Oct  8 16:54 serial.old

drwxr-xr-x  5 root root 4096 Oct 14 17:51 tls



#ls /etc/pki/tls

total 40

lrwxrwxrwx  1 root root   19 Oct  8 16:54 cert.pem - certs/ca-bundle.crt

drwxr-xr-x  2 root root 4096 Oct 15 14:18 certs

drwxr-xr-x  2 root root 4096 Oct  8 16:54 misc

-r--r--r--  1 root root 7998 Oct 14 17:59 openssl.cnf

drwxr-xr-x  2 root root 4096 Oct  8 16:54 private



#ls /etc/pki/tls/certs

total 492

-rw-r--r--  1 root root  427833 Oct  8 16:54 ca-bundle.crt

-rw-r--r--  1 root root3617 Oct 14 21:46 client-cert.pem

-rw-r--r--  1 root mysql887 Oct  8 16:54 client-key.pem

-rw-r--r--  1 root mysql769 Oct  8 16:54 client-req.pem

-rw-r--r--  1 root root 610 Oct  8 16:54 make-dummy-cert

-rw-r--r--  1 root root2240 Oct  8 16:54 Makefile

-rw-r--r--  1 root root3617 Oct 14 21:46 server-cert.pem

-rw-r--r--  1 root root 887 Oct 14 21:46 server-key.pem

-rw-r--r--  1 root mysql769 Oct  8 16:54 server-req.pem





open(/etc/pki/tls/certs/server-cert.pem, O_RDONLY) = -1 EACCES (Permission 
denied)

write(2, Error when connection to server ..., 42) = 42

write(2, 1872:error:0200100D:system libra..., 122) = 122

write(2, 1872:error:20074002:BIO routines..., 70) = 70

write(2, 1872:error:140AD002:SSL routines..., 88) = 88

write(2, Unable to get certificate from \'..., 68) = 68

open(/etc/pki/CA/cacert.pem, O_RDONLY) = -1 EACCES (Permission denied)

open(/etc/pki/tls/cert.pem, O_RDONLY) = -1 EACCES (Permission denied)

time([1129246383])  = 1129246383

open(/dev/urandom, O_RDONLY|O_NONBLOCK|O_NOCTTY) = -1 EACCES (Permission 
denied)

open(/dev/random, O_RDONLY|O_NONBLOCK|O_NOCTTY) = -1 EACCES (Permission 
denied)

open(/dev/srandom, O_RDONLY|O_NONBLOCK|O_NOCTTY) = -1 ENOENT (No such file 
or directory)

socket(PF_FILE, SOCK_STREAM, 0) = 3

connect(3, {sa_family=AF_FILE, path=/var/run/egd-pool}, 19) = -1 ENOENT (No 
such file or

directory)

close(3)= 0

socket(PF_FILE, SOCK_STREAM, 0) = 3





Thread



* SSL connection error - Israel Fernández Cabrera, October 17 2005 10:17pm





© 1995-2004 MySQL AB. All rights reserved.



* MySQL.com Home

* Site Map

* Contact Us

* Privacy Policy

* Trademark Info









-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
   ___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: SSL connection error

2005-10-18 Thread Israel Fernández Cabrera
First of all thanks for you answer...
would you like to give me some hinst about what should me condifured in SELinux?

best regards
Israel

On 10/17/05, Gleb Paharenko [EMAIL PROTECTED] wrote:
 Hello.



 It is a bit confusing for me. Really, MySQL has all permissions for

 reading those files. Do you have SELinux enabled? Sometimes it is

 the source of the problems, you should have it properly configured.





 Israel Fern$ndez Cabrera [EMAIL PROTECTED] wrote:

 List:  MySQL General Discussion« Previous Message

 From:  Israel Fernández CabreraDate:   October 17 2005 10:18pm

 Subject:   SSL connection error

 Get Plain Text

 

 Hi all

 

 I'm back with a new subject may be the last one was not attractive :)

 I'm using mysql 4.1.11-2 in Fedora Core 4. I need to set up mysql

 connections over SLL I follow the mysql manual instructions, create

 certificates and keys for the CA, the client and the server and modify

 the /etc/my.cnf file with the ssl-ca, ssl-cert and ssl-key for the

 client and the mysqld sections of the my.cnf file.

 My problem is that mysqld log an error describing that it has no

 permission to read the certificate file, I've been with this for more

 than 3 days.

 I'm attaching ls output, my.cnf file, mysqld.log file and a fragment

 of the mysqld strace output with the open syscall returning error.

 

 Thanks in advance for your time and interest

 

 best regards

 

 --

 

 Israel Fdez. Cabrera

 [EMAIL PROTECTED]

 

 #ls / | grep etc

 drwxr-xr-x   83 root root   12288 Oct 15 16:50 etc

 

 #ls /etc | grep pki

 drwxr-xr-x   7 root root4096 Oct 14 17:51 pki

 

 #ls /etc/pki

 total 104

 drwxr-xr-x  3 root root 4096 Oct 14 21:46 CA

 drwxr-xr-x  3 root root 4096 Oct  8 16:54 dovecot

 -rwxr-xr-x  1 root root 1088 Oct  8 16:54 gencert.sh

 -rwxr-xr-x  1 root root 1056 Oct  8 16:54 gencert.sh~

 -rw-r--r--  1 root root  236 Oct  8 16:54 index.txt

 -rw-r--r--  1 root root   21 Oct  8 16:54 index.txt.attr

 -rw-r--r--  1 root root   21 Oct  8 16:54 index.txt.attr.old

 -rw-r--r--  1 root root  118 Oct  8 16:54 index.txt.old

 drwxr-xr-x  2 root root 4096 Oct  8 16:54 newcerts

 drwxr-xr-x  2 root root 4096 Oct  8 16:54 rpm-gpg

 -rw-r--r--  1 root root3 Oct  8 16:54 serial

 -rw-r--r--  1 root root3 Oct  8 16:54 serial.old

 drwxr-xr-x  5 root root 4096 Oct 14 17:51 tls

 

 #ls /etc/pki/tls

 total 40

 lrwxrwxrwx  1 root root   19 Oct  8 16:54 cert.pem - certs/ca-bundle.crt

 drwxr-xr-x  2 root root 4096 Oct 15 14:18 certs

 drwxr-xr-x  2 root root 4096 Oct  8 16:54 misc

 -r--r--r--  1 root root 7998 Oct 14 17:59 openssl.cnf

 drwxr-xr-x  2 root root 4096 Oct  8 16:54 private

 

 #ls /etc/pki/tls/certs

 total 492

 -rw-r--r--  1 root root  427833 Oct  8 16:54 ca-bundle.crt

 -rw-r--r--  1 root root3617 Oct 14 21:46 client-cert.pem

 -rw-r--r--  1 root mysql887 Oct  8 16:54 client-key.pem

 -rw-r--r--  1 root mysql769 Oct  8 16:54 client-req.pem

 -rw-r--r--  1 root root 610 Oct  8 16:54 make-dummy-cert

 -rw-r--r--  1 root root2240 Oct  8 16:54 Makefile

 -rw-r--r--  1 root root3617 Oct 14 21:46 server-cert.pem

 -rw-r--r--  1 root root 887 Oct 14 21:46 server-key.pem

 -rw-r--r--  1 root mysql769 Oct  8 16:54 server-req.pem

 

 

 open(/etc/pki/tls/certs/server-cert.pem, O_RDONLY) = -1 EACCES (Permission 
 denied)

 write(2, Error when connection to server ..., 42) = 42

 write(2, 1872:error:0200100D:system libra..., 122) = 122

 write(2, 1872:error:20074002:BIO routines..., 70) = 70

 write(2, 1872:error:140AD002:SSL routines..., 88) = 88

 write(2, Unable to get certificate from \'..., 68) = 68

 open(/etc/pki/CA/cacert.pem, O_RDONLY) = -1 EACCES (Permission denied)

 open(/etc/pki/tls/cert.pem, O_RDONLY) = -1 EACCES (Permission denied)

 time([1129246383])  = 1129246383

 open(/dev/urandom, O_RDONLY|O_NONBLOCK|O_NOCTTY) = -1 EACCES (Permission 
 denied)

 open(/dev/random, O_RDONLY|O_NONBLOCK|O_NOCTTY) = -1 EACCES (Permission 
 denied)

 open(/dev/srandom, O_RDONLY|O_NONBLOCK|O_NOCTTY) = -1 ENOENT (No such file 
 or directory)

 socket(PF_FILE, SOCK_STREAM, 0) = 3

 connect(3, {sa_family=AF_FILE, path=/var/run/egd-pool}, 19) = -1 ENOENT 
 (No such file or

 directory)

 close(3)= 0

 socket(PF_FILE, SOCK_STREAM, 0) = 3

 

 

 Thread

 

 * SSL connection error - Israel Fernández Cabrera, October 17 2005 
  10:17pm

 

 

 (c) 1995-2004 MySQL AB. All rights reserved.

 

 * MySQL.com Home

 * Site Map

 * Contact Us

 * Privacy Policy

 * Trademark Info

 

 

 



 --
 For technical support contracts, goto https://order.mysql.com/?ref=ensita
 This email is sponsored by Ensita.NET http://www.ensita.net/
__  ___ ___   __
   /  |/  /_ __/ __/ __ \/ /Gleb Paharenko
  / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
 /_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET

Re: SSL connection error

2005-10-18 Thread Gleb Paharenko
Hello.





First check the contents of /var/log/messages. SELinux usually puts

there some notes about what it is doing. I'm not a SELinux expert, but

quick search at fedora.redhat.com has shown me that I should use

system-config-securitylevel utility for configuring SELinux.







Israel Fernández Cabrera wrote:

 First of all thanks for you answer...

 would you like to give me some hinst about what should me condifured in SEL=

 inux?

 



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
   ___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



SSL connection error

2005-10-17 Thread Israel Fernández Cabrera
Hi all

I'm back with a new subject may be the last one was not attractive :)
I'm using mysql 4.1.11-2 in Fedora Core 4. I need to set up mysql
connections over SLL I follow the mysql manual instructions, create
certificates and keys for the CA, the client and the server and modify
the /etc/my.cnf file with the ssl-ca, ssl-cert and ssl-key for the
client and the mysqld sections of the my.cnf file.
My problem is that mysqld log an error describing that it has no
permission to read the certificate file, I've been with this for more
than 3 days.
I'm attaching ls output, my.cnf file, mysqld.log file and a fragment
of the mysqld strace output with the open syscall returning error.

Thanks in advance for your time and interest

best regards

--

Israel Fdez. Cabrera
[EMAIL PROTECTED]
#ls / | grep etc
drwxr-xr-x   83 root root   12288 Oct 15 16:50 etc

#ls /etc | grep pki
drwxr-xr-x   7 root root4096 Oct 14 17:51 pki

#ls /etc/pki
total 104
drwxr-xr-x  3 root root 4096 Oct 14 21:46 CA
drwxr-xr-x  3 root root 4096 Oct  8 16:54 dovecot
-rwxr-xr-x  1 root root 1088 Oct  8 16:54 gencert.sh
-rwxr-xr-x  1 root root 1056 Oct  8 16:54 gencert.sh~
-rw-r--r--  1 root root  236 Oct  8 16:54 index.txt
-rw-r--r--  1 root root   21 Oct  8 16:54 index.txt.attr
-rw-r--r--  1 root root   21 Oct  8 16:54 index.txt.attr.old
-rw-r--r--  1 root root  118 Oct  8 16:54 index.txt.old
drwxr-xr-x  2 root root 4096 Oct  8 16:54 newcerts
drwxr-xr-x  2 root root 4096 Oct  8 16:54 rpm-gpg
-rw-r--r--  1 root root3 Oct  8 16:54 serial
-rw-r--r--  1 root root3 Oct  8 16:54 serial.old
drwxr-xr-x  5 root root 4096 Oct 14 17:51 tls

#ls /etc/pki/tls
total 40
lrwxrwxrwx  1 root root   19 Oct  8 16:54 cert.pem - certs/ca-bundle.crt
drwxr-xr-x  2 root root 4096 Oct 15 14:18 certs
drwxr-xr-x  2 root root 4096 Oct  8 16:54 misc
-r--r--r--  1 root root 7998 Oct 14 17:59 openssl.cnf
drwxr-xr-x  2 root root 4096 Oct  8 16:54 private

#ls /etc/pki/tls/certs
total 492
-rw-r--r--  1 root root  427833 Oct  8 16:54 ca-bundle.crt
-rw-r--r--  1 root root3617 Oct 14 21:46 client-cert.pem
-rw-r--r--  1 root mysql887 Oct  8 16:54 client-key.pem
-rw-r--r--  1 root mysql769 Oct  8 16:54 client-req.pem
-rw-r--r--  1 root root 610 Oct  8 16:54 make-dummy-cert
-rw-r--r--  1 root root2240 Oct  8 16:54 Makefile
-rw-r--r--  1 root root3617 Oct 14 21:46 server-cert.pem
-rw-r--r--  1 root root 887 Oct 14 21:46 server-key.pem
-rw-r--r--  1 root mysql769 Oct  8 16:54 server-req.pem

open(/etc/pki/tls/certs/server-cert.pem, O_RDONLY) = -1 EACCES (Permission 
denied)
write(2, Error when connection to server ..., 42) = 42
write(2, 1872:error:0200100D:system libra..., 122) = 122
write(2, 1872:error:20074002:BIO routines..., 70) = 70
write(2, 1872:error:140AD002:SSL routines..., 88) = 88
write(2, Unable to get certificate from \'..., 68) = 68
open(/etc/pki/CA/cacert.pem, O_RDONLY) = -1 EACCES (Permission denied)
open(/etc/pki/tls/cert.pem, O_RDONLY) = -1 EACCES (Permission denied)
time([1129246383])  = 1129246383
open(/dev/urandom, O_RDONLY|O_NONBLOCK|O_NOCTTY) = -1 EACCES (Permission 
denied)
open(/dev/random, O_RDONLY|O_NONBLOCK|O_NOCTTY) = -1 EACCES (Permission 
denied)
open(/dev/srandom, O_RDONLY|O_NONBLOCK|O_NOCTTY) = -1 ENOENT (No such file or 
directory)
socket(PF_FILE, SOCK_STREAM, 0) = 3
connect(3, {sa_family=AF_FILE, path=/var/run/egd-pool}, 19) = -1 ENOENT (No 
such file or directory)
close(3)= 0
socket(PF_FILE, SOCK_STREAM, 0) = 3


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

ERROR 2026: SSL connection error

2004-05-01 Thread Tobias Gunkel
Hello!

I'm using MySQL 4.0.18 on a SuSE 9.0 machine.
I compiled it with

./configure \
--with-vio  \
--with-openssl  \
--without-debug \
--without-bench \
--enable-assembler

I've created the certs  keys with the following commands:

openssl req -new -x509 -keyout $PRIV/cakey.pem -out $DIR/cacert.pem -config
$DIR/openssl.cnf openssl req -new -keyout $DIR/server-key.pem -out
$DIR/server-req.pem -days 730 -config $DIR/openssl.cnf openssl rsa -in
$DIR/server-key.pem -out $DIR/server-key.pem openssl ca  -policy
policy_anything -out $DIR/server-cert.pem -config $DIR/openssl.cnf -infiles
$DIR/server-req.pem openssl req -new -keyout $DIR/client-key.pem -out
$DIR/client-req.pem -days 730 -config $DIR/openssl.cnf openssl rsa -in
$DIR/client-key.pem -out $DIR/client-key.pem openssl ca  -policy
policy_anything -out $DIR/client-cert.pem -config $DIR/openssl.cnf -infiles
$DIR/client-req.pem

My /etc/my.cnf looks like this:

--- /etc/my.cnf 
[client]
ssl-ca=/etc/mysql/cacert.pem
ssl-cert=/etc/mysql/client-cert.pem
ssl-key=/etc/mysql/client-key.pem
socket=/dat1/srv/chroot/mysqld/tmp/mysql.sock

[mysqld]
port=3306
user=mysql
safe-show-database
skip-symlink
safe-user-create
log=/var/log/mysql/mysql.log
log-slow-queries=/var/log/mysql/slow_queries.log
ssl
ssl-ca=/etc/mysql/cacert.pem
ssl-cert=/etc/mysql/server-cert.pem
ssl-key=/etc/mysql/server-key.pem
set-variable=local-infile=0
-- EOF 

SSL connections worked fine for a cuple of hours, but then I get this SSL
error:

ERROR 2026: SSL connection error

When I delete the certs  keys and creating them again, all works fine for
some time.
But then the same error occurs.

What did I wrong???
It seems, that the certs  keys are vaild only for some hours.

Maybe someone could help me.
Thanks.

Tobias Gunkel
Germany



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



SSL connection error

2004-02-13 Thread frederic . deshaies
Description:
I'm using Mysql with SSL. It has been working perfectly until today 
and now I have an ERROR 2026: SSL connection error when I try to 
connect to Mysql.
I do not understand why, my SSL certificat is valid until 8 jan 2005. 

What does this error mean exactly ? 
Does anyone experiment this error ?

Thanks by advance !



How-To-Repeat:
none
Fix:
none

Submitter-Id:  Frederic Deshaies
Originator:
Organization:
 
MySQL support: [none | licence | email support | extended email support ]
Synopsis:  SSL connection error
Severity:   serious
Priority:  medium
Category:  mysql
Class: support
Release:   mysql-4.0.17 (Source distribution)
Server: ./mysqladmin  Ver 8.40 Distrib 4.0.17, for sun-solaris2.8 on sparc
Copyright (C) 2000 MySQL AB  MySQL Finland AB  TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license

Server version  4.0.17
Protocol version10
Connection  Localhost via UNIX socket
UNIX socket /tmp/mysql.sock
Uptime: 32 days 6 hours 2 min 52 sec

Threads: 1  Questions: 3576  Slow queries: 0  Opens: 155  Flush tables: 1  Open 
tables: 10  Queries per second avg: 0.001
C compiler:2.95.3
C++ compiler:  2.95.3
Environment:

System: SunOS sgdt-ci 5.8 Generic_108528-11 sun4u sparc SUNW,Ultra-4
Architecture: sun4

Some paths:  /Produits/publics/sparc.SunOS.5.8/bin/perl /usr/ccs/bin/make 
/Produits/publics/sparc.SunOS.5.8/bin/gmake 
/Produits/publics/sparc.SunOS.5.7/gcc/2.95.2/bin/gcc /usr/ucb/cc
GCC: Reading specs from 
/Produits/publics/sparc.SunOS.5.7/gcc/2.95.2/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)
Compilation info: CC='gcc'  CFLAGS='-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs 
-Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings 
-Wunused -mcpu=pentiumpro -O3 -fno-omit-frame-pointer'  CXX='ccache gcc'  
CXXFLAGS='-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts 
-Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Woverloaded-virtual 
-Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors 
-fno-exceptions -fno-rtti -mcpu=pentiumpro -O3 -fno-omit-frame-pointer'  LDFLAGS=''  
ASFLAGS=''
LIBC: 
-rw-r--r--   1 root bin  1760276 Jul 27  2001 /lib/libc.a
lrwxrwxrwx   1 root root  11 Nov  6  2001 /lib/libc.so - ./libc.so.1
-rwxr-xr-x   1 root bin  1136744 Jul 27  2001 /lib/libc.so.1
-rw-r--r--   1 root bin  1760276 Jul 27  2001 /usr/lib/libc.a
lrwxrwxrwx   1 root root  11 Nov  6  2001 /usr/lib/libc.so - ./libc.so.1
-rwxr-xr-x   1 root bin  1136744 Jul 27  2001 /usr/lib/libc.so.1
Configure command: ./configure '--prefix=/usr/local/mysql' '--enable-assembler' 
'--with-extra-charsets=complex' '--enable-thread-safe-client' '--with-innodb' 
'--with-berkeley-db' '--with-embedded-server' '--with-openssl' '--with-vio' 
'--enable-local-infile' 'CFLAGS=-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs 
-Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings 
-Wunused -mcpu=pentiumpro -O3 -fno-omit-frame-pointer' 'CXXFLAGS=-Wimplicit 
-Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat 
-Wparentheses -Wsign-compare -Wwrite-strings -Woverloaded-virtual -Wsign-promo 
-Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors -fno-exceptions 
-fno-rtti -mcpu=pentiumpro -O3 -fno-omit-frame-pointer' 'CXX=ccache gcc'
Perl: This is perl, version 5.005_03 built for sun4-solaris-thread

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



ERROR 2026: SSL connection error ... what's happening?

2003-12-16 Thread Wouter de Jong
Hello,

I'm running MySQL 4.0.16 (source compiled) on FreeBSD 5.1, 
and I have a big problem with SSL...

It runs perfectly for a few hours, but then suddenly I can't connect any
longer via an SSL-connection...

ERROR 2026: SSL connection error

That's the error that suddenly appears when using mysql-client, and it
also happens with other apllications that use SSL-connection to MySQL

Any idea what this could be?

ldd:

ldd /usr/local/mysql/libexec/mysqld
/usr/local/mysql/libexec/mysqld:
libssl.so.3 = /usr/lib/libssl.so.3 (0x282bb000)
libcrypto.so.3 = /usr/lib/libcrypto.so.3 (0x282ec000)
libz.so.2 = /usr/lib/libz.so.2 (0x283f7000)
libcrypt.so.2 = /usr/lib/libcrypt.so.2 (0x28405000)
libstdc++.so.4 = /usr/lib/libstdc++.so.4 (0x2841e000)
libm.so.2 = /usr/lib/libm.so.2 (0x284d3000)
libc_r.so.5 = /usr/lib/libc_r.so.5 (0x284f)
libc.so.5 = /usr/lib/libc.so.5 (0x28513000)

OpenSSL in /usr is OpenSSL 0.9.7a Feb 19 2003 from the base system.

-- 
WideXS  http://www.widexs.nl
Wouter de Jong  System-Administrator
Tel +31 (0)23 5698070   Fax +31 (0)23 5698099
Bijlmermeerstraat 62,   2131 HG  HOOFDDORP, NL

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]