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
  #11  
Old 8th February 2007, 21:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by phamels
Hi Till !

Thanks again for such a great and fast response.
Seems to be a problem with my ISPConfig tough, doesn't seem to create me the request code.
where should I start debugging ?


Kind regards


Pieter
Any errors in /home/admispconfig/ispconfig/ispconfig.log? What's the output of
Code:
ls -la /root/ispconfig
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Sponsored Links
  #12  
Old 8th February 2007, 21:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by Daisy
I'm having the same problem. No CSR showing in it's field but can create one manually.
Did you follow these steps?

1) Enable SSL in your ISPConfig website and hit save.
2) Go to the new SSL tab in the website settings in ISPConfig, enter the certificate details and select create as action and click on the save button.
Now you will have to wait about a minute.
4) Go to the SSL tab again, now there is a certificate signing request in the one field, use this request to create a certificate a cacert.org.
5) enter the certificate code you got from cacaert.org in the certificate field on the ssl tab in ispconfig, select "save certificate" as action an click on the save button.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #13  
Old 8th February 2007, 21:48
Daisy Daisy is offline
Senior Member
 
Join Date: Dec 2006
Posts: 112
Thanks: 0
Thanked 3 Times in 1 Post
Default

Yup. Looks like some errors but not sure what they mean.
Code:
08.02.2007 - 13:43:17 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1888: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf~
08.02.2007 - 13:43:24 => INFO - Signalfile Set: insert
08.02.2007 - 13:43:28 => INFO - make_ssl_cnf /var/www/web4/ssl/openssl.cnf
08.02.2007 - 13:43:28 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1747: WARNING: could not openssl genrsa -des3 -rand /var/www/web4/ssl/random_file -passout pass:9193edc082a303a -out /var/www/web4/ssl/www.mysite.com.key.org 1024 && openssl req -new -passin pass:9193edc082a303a -passout pass:9193edc082a303a -key /var/www/web4/ssl/www.mysite.com.key.org -out /var/www/web4/ssl/www.mysite.com.csr -days 365 -config /var/www/web4/ssl/openssl.cnf && openssl req -x509 -passin pass:9193edc082a303a -passout pass:9193edc082a303a -key /var/www/web4/ssl/www.mysite.com.key.org -in /var/www/web4/ssl/www.mysite.com.csr -out /var/www/web4/ssl/www.mysite.com.crt -days 365 -config /var/www/web4/ssl/openssl.cnf && openssl rsa -passin pass:9193edc082a303a -in /var/www/web4/ssl/www.mysite.com.key.org -out /var/www/web4/ssl/www.mysite.com.key
08.02.2007 - 13:43:28 => WARN - WARNING: could not open file /var/www/web4/ssl/www.mysite.com.csr
08.02.2007 - 13:43:28 => WARN - WARNING: could not open file /var/www/web4/ssl/www.mysite.com.crt
08.02.2007 - 13:43:28 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 257: setquota -g web4 0 0 0 0 -a &> /dev/null
08.02.2007 - 13:43:28 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 258: setquota -T -g web4 604800 604800 -a &> /dev/null
08.02.2007 - 13:43:28 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 277: Connected successfully
08.02.2007 - 13:43:28 => INFO - USER:
mysite.com_jess:x:10012:10004:Jessica:/var/www/web4:/bin/false
08.02.2007 - 13:43:29 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 890: setquota -u mysite.com_jess 0 0 0 0 -a &> /dev/null
08.02.2007 - 13:43:29 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 891: setquota -T -u mysite.com_jess 604800 604800 -a &> /dev/null
08.02.2007 - 13:43:29 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.master /var/www/web4/.forward
08.02.2007 - 13:43:29 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 113: symlink /var/www/web4/Maildir
08.02.2007 - 13:43:29 => INFO - USER:
mysite.com_aff:x:10022:10004:aff:/var/www/web4/user/mysite.com_aff:/bin/false
08.02.2007 - 13:43:29 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 890: setquota -u mysite.com_aff 0 0 0 0 -a &> /dev/null
08.02.2007 - 13:43:29 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 891: setquota -T -u mysite.com_aff 604800 604800 -a &> /dev/null
08.02.2007 - 13:43:29 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.master /var/www/web4/user/mysite.com_aff/.forward
08.02.2007 - 13:43:29 => INFO - USER:
mysite.com_spam:x:10023:10004:spam:/var/www/web4/user/mysite.com_spam:/bin/false
08.02.2007 - 13:43:29 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 890: setquota -u mysite.com_spam 0 0 0 0 -a &> /dev/null
08.02.2007 - 13:43:29 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 891: setquota -T -u mysite.com_spam 604800 604800 -a &> /dev/null
08.02.2007 - 13:43:29 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.master /var/www/web4/user/mysite.com_spam/.forward
08.02.2007 - 13:43:29 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 137: cp -fr /etc/postfix/local-host-names /etc/postfix/local-host-names~
08.02.2007 - 13:43:29 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 284: cp -fr /etc/postfix/virtusertable /etc/postfix/virtusertable~
08.02.2007 - 13:43:29 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 289: postmap hash:/etc/postfix/virtusertable
08.02.2007 - 13:43:29 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1230: cp -fr /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf~
08.02.2007 - 13:43:30 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1888: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf
and ispconfig directory looks like
Code:
[root@server ~]# ls -la /root/ispconfig
total 104
drwxr-xr-x  9 root root  4096 Feb  8 10:51 .
drwxr-x---  6 root root  4096 Jan  6 15:36 ..
-rwxr-xr-x  1 root root 33124 Dec  4 04:43 cronolog
-rwxr-xr-x  1 root root  9673 Dec  4 04:43 cronosplit
drwxr-xr-x 12 root root  4096 Dec  4 04:22 httpd
drwxr-xr-x 12 root root  4096 Dec  4 04:43 isp
-rw-r--r--  1 root root     8 Feb  8 10:51 .old_path_httpd_root
drwxr-xr-x  6 root root  4096 Dec  4 04:16 openssl
drwxr-xr-x  6 root root  4096 Jan 16 16:14 php
drwxr-xr-x  4 root root  4096 Dec  4 04:43 scripts
drwxr-xr-x  4 root root  4096 Dec  4 04:43 standard_cgis
drwxr-xr-x  2 root root  4096 Dec  4 04:43 sv
-rwx------  1 root root  9389 Dec  4 04:43 uninstall
And yes, I am following steps correctly. Looks like some kind of openssl error but not sure what it means.
Reply With Quote
  #14  
