Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 183151 - [PATCH] script to generate self-signed certificates does not work
Summary: [PATCH] script to generate self-signed certificates does not work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dovecot
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tomas Janousek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC6Blocker
TreeView+ depends on / blocked
 
Reported: 2006-02-27 00:47 UTC by Mark Sobell
Modified: 2014-01-21 22:53 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-12-27 08:54:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
shows the errors in two cases of the problem (deleted)
2006-02-27 00:47 UTC, Mark Sobell
no flags Details

Description Mark Sobell 2006-02-27 00:47:02 UTC
Description of problem:
The script at
/usr/share/doc/dovecot-1.0/examples/mkcert.sh
generates errors.

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1.sh /usr/share/doc/dovecot-1.0/examples/mkcert.sh
2.
3.
  
Actual results:
Various, depending on whether you set SSLDIR and which working directory you run
it from. See attached file.

I works properly if you set SSLDIR and cd to the proper directory:

# export SSLDIR=/etc/pki/dovecot
# cd /etc/pki/dovecot


Expected results:
Should run without errors when run without setting SSLDIR and when run from any
location.

Additional info:

Comment 1 Mark Sobell 2006-02-27 00:47:02 UTC
Created attachment 125291 [details]
shows the errors in two cases of the problem

Comment 2 Chris Langlands 2006-09-15 05:11:41 UTC
the following seems to be all that's needed


--- /usr/share/doc/dovecot-1.0/examples/mkcert.sh.orig  2006-09-15
09:11:40.000000000 +0800
+++ /usr/share/doc/dovecot-1.0/examples/mkcert.sh       2006-09-15
09:28:22.000000000 +0800
@@ -4,8 +4,8 @@
 # Edit dovecot-openssl.cnf before running this.

 OPENSSL=${OPENSSL-openssl}
-SSLDIR=${SSLDIR-/etc/ssl}
-OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf}
+SSLDIR=${SSLDIR-/etc/pki/dovecot}
+OPENSSLCONFIG=${OPENSSLCONFIG-/etc/pki/dovecot/dovecot-openssl.cnf}

 CERTFILE=$SSLDIR/certs/dovecot.pem
 KEYFILE=$SSLDIR/private/dovecot.pem


Comment 3 Matthias Saou 2006-09-28 14:31:30 UTC
Ping? Petr, you seem to have updated to 1.0rc7 a few days ago. This quick patch
would have been a welcome change, as it fixes this issue and would allow to
close this FC6Blocker bug.

Comment 5 Petr Rockai 2006-10-04 10:45:05 UTC
Sorry, i must have overlooked this. I have no idea why it is a blocker though, 
it is just a documentation issue -- the script is installed 
under /usr/share/doc/. It does not affect functionality of the package in any 
way and self-signed certificates are generated by scriptlets anyway.

Either way, i have fixed this in CVS.

Comment 6 Tomas Janousek 2006-12-21 12:33:59 UTC
Fixed in FC-5 CVS as well, will push update soon or later.

Comment 7 Fedora Update System 2006-12-23 19:14:06 UTC
dovecot-1.0-0.beta8.3.fc5 has been pushed for fc5, which should resolve this issue.  If these problems are still present in this version, then please make note of it in this bug report.

Comment 8 Fedora Update System 2006-12-27 06:02:52 UTC
dovecot-1.0-0.beta8.3.fc5 has been pushed for fc5, which should resolve this issue.  If these problems are still present in this version, then please make note of it in this bug report.


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