Bug 406091 - mkcert.sh barfs
Summary: mkcert.sh barfs
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: dovecot
Version: 4.6
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Dan Horák
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-30 16:29 UTC by Jakub Hrozek
Modified: 2008-06-11 09:19 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-06-11 09:19:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jakub Hrozek 2007-11-30 16:29:53 UTC
Description of problem:
On RHEL4 dovecot, the mkcert.sh does not work out-of-the box. This works on 
RHEL5.


Version-Release number of selected component (if applicable):
dovecot-0.99.11-8.EL4

How reproducible:
always

Steps to Reproduce:
1. bash /usr/share/doc/dovecot-0.99.11/mkcert.sh
  
Actual results:
error on line -1 of dovecot-openssl.cnf
1647:error:02001002:system library:fopen:No such file or 
directory:bss_file.c:104:fopen('dovecot-openssl.cnf','rb')
1647:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:107:
1647:error:0E064072:configuration file routines:CONF_load:no such 
file:conf_def.c:197:


Expected results:
/etc/pki/dovecot/private/dovecot.pem and /etc/pki/dovecot/certs/dovecot.pem 
generated

Additional info:
There is no dovecot-openssl.cnf shipped with dovecot, nor in RHEL5.

Comment 1 Jakub Hrozek 2007-11-30 16:35:49 UTC
(In reply to comment #0)
> Additional info:
> There is no dovecot-openssl.cnf shipped with dovecot, nor in RHEL5.

Whoops, there is one with RHEL5 and actually RHEL4 dovecot seems to work with 
it.



Comment 2 Tomas Janousek 2007-12-03 16:06:01 UTC
There is in RHEL4.

cd /usr/share/doc/dovecot-0.99.11/
bash mkcert.sh

Comment 3 Dan Horák 2008-06-10 08:14:18 UTC
Also a quick look into the script reveals that the OpenSSL config file can be
specified with an environment variable. And when starting a script from the docs
directory the user really should know what is he doing. So I think we can close
this bug with NOTABUG, any objections?

Comment 4 Jakub Hrozek 2008-06-11 09:19:57 UTC
No objections, this was a lame bug report :-) Closing..


Note You need to log in before you can comment on or make changes to this bug.