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. 2018-05-25, 18:26:17

Author Topic: SSL berhenti jalan setiap CLEANUP  (Read 977 times)

0 Members and 1 Guest are viewing this topic.

Offline redpages

  • Senior Member
  • *
  • Posts: 319
  • Karma: +0/-0
    • View Profile
SSL berhenti jalan setiap CLEANUP
« on: 2017-10-10, 16:55:10 »
helo masta,
Kenapa ya setiap proses cleanup selesai, vps yg ada SSL nya tidak bisa jalan. Start nginx gak jalan, ada warning error di bawah:

Quote
[root@server80 ~]# service nginx start
Starting nginx: nginx: [emerg] PEM_read_bio_X509("/home/kloxo/ssl/villaechobeach.com.pem") failed (SSL: error:0906D066:PEM routines:PEM_read_bio:bad end line)
                                                           [FAILED]
[root@server80 ~]# service nginx start
Starting nginx: nginx: [emerg] SSL_CTX_load_verify_locations("/home/kloxo/ssl/villaechobeach.com.ca") failed (SSL: error:0906D066:PEM routines:PEM_read_bio:bad end line error:0B084009:x509 certificate routines:X509_load_cert_crl_file:PEM lib)
                                                           [FAILED]

Setelah saya selidiki ternyata ada karakter yang kurang, yakni karakter "-". Pada code sertifikat dibawah:
Quote
....
lLp6vXmp9uP+bji0MsGj21hWID59xzqxZ2nVeRQb9vrsYPJ5zQoMYIp0TKOTKqDwUX/N6fmS/Zar
RfViPT9gRlATPSATGC6URq7VIf5Dockj/lPEvxrYrDrK3maXI67T30pNcx9vMaJRBBZqAOv5jUOB
8FChH6bKOvMoPF9RrNcKRXdLDlJiG9g4UaCSLT+Qbsh+QJ8gRhVd4FB84XavXu0R0y8TubglpK9Y
Ca81tGJUheNI3rzSkHp6pIQNo0LyUcDUrVNlXWz4Px8G8k/Ll6BKWcZ40egDuYVtLLrhX7atKz4l
ecWLVtXjCYDqwSfC2Q7sRwrp0Mr82A==
-----END CERTIFICATE----

Perhatikan, jumlah karakter setelah END CERTIFICATE "-" ada 4. membuat saya harus menambahkan 1 strip lagi secara manual agar jadi 5. setelah itu nginx kembali bisa start.
Quote
[root@server80 ~]# service nginx start
Starting nginx:                                            [  OK  ]

Begtu seterusnya, setelah sh /script/cleanup jumlah tanda "-" hanya 4 sehingga nginx gagal start.

Mohon pencerahannya

Quote
[root@server80 ~]# sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2017091202
   - Web: hiawatha-10.6.0-f.1.mr.el6.i686
   - PHP: php56s - 5.6.30-2.ius.centos6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.9 (Final) i686
   - Hostname: server80.xbackbone.com
C. Services:
   1. MySQL: MariaDB-server-10.0.32-1.el6.i686
   2. PHP:
      - Installed:
        - Branch: php70u-cli-7.0.23-1.ius.centos6.i686
        - Multiple:
          * php56m - 5.6.30-2.ius.centos6
          * php70m - 7.0.23-1.ius.centos6
          * php71m - 7.1.9-2.ius.centos6
      - Used: --PHP Branch--
      - Multiple: enable
   3. Web Used: nginx
     - Hiawatha: hiawatha-10.6.0-f.1.mr.el6.i686
     - Lighttpd: lighttpd-1.4.45-1.el6.i686
     - Nginx: nginx-1.13.5-1.el6.ngx.i386
     - Apache: httpd24u-2.4.27-1.ius.centos6.i686
       - PHP Type: php-fpm_event
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: nsd
     - Bind: bind-9.9.9-1.mr.el6.i686
     - DJBDns: djbdns-1.05-17.4.mr.el6.i386
     - NSD: nsd-4.1.16-1.el6.i686
     - PowerDNS: pdns-4.0.3-1.el6.MIND.i686
     - Yadifa: yadifa-2.2.5-1.mr.el6.i686
   6. Mail: qmail-toaster-1.03-1.3.57.mr.el6.i686
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.i686
      - smtp: qmail-toaster-1.03-1.3.57.mr.el6.i686
      - spam: bogofilter-1.2.4-1.el6.i686
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.37-1.mr.el6.i386
   8. Stats: awstats
      - awstats: kloxomr-stats-awstats-7.6-1.mr.noarch
D. Memory:
             total       used       free     shared    buffers     cached
Mem:          1006        844        161         27         76        486
-/+ buffers/cache:        282        723
Swap:         1023         35        988
E. Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        19G  6.7G   12G  38% /


*** Process Time: 00:00:01:15.75189 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.034 seconds with 20 queries.

web stats analysis