SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001107ClearCenterclearos-release-professionalpublic2013-04-20 17:442013-04-26 09:42
Reporterdloper 
Assigned To 
PrioritylowSeverityminorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSOS Version
Product Version5.2-SP1 
Target VersionFixed in Version 
Summary0001107: Creating new certificate authority renders the expire date as 1902.
DescriptionOn new installs of ClearOS 5.2 fully updated, the Certificate Manager creation in the wizard creates the root CA with an expiry of 1902. This renders multiple systems unusable including OpenVPN.

http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,25/func,view/id,50312/ [^]
Steps To ReproduceInstall new system. Drop to the command line and update the system. Run through the wizard, and create Certificates by completing the wizard. Validate the expiry.
Additional InformationWORKAROUND. After installing the system and running the updates, modify the following file:

/var/webconfig/api/Ssl.class.php

change the following line:

        const DEFAULT_CA_EXPIRY = 9125; # 25 yrs in days

to:

        const DEFAULT_CA_EXPIRY = 8125; # 25 yrs in days

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000827)
user2
2013-04-26 09:42

ClearOS 6 (32-bit) does not suffer from this issue.

- Issue History
Date Modified Username Field Change
2013-04-20 17:44 dloper New Issue
2013-04-26 09:07 user2 Status new => acknowledged
2013-04-26 09:42 user2 Note Added: 0000827

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7