OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: error - directory:bss_file.c:122:fopen('/etc/postfix/cacert.pem','r'

From: Mark Watts (m.wattseris.qinetiq.com)
Date: Mon Apr 02 2007 - 07:42:29 CDT


> Dear list ,
>
> here is the TLS section of my main.cf
>
> ----------------------------
> smtpd_use_tls = yes
> #smtpd_tls_auth_only = yes
> smtpd_tls_key_file = /etc/postfix/postfix-key.pem
> smtpd_tls_cert_file = /etc/postfix/postfix-cert.pem
> smtpd_tls_CAfile = /etc/postfix/cacert.pem
> smtpd_tls_received_header = yes
> smtpd_tls_session_cache_timeout = 3600s
> tls_random_source = dev:/dev/urandom
> ---------------------------------------
>
> so the CA related path is defined.
>
> but when ever I do *telnet localhost 25* the log says
> ---------------------------
> Apr 2 17:53:50 linux postfix/smtpd[17236]: warning: TLS library
> problem: 17236:error:02001002:system library:fopen:No such file or
> directory:bss_file.c:122:fopen('/etc/postfix/cacert.pem','r'):
> ------------------------------------------------------
>
> how can I fix the path problem here ?
> thanks

Are you running chroot'ed ?

Check in master.cf

--
Mark Watts BSc RHCE MBCS
Senior Systems Engineer
QinetiQ Trusted Information Management
Trusted Solutions and Services Group
GPG Public Key ID: 455420ED

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQBGEPo1Bn4EFUVUIO0RAveAAKDPfyukzZN1iWAApssVlYCUzz0mAACfQYPO
x5mySVcthH9G7kW4bNcM6Ik=
=GlJl
-----END PGP SIGNATURE-----