Old 9th February 2007, 16:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Sometimes it helps to restart ISPConfig or reboot the server. If that doesn't help, please post the output of
Code:
ls -la /var/www/web4/ssl
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #15  
Old 13th February 2007, 18:07
Sikko Sikko is offline
Junior Member
 
Join Date: Dec 2005
Location: Maastricht, NL
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Post I have got exactly the same issue

Hi All!
Atm im having exactly the same problem, on an ubuntu 6.06 perfect + ISPC, followed the info, got same errormessage, after creating ssl cert in ISPC.

Output from
Code:
ls -la /var/www/web4/ssl

ls -la /var/www/web4/ssl
total 12
drwxr-xr-x 2 web4_user web4 4096 2007-02-12 11:31 .
drwxr-xr-x 9 web4_user web4 4096 2007-02-12 11:31 ..
-r-------- 1 root      root    0 2007-02-01 16:47 .no_delete
-rw-r--r-- 1 root      root  963 2007-02-12 11:45 www.mysite.com.key.org
This is the file with the private part of the key.

btw, thanks for making the howto's
Reply With Quote
  #16  
Old 14th February 2007, 05:51
Daisy Daisy is offline
Senior Member
 
Join Date: Dec 2006
Posts: 112
Thanks: 0
Thanked 3 Times in 1 Post
Default

Quote:
Originally Posted by falko
Sometimes it helps to restart ISPConfig or reboot the server. If that doesn't help, please post the output of
Code:
ls -la /var/www/web4/ssl
Attempted and no difference. Here's results.

