Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th December 2005, 23:10
NoBullMan NoBullMan is offline
Junior Member
 
Join Date: Dec 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error during installation of certificate

Hi,
I followed the document in www.howtoforge.com about installing a web server using Ubuntu Linux. I got to the part of installing ISPConfig, downloaded it and proceeded to install. But in step 3, I get:

Step 3: Generating X.509 certificate for CA signed by itself [ca.crt]
Certificate version (1 pr 3) [3]:
bad number of days

followed by a list of arguments, followed by:

mkcert.sh:Error: Failed to generate self-signed CA certificate
make[1]: *** [certificate] Error 1
make[1]: Leaving directory `/tmp/install_ispconfig/compile_aps/apache_1.3.33/src'
make: *** [certificate] Error 2
ERROR: Could not make certificate for Apache
cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directorymv: cannot stat `binaries/aps.tar.gz': No such file or directory
mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
mv: cannot stat `binaries/cronolog': No such file or directory
mv: cannot stat `binaries/cronosplit': No such file or directory
mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
mv: cannot stat `binaries/zip': No such file or directory
mv: cannot stat `binaries/unzip': No such file or directory
tar: spamassassin.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `spamassassin': No such file or directory
tar: uudeview.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `uudeview': No such file or directory
tar: clamav.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `clamav': No such file or directory
tar: aps.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
./setup2: line 771: ispconfig_tmp/php/bin/php: No such file or directory
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!

I thought it might be related to Postfix installation where I had to specify the number of days in:
openssl x509 -req -days 3650 -in smtps.csr -signkey smtpd.key -out smtpd.crt

I ran those commands again, restarted Postfix and tried installing ISPConfig again, but got the same errors.

This is the last step (according to the document) in setting up a web server. Your help is greatly appreciated.
Reply With Quote
Sponsored Links
  #2  
Old 13th December 2005, 23:20
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,964
Thanks: 825
Thanked 5,366 Times in 4,213 Posts
Default

Quote:
Originally Posted by NoBullMan
Step 3: Generating X.509 certificate for CA signed by itself [ca.crt]
Certificate version (1 pr 3) [3]:
bad number of days
What did you enter here and in the prior questions during the certificate generation? If you accept the default values, it should work.
Reply With Quote
  #3  
Old 14th December 2005, 00:13
NoBullMan NoBullMan is offline
Junior Member
 
Join Date: Dec 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The only values I entered were the country code and state. I entered '.' for others. It did not complain about the first two steps:

STEP 0: Decide the signature algorithm used for certificates
The generated X.509 certificates can contain either
RSA or DSA based ingredients. Select the one you want to use.
Signature Algorithm ((R)SA or (D)SA) [R]:
__________________________________________________ ____________________

STEP 1: Generating RSA private key for CA (1024 bit) [ca.key]
1403621 semi-random bytes loaded
Generating RSA private key, 1024 bit long modulus
..................++++++
...++++++
e is 65537 (0x10001)
__________________________________________________ ____________________

STEP 2: Generating X.509 certificate signing request for CA [ca.csr]
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
1. Country Name (2 letter code) [XY]:US
2. State or Province Name (full name) [Snake Desert]:Virginia
3. Locality Name (eg, city) [Snake Town]:.
4. Organization Name (eg, company) [Snake Oil, Ltd]:.
5. Organizational Unit Name (eg, section) [Certificate Authority]:.
6. Common Name (eg, CA name) [Snake Oil CA]:.
7. Email Address (eg, name@FQDN) [ca@snakeoil.dom]:.
8. Certificate Validity (days) [365]:.
__________________________________________________ ____________________

STEP 3: Generating X.509 certificate for CA signed by itself [ca.crt]
Certificate Version (1 or 3) [3]:
bad number of days
Reply With Quote
  #4  
Old 14th December 2005, 00:19
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,964
Thanks: 825
Thanked 5,366 Times in 4,213 Posts
Default

Quote:
8. Certificate Validity (days) [365]:.
As you where asked for certificate validity, you entered a dot, but it must be a number like "365" days
Reply With Quote
  #5  
Old 14th December 2005, 15:51
NoBullMan NoBullMan is offline
Junior Member
 
Join Date: Dec 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Doh!

Thanks a lot. I should be more careful. It is working fine now.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Certificate mphayesuk General 4 7th November 2005 10:25
howto regenerate default certificate ? DarkBen Installation/Configuration 1 27th October 2005 12:46
Default Certificate adamluz Installation/Configuration 1 27th September 2005 01:09
Problems getting through the installation klausagnoletti Installation/Configuration 4 26th September 2005 12:23
Trouble with Installation. cjkeeme Installation/Configuration 3 3rd August 2005 18:46


All times are GMT +2. The time now is 07:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.