Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-23, 08:09:45

Author Topic: “Server should be SSL-aware but has no certificate configured [Hint: SSLCertific  (Read 44548 times)

0 Members and 1 Guest are viewing this topic.

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
I tried fixweb and cleanup and then httpd work well.
But when I rerun apache, it say port already used(by httpd).

So I killed httpd by command and start http.

But I got “Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile]” error

and fixweb and cleanup and then httpd work well.

But the same.

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
When httpd.event by fixweb is running. I got the below message.

If you are seeing this page, it means that web has not been configured for this domain on this server.

This could be due to the following causes:

    Kloxo has not restarted the web server yet after you added the domain. Please wait for the web server to restart.
     
    The domain is pointing to the wrong Kloxo server. Ping the domain and make sure that the IP matches one of the IPaddress seen in admin home -> ipaddresses
     
    If you are seeing this page when you try to access an IP like http://192.168.1.1, then that means that the IP has not yet been mapped to a domain. Go to client home -> ipaddresses -> ipaddress home -> domain config and map an IP to a domain.
     
    Once you map an IP to a domain, then you have to make sure that the domain pings back to the same IP. Otherwise, if you try to access the domain, you will get this page. So IP -> domain.com should mean that domain.com pings to the same IP.
     

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Try 'pkill -9 httpd; sh /script/restart-web -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
the same error

[Mon Oct 12 11:42:07 2015] [error] [client 74.86.158.109] FastCGI: incomplete headers (0 bytes) received from server "/home/kloxo/httpd/default/default.0fake"
[Mon Oct 12 11:43:07 2015] [error] [client 74.86.158.109] (2)No such file or directory: FastCGI: failed to connect to server "/home/kloxo/httpd/default/default.0fake": connect() failed
[Mon Oct 12 11:43:07 2015] [error] [client 74.86.158.109] FastCGI: incomplete headers (0 bytes) received from server "/home/kloxo/httpd/default/default.0fake"
[Mon Oct 12 11:43:19 2015] [notice] caught SIGTERM, shutting down
[Mon Oct 12 11:43:19 2015] [alert] (4)Interrupted system call: FastCGI: read() from pipe failed (0)
[Mon Oct 12 11:43:19 2015] [alert] (4)Interrupted system call: FastCGI: the PM is shutting down, Apache seems to have disappeared - bye
[Mon Oct 12 13:09:07 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 12 13:09:07 2015] [error] Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0)

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Try 'sh /script/cleanup' again. Look like something wrong ssl files.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
I tried cleanup but.

[Mon Oct 12 11:43:19 2015] [notice] caught SIGTERM, shutting down
[Mon Oct 12 11:43:19 2015] [alert] (4)Interrupted system call: FastCGI: read() from pipe failed (0)
[Mon Oct 12 11:43:19 2015] [alert] (4)Interrupted system call: FastCGI: the PM is shutting down, Apache seems to have disappeared - bye
[Mon Oct 12 13:09:07 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 12 13:09:07 2015] [error] Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0)
[Mon Oct 12 16:09:03 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 12 16:09:03 2015] [error] Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0)

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
Also i deleted ssl files in ssl folder, after cleanup new file created. but the same.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Check SSLCertificateFile and SSLCertificateKeyFile related file where exists or not (read http://blog.noizeramp.com/2010/10/03/apache-2-and-ssl-configuration/)
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
I got files.


                SSLEngine on
                SSLProtocol ALL -SSLv2 -SSLv3
                SSLHonorCipherOrder On
                #SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS
                SSLCipherSuite "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA RC4 !aNULL
                SSLCertificateFile /home/kloxo/httpd/ssl/eth0___localhost.pem
                SSLCertificateKeyFile /home/kloxo/httpd/ssl/eth0___localhost.key

ll /home/kloxo/httpd/ssl/
total 24
-rw-r--r-- 1 apache apache  916 Oct 12  2015 eth0___localhost.crt
-rw-r--r-- 1 apache apache  887 Oct 12  2015 eth0___localhost.key
-rw-r--r-- 1 apache apache 1803 Oct 12  2015 eth0___localhost.pem
-rw-r--r-- 1 apache apache  916 Oct 12  2015 yesu.net.crt
-rw-r--r-- 1 apache apache  887 Oct 12  2015 yesu.net.key
-rw-r--r-- 1 apache apache 1803 Oct 12  2015 yesu.net.pem


Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
Is it possible to disable SSL?

I don't need SSL.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
By design, no reason to disable ssl.

Try 'sh /script/fixssl'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
How can I escape this tunnel.

I  spent 2 nights and days.


Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
I found some conf file problem.

I just leave one conf, it works ok.

Finally possible to escape tunnel.

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
One conf file has problem, I removed it, now fine.

Thanks a lot.

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.083 seconds with 21 queries.

web stats analysis