On Wed, 21 Mar 2001, you wrote:


OK when I select the sever.pem cert to use I get this output

openssl s_server -cert /usr/local/src/openssl-0.9.6/crypto/pkcs7/server.pem
Using default temp DH parameters
ACCEPT


I take it that ACCEPT is a good thing now why does it give me this error when I
try to connect to the port 993

[root@powell rsaref-2.0]# openssl s_client -host mail.uiop.net -port 993
CONNECTED(00000003)
write:errno=32

/var/log/message

Mar 21 12:47:47 powell stunnel[5713]: /usr/share/ssl/certs/stunnel.pem: No such file 
or directory (2)

Is there a configuration file that I need to change that points to 
/usr/local/src/openssl-0.9.6/crypto/pkcs7/server.pem
istead of /usr/share/ssl/certs/stunnel.pem ?

This is my first time setting this up and I am going strait from the book and
what I get from this email list. So please let me know if I am on the right
track.

Thanks
Darrin








> On Wed, Mar 21, 2001 at 01:10:39PM -0500, Darrin Powell wrote:
> > On Wed, 21 Mar 2001, you wrote:
> >          Also I get these errors when I try to open a port. Maybe this has some
> > sig. I am lost :)
> > 
> > [root@powell log]# openssl s_server -accept 993
> > Using default temp DH parameters
> > unable to get certificate from 'server.pem'
> > 5902:error:02001002:system library:fopen:No such file or 
>directory:bss_file.c:104:fopen('server.pem','r')
> > 5902:error:2006D002:BIO routines:BIO_new_file:system lib:bss_file.c:106:
> > 5902:error:02001002:system library:fopen:No such file or 
>directory:bss_file.c:245:fopen('server.pem','r')
> > 5902:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:247:
> > 5902:error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system 
>lib:ssl_rsa.c:513:
> 
> In order to establish a connection, the server must present a certificate.
> The default name for the certificate file is server.pem. Please use
> the s_server manual page to check how to change the file name.
> 
> Best,
>       Lutz
> -- 
> Lutz Jaenicke                             [EMAIL PROTECTED]
> BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
> Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
> Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to