Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12th June 2007, 12:32
JGZimmerle JGZimmerle is offline
Junior Member
 
Join Date: Mar 2007
Posts: 7
Thanks: 0
Thanked 3 Times in 2 Posts
Default How to get ssl file names in config.lib.php

Hi!

I am trying to get ISPConfig to add SSL information to the vsftpd config files, to automatically get FTPS enabled with the web's SSL certificates, if both SSL and FTP are enabled. I have everything working except for one little thing:

Can anyone tell me how I can get the filenames of the SSL certificate and key files at line 1992 of ispconfig/scripts/lib/config.lib.php (ISPConfig 2.2.13)?

I have tried
Code:
$crt_file = $document_root ."/ssl/". $hostname .".". $domainname .".crt";
and
Code:
$crt_file = $document_root ."/ssl/". $web["web_host"] .".". $web["web_domain"] .".crt";
but apparently $hostname, $domainname, $web["web_host"] and $web["web_domain"] are not defined here.

TIA
Reply With Quote
Sponsored Links
 

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
Chroot SSH + ISPConfig Norman Installation/Configuration 27 26th March 2007 03:40
Dspam planet_fox General 6 20th January 2007 18:42
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19
jamed up my table borders?? Boon-Dog-Danny Installation/Configuration 5 23rd September 2006 16:12


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


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