This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Issue Installing Let's Encrypt
#1
Issue Installing Let's Encrypt
Hi All,

I want to install Let's Encrypt for login sentora and following this documentation >> http://docs.sentora.org/?node=102 .

Steps are run well, but i got some problem when change Sentora Apache Port to 443 and next to the step "Adding a Custom Entry to the Sentora Virtual Host" . Before I finishing step "Adding a Custom Entry to the Sentora Virtual Host", I can't save that configuration.

I check and Apache suddenly stop and wouldnt start

Code:
[root@db letsencrypt]# service httpd status
httpd is stopped

[root@db letsencrypt]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [FAILED]

And this is the Apache error log

PHP Code:
[Sat Apr 29 04:37:26 2017] [noticeApache/2.2.15 (Unixmod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Sat Apr 29 04:40:04 2017] [noticeSIGHUP received Attempting to restart
[Sat Apr 29 04:40:04 2017] [noticeDigestgenerating secret for digest authentication ...
[
Sat Apr 29 04:40:04 2017] [noticeDigestdone
PHP Warning
 PHP StartupUnable to load dynamic library '/usr/lib64/php/modules/suhosin.so' - /usr/lib64/php/modules/suhosin.soundefined symbolphp_checkuid in Unknown on line 0
[Sat Apr 29 04:40:04 2017] [errorServer should be SSL-aware but has no certificate configured [HintSSLCertificateFile] ((null):0)
[
Sat Apr 29 04:42:51 2017] [errorServer should be SSL-aware but has no certificate configured [HintSSLCertificateFile] ((null):0)
[
Sat Apr 29 04:49:15 2017] [errorServer should be SSL-aware but has no certificate configured [HintSSLCertificateFile] ((null):0)
[
Sat Apr 29 04:49:24 2017] [errorServer should be SSL-aware but has no certificate configured [HintSSLCertificateFile] ((null):0)
[
Sat Apr 29 04:55:43 2017] [errorServer should be SSL-aware but has no certificate configured [HintSSLCertificateFile] ((null):0

I suspecting this problem because I changed Sentora Apache Port to 443 from sentora panel but daemon already run before I finish step "Adding a Custom Entry to the Sentora Virtual Host" .

Sorry for my bad english Sad  could you help to give me an information or how to solve this case?

Regards,
Erlangga
Reply
Thanks given by:
#2
RE: Issue Installing Let's Encrypt
Hi,

This case already solved. Hope my step can help.

1. Edit file /etc/sentora/configs/apache/httpd-vhosts.conf , comment line namevirtualhost and listen for port 443

==
NameVirtualHost *:80
#NameVirtualHost
*:443
Listen 80
#Listen
443
==

2. Change virtualhost default from 443 to 80

==
# Configuration for Sentora control panel.
<VirtualHost *:80>
ServerAdmin zadmin@localhost
DocumentRoot "/etc/sentora/panel/"
..
==

3. Restart Apache
4. Open sentora control panel >> Sentora config >> set Sentora Apache Port to 80 >> Save Changes
5. Run Daemon and restart Apache

And finally you can install Let's Encrypt again with following this documentation >> http://docs.sentora.org/?node=102
Reply
Thanks given by: TGates


Possibly Related Threads…
Thread Author Replies Views Last Post
Old issue on Daily Backup iraqiboy90 24 120 ,368 12-26-2020, 12:48 PM
Last Post: conglynina
Security issue urgent johnnyp 7 15 ,180 02-27-2020, 06:19 PM
Last Post: johnnyp
sub-domain issue kevwebbie 15 34 ,695 12-21-2018, 05:51 PM
Last Post: kevwebbie

Forum Jump:


Users browsing this thread: 2 Guest(s)