ClearFoundation Tracker - ClearOS
View Issue Details
0000032ClearOSapp-flexshare - Flexsharespublic2010-02-24 09:162013-01-29 13:15
bchambers 
 
normalmajoralways
closedsuspended 
5.1 
5.1 
0000032: FTPS with Flexshare broken if selected FTP hostname does not match real hostname
Updates to the Ssl.class.php file (renamed constants) were not carried over to Flexshare.class.php. Two typos were also introduced.

Line 1017 & 1438:

$ssl->SetPURPOSE(Ssl::PURPOSE_SERVER);

Should be:

$ssl->SetPurpose(Ssl::PURPOSE_SERVER_CUSTOM);

Note change in method name (caps) and change in constant

This bug seems to have been introduced in ClarkConnect 5.0 and carried forward into ClearOS 5.1.
No tags attached.
Issue History
2010-02-24 09:16bchambersNew Issue
2010-02-24 09:56user2Note Added: 0000046
2010-02-24 09:59user2Note Added: 0000047
2010-02-24 09:59user2SummaryFTPS with Flexshare broken => FTPS with Flexshare broken if selected FTP hostname does not match real hostname
2010-02-24 09:59user2Assigned To => bchambers
2010-02-24 09:59user2Statusnew => assigned
2010-02-24 09:59user2ETAnone => < 1 week
2010-02-24 09:59user2Target Version => 5.1
2010-02-24 10:00user2Note Edited: 0000047
2013-01-29 13:15user2Note Added: 0000655
2013-01-29 13:15user2Statusassigned => resolved
2013-01-29 13:15user2Resolutionopen => suspended
2013-01-29 13:15user2Statusresolved => closed
2013-01-29 13:15user2Assigned Tobchambers =>

Notes
(0000046)
user2   
2010-02-24 09:56   
The capitalization issue is cosmetic and was already fixed in SVN.

http://code.clearfoundation.com/svn/revision.php?repname=ClearOS&path=%2Flegacy%2Fwebconfig%2Fbranches%2F5.1%2Fapi%2FFlexshare.class.php&rev=6&peg=6 [^]
(0000047)
user2   
2010-02-24 09:59   
(edited on: 2010-02-24 10:00)
This block of code is only executed when an SSL certificate with the specified hostname is not found. If the hostname specified in the Flexshare is not changed, then the SSL certificate will already exist. Updated the summary to reflect this.

(0000655)
user2   
2013-01-29 13:15   
This feature is no longer a part of ClearOS 6. Please re-open if a 5.x fix is a high priority (workaround described in other note)..