Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90749 - self-cert.sh creates key in the wrong directory for jabberd 2.0
Summary: self-cert.sh creates key in the wrong directory for jabberd 2.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Wolfram Schlich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-28 11:30 UTC by Daniel Guido
Modified: 2005-04-28 14:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Guido 2005-04-28 11:30:24 UTC
It appears that in the new, masked jabberd 2.0 builds the config directory has changed from /etc/jabber/ to /etc/jabberd/ .  The self-cert.sh script that is included with jabberd 2.0 still creates a self-signed certificate in the old config directory.

Reproducible: Always
Steps to Reproduce:
1. emerge '>=jabberd-2' (or something like that)
2. /etc/jabberd/self-cert.sh
3. cert created in /etc/jabber/gentoo.pem



Expected Results:  
self-cert.sh should have created gentoo.pem in /etc/jabberd/gentoo.pem
Comment 1 Daniel Guido 2005-04-28 11:42:22 UTC
The jabber docs also say the file should be

chown root:jabber /etc/jabberd/gentoo.pem    
chmod 640 /etc/jabberd/gentoo.pem

self-cert.sh doesn't do this

http://jabberd.jabberstudio.org/2/docs/app_sslkey.html
Comment 2 Wolfram Schlich (RETIRED) gentoo-dev 2005-04-28 12:59:49 UTC
Taking care... also updating jabberd to 2.0.8 (2.0s8). Stay tuned.
Comment 3 Wolfram Schlich (RETIRED) gentoo-dev 2005-04-28 14:29:30 UTC
Added self-cert.jabberd-2.sh and fixed jabberd-2.0.8.ebuild.