READ ONLY FORUM: m23 :: makes software distribution easy Forum Index READ ONLY FORUM: m23 :: makes software distribution easy
The m23 discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

certificate problem

 
Post new topic   Reply to topic    READ ONLY FORUM: m23 :: makes software distribution easy Forum Index -> Problems with the server / Serverprobleme
View previous topic :: View next topic  
Author Message
iban
Guest





PostPosted: Mon Jun 19, 2006 10:58    Post subject: certificate problem Reply with quote

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

PostPosted: Mon Jun 19, 2006 13:09    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
iban
Guest





PostPosted: Mon Jun 19, 2006 14:09    Post subject: solution Reply with quote

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

PostPosted: Mon Jun 19, 2006 14:16    Post subject: Re: solution Reply with quote

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
View user's profile Send private message
Hauke



Joined: 02 Mar 2003
Posts: 1072

PostPosted: Tue Jun 20, 2006 13:15    Post subject: Re: solution Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Hauke



Joined: 02 Mar 2003
Posts: 1072

PostPosted: Tue Jun 20, 2006 16:50    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
iban



Joined: 19 Jun 2006
Posts: 7

PostPosted: Mon Jul 17, 2006 13:43    Post subject: Sorry Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    READ ONLY FORUM: m23 :: makes software distribution easy Forum Index -> Problems with the server / Serverprobleme All times are GMT - 2 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group