hey leute
folgende situation
ich bin auf einer berufsschule und lasse mich zum techn. assistent für informatik ausbilden.
seit einigen Tagen haben wir die Aufgabe, einen Groupware - Server mit allem pipapo zu erstellen.
hierbei ist der Groupware - Server selbst vom Lehrer vorgegeben. bei mir fiel die wahl des lehrers auf Kolab2, da ich eigentlich nicht der dümmste in der klasse bin. leider kann ich diese auswahl nicht ändern.
nun habe ich, via repositories, welche ich über automatix u.ä. programme stark erweitert habe, auf mein Laptop mit Ubuntu 6.10 installiert. folgende versionen:
kolabd: 1.9.4dfsg-3
kolab-cyrus-admin: 2.12.12-7
kolab-cyrus-clients: 2.12.12-7
kolab-cyrus-common: 2.12.12-7
kolab-cyrus-imapd: 2.12.12-7
kolab-cyrus-pop3d: 2.12.12-7
kolab-libcyrus-imap-perl: 2.12.12-7
kolab-ressource-handlers: 2.12.12-7
libkolab-perl: 2.12.12-7
Ausserdem noch jede menge weiterer libs, allerdings kann ich euch diese nicht merh alle nennen, da ich ALLES nur mit dem befehl
sudo apt-get install kolabd
installiert habe, der rest, auch die oben genannten sachen, kamen als abhängigkeiten, also habe ich schön ja gesagt.
nach der installation musste ich sämtliche daemons stoppen, die er durch die installation gestartet hat. diese waren:
slapd (/etc/init.d/slapd stop)
postfix (/etc/init.d/postfix stop)
kolabd (/etc/init.d/kolabd stop)
apache2 (/etc/init.d/apache2 stop)
kolab-cyrus (/etc/init.d/kolab-cyrus stop)
herausgefunden mit: sudo lsof -i TCP -n -P (Stand im Lu#inuxMagazin vom 03/07 😉)
diese daemons müssen für das konfigurationstool von kolab2, welches gleich mitgeliefert wird, gestoppt sein
Tool:
/usr/share/kolabd/./kolab_bootstrap
dieses habe ich mit sudo ausgeführt uns folgende angaben getätigt:
Bootstrapping Kolab will overwrite all configuration
Continiue [n] (y/n): y
Please enter hostname including domainname (e.g. thishost.domain.tld) [David-Laptop]: David-Laptop.kolab.server
Proceeding with Hostname David-Laptop.kolab.server
Do you want to set up (1) a master Kolab server or (2) a slave [1] (1/2): 1
Please enter your Maildomain - if you do not know your mail domain use the fqdn from above [kolab.server]: kolab.server
proceeding with kolab.server
Generating default configuration:
base_dn : dc=kolab,dc=server
bind_dn : cn=manager,cn=internal,dc=kolab,dc=server
Please choose a manager password [MvQtZHTvAIkHsODQ]: 123abc
bind_pw : 123abc
IMPORTANT NOTE:
use login=manager and passwd=123abc when you log into the webinterface!
Enter fully qualified hostname of slave kolab server e.g. thishost.domain.tld [empty when done]: David-Laptop.kolab.server
Enter fully qualified hostname of slave kolab server e.g. thishost.domain.tld [empty when done]: [ENTER - Taste]
Creating RSA keypair for resource password encryption
/usr/bin/openssl genrsa -out /etc/kolab/res_priv.pem 1024
Generating RSA private key, 1024 bit long modulus
..++++++
.....................++++++
e is 65537 (0x10001)
/usr/bin/openssl rsa -in /etc/kolab/res_priv.pem -pubout -out /etc/kolab/res_pub.pem
writing RSA key
chown kolab:kolab /etc/kolab/res_pub.pem /etc/kolab/res_priv.pem
kolab can create and manage a certificates for use within kolab environment.
you can choose to skip this section if you already have certificates for the kolab server.
do you want to create CA and certificates [y] (y/n): y
Now we need to create a certificate authority (CA) for kolab and a server certificate. you will be promted for a passphrase for the CA.
/usr/sbin/kolab_ca.sh -newca David-Laptop.kolab.server
Enter organization name [Kolab]: Test
Enter organizational unit [Test-CA]: Test-Unit
Using subject O=Test,OU=Test-Unit,CN=David-Laptop.kolab.server
Using dn
CA certificate filename (or enter to create)
[ENTER - Taste]
Making CA certificate ...
Generating a 1024 bit RSA private key
.........++++++
......++++++
writing new private key to '/etc/kolab/ca/private/cakey.pem'
Enter PEM pass phrase: 123abc456 [zeigt er NICHT an]
Verrifying - Enter PEM pass phrase: 123abc456 [zeigt er NICHT an]
\––-
/home/gurbelunder
/usr/sbin/kolab_ca.sh -newkey David-Laptop.kolab.server /etc/kolab/key.pem
Using dn
Generating RSA private key, 1024 Bits long modulus
......++++++
...............................................................++++++
e is 65537 (0x1001)
writing RSA key
/home/gurbelunder
/usr/sbin/kolab_ca.sh -newreq David-Laptop.kolab.server /etc/kolab/key.pem /etc/kolab/newreq.pem
Using dn
Request is in /etc/kolab/newreq.pem and private key is in /etc/kolab/key.pem
/home/gurbelunder
/usr/sbin/kolab_ca.sh -sign /etc/kolab/newreq.pem /etc/kolab/cert.pem
Using dn
Using configuration from /etc/kolab/kolab-ssl.cnf
Enter pass phrase for /etc/kolab/ca/private/cakey.pem: 456abc123
unable to load CA private key
5604:error:0906A065:PEM routines:PEM_do_header:bad decrypt:pem_lib.c:425:
Signed certificate is in /etc/kolab/cert.pem
/home/gurbelunder
system /usr/sbin/kolab_ca.sh -sign /etc/kolab/newreq.pem /etc/kolab/cert.pem failed: 256 at /usr/share/kolabd/./kolab_bootstrap line 123, <STDIN> line 8.
Danach beendet er die Konfiguration. ich kann den Kolab2 auch nicht aufrufen. damit meine ich, via der adresse https:/David-Laptop.kolab.server/admin das webinterface aufrufen. Die verschlüsselung allerdings muss gegeben sein, laut aufgabenstellung, mein lehrer hat mir auch gesagt, dass das bei ihm funktioniert hätte ?!? er weis allerdings keine lösung für mein problem.
Daher meine bitte an euch, helft mir, meine abschlussnote steht auf dem spiel!!!
Falls ihr irgendwelche weiteren informationen benötigt, sagt mir bescheid, versuche, mich so schnell wie möglich zu melden.
mit freundlichstem dank, den ihr euch vorstellen könnt
gurbelunder