Code:
total 12
drwxr-xr-x  2 mysite.com_me web4 4096 Feb  8 13:43 .
drwxr-xr-x 11 mysite.com_me web4 4096 Feb  8 13:43 ..
-r--------  1 root                root    0 Dec 14 06:15 .no_delete
-rw-r--r--  1 root                root  963 Feb  8 13:43 www.mysite.com.key.org
Reply With Quote
  #17  
Old 14th February 2007, 12:32
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,786
Thanks: 840
Thanked 5,611 Times in 4,422 Posts
Default

Daisy:

Please execute this command as root user:

Code:
openssl genrsa -des3 -rand /var/www/web4/ssl/random_file -passout pass:9193edc082a303a -out /var/www/web4/ssl/www.mysite.com.key.org 1024 && openssl req -new -passin pass:9193edc082a303a -passout pass:9193edc082a303a -key /var/www/web4/ssl/www.mysite.com.key.org -out /var/www/web4/ssl/www.mysite.com.csr -days 365 -config /var/www/web4/ssl/openssl.cnf && openssl req -x509 -passin pass:9193edc082a303a -passout pass:9193edc082a303a -key /var/www/web4/ssl/www.mysite.com.key.org -in /var/www/web4/ssl/www.mysite.com.csr -out /var/www/web4/ssl/www.mysite.com.crt -days 365 -config /var/www/web4/ssl/openssl.cnf && openssl rsa -passin pass:9193edc082a303a -in /var/www/web4/ssl/www.mysite.com.key.org -out /var/www/web4/ssl/www.mysite.com.key
Do you get any error message?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #18  
Old 14th February 2007, 13:22
Sikko Sikko is offline
Junior Member
 
Join Date: Dec 2005
Location: Maastricht, NL
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Yes I get an error

I get this error:
Code:
0 semi-random bytes loaded
Generating RSA private key, 1024 bit long modulus
................++++++
..++++++
e is 65537 (0x10001)
error on line -1 of /var/www/web4/ssl/openssl.cnf
22010:error:02001002:system library:fopen:No such file or directory:bss_file.c:122:fopen('/var/www/web4/ssl/openssl.cnf','rb')
22010:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:125:
22010:error:0E078072:configuration file routines:DEF_LOAD:no such file:conf_def.c:197:
Reply With Quote
  #19  
Old 14th February 2007, 13:54
Daisy Daisy is offline
Senior Member
 
Join Date: Dec 2006
Posts: 112
Thanks: 0
Thanked 3 Times in 1 Post
Default

I got this.

Code:
0 semi-random bytes loaded
Generating RSA private key, 1024 bit long modulus
......++++++
.............................................++++++
e is 65537 (0x10001)
error on line -1 of /var/www/web4/ssl/openssl.cnf
12653:error:02001002:system library:fopen:No such file or directory:bss_file.c:122:fopen('/var/www/web4/ssl/openssl.cnf','rb')
12653:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:125:
12653:error:0E078072:configuration file routines:DEF_LOAD:no such file:conf_def.c:197:
Reply With Quote
  #20  
Old 14th February 2007, 20:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

Please create the file /var/www/web4/ssl/openssl.cnf (e.g. like this):
Code:
        RANDFILE               = $ENV::HOME/.rnd

        [ req ]
        default_bits           = 1024
        default_keyfile        = keyfile.pem
        distinguished_name     = req_distinguished_name
        attributes             = req_attributes
        prompt                 = no
        output_password        = some_password

        [ req_distinguished_name ]
        C                      = DE
        Lower Saxony
        L                      = Lueneburg
        O                      = Example, Ltd.
        IT
        CN                     = example.com
        emailAddress           = info@example.com

        [ req_attributes ]
        challengePassword              = A challenge password
Then run the command again. Any errors then?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
ISPConfig Update and SSL disasm Installation/Configuration 3 12th October 2008 15:55
SSL Setup In ISPConfig asyadiqin Installation/Configuration 1 6th August 2006 14:18
SSL Request empty when create new SSL in ISPConfig steowimmy Installation/Configuration 10 13th July 2006 21:29
Installing ISPConfig ssl installation certificate to a site? lyndros Installation/Configuration 6 20th March 2006 04:54
Chained / intermediate SSL certificates max Installation/Configuration 5 9th December 2005 06:03


All times are GMT +2. The time now is 18:57.


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