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 17th November 2008, 12:12
jahn jahn is offline
Junior Member
 
Join Date: Nov 2008
Location: Germany
Posts: 5
Thanks: 1
Thanked 1 Time in 1 Post
Arrow FTPS settings in /etc/proftpd_ispconfig.conf get overwritten

Hello I am a user of ISPConfig,
currently I am using the SVN dev branch version and it works fine.

I wanted to setup FTPS in proftpd like described in this Post: http://www.howtoforge.com/forums/sho...76&postcount=7
and it works fine, but after some time the /etc/proftpd_ispconfig.conf gets overwritten and the TLS Settings are gone -

Is there a way I can prevent this or a way I can make ISPConfig aware of these settings?

Thanks in advance.
jahn

btw: i am using ispconfig on ubuntu 8.04 if that matters..
Reply With Quote
Sponsored Links
  #2  
Old 17th November 2008, 13:17
_X_ _X_ is offline
Senior Member
 
Join Date: Oct 2008
Posts: 247
Thanks: 8
Thanked 37 Times in 35 Posts
Default

you can try to add

<VirtualHost your_ip>
TLSEngine on
TLSRSACertificateFile /etc/ssl/certs/proftpd.cert.pem
TLSRSACertificateKeyFile /etc/ssl/certs/proftpd.key.pem
</VirtualHost>

to main proftpd conf file:

/etc/proftpd/proftpd.conf

after include /etc/proftpd_ispconfig.conf line
Reply With Quote
  #3  
Old 17th November 2008, 15:21
jahn jahn is offline
Junior Member
 
Join Date: Nov 2008
Location: Germany
Posts: 5
Thanks: 1
Thanked 1 Time in 1 Post
Post Solution

I found the solution to my problem.
There is a file called /root/ispconfig/isp/conf/proftpd_ispconfig.conf.master, I had to edit.
Its the template ISPConfig uses to rewrite the /etc/proftpd_ispconfig.conf.
This ist how my /root/ispconfig/isp/conf/proftpd_ispconfig.conf.master looks now:
Code:
###################################
#
# ISPConfig proftpd Configuration File
#         Version 1.0
#
###################################

DefaultAddress 127.0.0.1

<!-- BEGIN DYNAMIC BLOCK: vhost -->
<VirtualHost {IP}>
        DefaultRoot             ~
        AllowOverwrite          on
        Umask                   002
        TLSEngine on
        #TLSRequired on
        TLSRSACertificateFile       /etc/proftpd/cert/proftpd.cert.pem
        TLSRSACertificateKeyFile    /etc/proftpd/cert/proftpd.key.pem
        {ANON_FTP}
</VirtualHost>
<!-- END DYNAMIC BLOCK: vhost -->
Reply With Quote
The Following User Says Thank You to jahn For This Useful Post:
_X_ (17th November 2008)
  #4  
Old 17th November 2008, 20:42
jahn jahn is offline
Junior Member
 
Join Date: Nov 2008
Location: Germany
Posts: 5
Thanks: 1
Thanked 1 Time in 1 Post
Default

! little off topic !
This has nothing to do with FTPS, but its also about manual settings in ISPControl generated files, the vhosts.

For example: If you automatically want to add Apache Directives to every created site you can edit this template:
/root/ispconfig/isp/conf/vhost.conf.master

You could add an php_admin_value directive or every other directive you want....
Code:
...
php_admin_value open_basedir {HTTPD_ROOT}/{WEB}/
...
Reply With Quote
  #5  
Old 17th November 2008, 22:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,170
Thanks: 829
Thanked 5,412 Times in 4,255 Posts
Default

Dont edit the files in /root/ispconfig/isp/conf/, instead copy the file to /root/ispconfig/isp/conf/customized_templates/ and edit this copy. This prevents that ispconfig removes your changes when you update ispconfig the next time.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
jahn (18th November 2008)
Reply

Bookmarks

Tags
ftps, ispconfig, proftpd, secure, tls

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
pop3 service alone is failed in "The Perfect Setup - Debian Sarge (3.1)" nandhu HOWTO-Related Questions 60 5th August 2008 15:15
KDE backup settings for a fresh KDE deployment ensens Desktop Operation 2 30th December 2007 18:13
Management -> system config -> settings clabrown Installation/Configuration 4 24th August 2007 16:56
Management -> Server -> Settings problems merlincc Installation/Configuration 6 27th November 2006 21:57
::Roundcube Settings Now Save:: cctex10 Installation/Configuration 1 15th June 2006 14:26


All times are GMT +2. The time now is 13:55.


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