View previous topic :: View next topic |
Author |
Message |
iban Guest
|
Posted: Mon Jun 19, 2006 10:58 Post subject: certificate problem |
|
|
hello
We are installing m23 on a laptop using debian 3..1RC2.
When "synaptic helper" configure m23 it loops on certifcate creation.
The log is:
Setting up m23 (0.5.0-100066) ...
/m23/etc/.htpasswd exists
bunzip2: Can't open input file /tmp/m23-install/m23.sql.bz2: No such file or directory.
/var/lib/dpkg/info/m23.postinst: line 52: /tmp/m23-install/m23.sql: No such file or directory
rm: cannot remove `/tmp/m23-install/m23.sql': No such file or directory
bunzip2: Can't open input file /tmp/m23-install/m23captured.sql.bz2: No such file or directory./var/lib/dpkg/info/m23.postinst: line 52: /tmp/m23-install/m23captured.sql: No such file or directory
rm: cannot remove `/tmp/m23-install/m23captured.sql': No such file or directory
2048 semi-random bytes loaded
Generating RSA private key, 2048 bit long modulus
.......................................................+++
.....................+++
e is 65537 (0x10001)
1+0 records in
1+0 records out
20 bytes transferred in 0.000071 seconds (282107 bytes/sec)
Signature ok
subject=/C=GB/ST=m23state/L=m23city/O=m23 project/OU=m23 team/CN=m23server/emailAddress=m23@m23.m23
Getting Private key
2048 semi-random bytes loaded
Generating RSA private key, 2048 bit long modulus
.......+++
...................................................................................+++
e is 65537 (0x10001)
1+0 records in
1+0 records out
20 bytes transferred in 0.000074 seconds (270644 bytes/sec)
problems making Certificate Request
12685:error:0D07A098:asn1 encoding routines:ASN1_mbstring_copy:string too short:a_mbstr.c:147:minsize=1
/etc/apache/m23/server.csr: No such file or directory
Need help, plz... |
|
Back to top |
|
|
Hauke
Joined: 02 Mar 2003 Posts: 1072
|
Posted: Mon Jun 19, 2006 13:09 Post subject: |
|
|
How did you install m23? Via APT or an advanced tool (I don't know synaptic)?
Did you install over an existing m23 installation?
Are there additional (previous) error messages?
Did you answer "yes" to all m23 package questions? _________________ Hauke Goos-Habermann
- project leader m23 (http://m23.sf.net) -
Jabber: dodgerm23@jabber.org
Schulung, Entwicklung und Support zu m23 und anderen OpenSource-Produkten: www.goos-habermann.de
Auch DU kannst etwas gegen Softwarepatente tun! www.patentfrei.de |
|
Back to top |
|
|
iban Guest
|
Posted: Mon Jun 19, 2006 14:09 Post subject: solution |
|
|
I installed it via sinaptic many times and via APT too.
But finnaly i fixed the problem.
I generated a certificate manually and puted it in the "right" dir.
And now it works...
I'm actually testing it on our computers...
There are severals "bugs" and needs of "evolutions"...
Like the possibility of put hostnames with specials characters ( "-" for example).
And it would be great if m23 could work in a network where it is not the "main" server, i mean there is already dhcp, proxies, and stuff in our network.
By the way it seems "strange" to me to have to "hard" specify the ip address of the client instead of hostnames...
Anyway, thx for the help. I'm going to test it a bit more... |
|
Back to top |
|
|
iban
Joined: 19 Jun 2006 Posts: 7
|
Posted: Mon Jun 19, 2006 14:16 Post subject: Re: solution |
|
|
iban wrote: |
Like the possibility of put hostnames with specials characters ( "-" for example).
|
It seems that it is possible to do this by editing an existing client...
But not while creating one... |
|
Back to top |
|
|
Hauke
Joined: 02 Mar 2003 Posts: 1072
|
Posted: Tue Jun 20, 2006 13:15 Post subject: Re: solution |
|
|
iban wrote: | But finnaly i fixed the problem.
I generated a certificate manually and puted it in the "right" dir.
And now it works...
|
I'll try installing the m23 packages on Debian 3.1 R2. The packages worked well on my test server installed with the Sarge packages from the internet and m23. It seems that there is a difference.
iban wrote: |
There are severals "bugs" and needs of "evolutions"...
|
Please post me the full bug list to the forum.
iban wrote: |
Like the possibility of put hostnames with specials characters ( "-" for example).
|
You can change the hostname checking by replacing
Code: | eregi("[^a-z0-9_]+",$string,$tempvar); |
with
Code: | eregi("[^a-z0-9_-]+",$string,$tempvar); |
in the file /m23/inc/checks.php in the function checkNormalKeys.
This will be included in the next patch.
iban wrote: |
And it would be great if m23 could work in a network where it is not the "main" server, i mean there is already dhcp, proxies, and stuff in our network.
By the way it seems "strange" to me to have to "hard" specify the ip address of the client instead of hostnames... |
This is the "problem" with network booting. You need an DHCP under the control of m23. An external DHCP can't be used for tjis purpose. The network settings are only distributed via the m23 DHCP server as long as network booting is required for a special client. If the client has finished the base installation its MAC is removed from the m23 DHCP server configuration. _________________ Hauke Goos-Habermann
- project leader m23 (http://m23.sf.net) -
Jabber: dodgerm23@jabber.org
Schulung, Entwicklung und Support zu m23 und anderen OpenSource-Produkten: www.goos-habermann.de
Auch DU kannst etwas gegen Softwarepatente tun! www.patentfrei.de |
|
Back to top |
|
|
Hauke
Joined: 02 Mar 2003 Posts: 1072
|
Posted: Tue Jun 20, 2006 16:50 Post subject: |
|
|
I've just checked my packages on a freshly installed Debian 3.1 R2 system and couldn't reproduce the ceritificate error you had. For me the installation went smoothly and m23 got installed correctly.
Is additional software installed on your test system? Could you post me the package list (dpkg --get-selections)?
Are there installed self-compiled programs?
Does there exist unusual configuration? _________________ Hauke Goos-Habermann
- project leader m23 (http://m23.sf.net) -
Jabber: dodgerm23@jabber.org
Schulung, Entwicklung und Support zu m23 und anderen OpenSource-Produkten: www.goos-habermann.de
Auch DU kannst etwas gegen Softwarepatente tun! www.patentfrei.de |
|
Back to top |
|
|
iban
Joined: 19 Jun 2006 Posts: 7
|
Posted: Mon Jul 17, 2006 13:43 Post subject: Sorry |
|
|
Sorry for this long period without answers...
The machine crashed (hardware problems), and "we" decided to do our stuff without m23 for now.
Thanks for help and good luck with your nice project... |
|
Back to top |
|
|
|