Get the most out of your Centmin Mod LEMP stack
Become a Member

install error curl (35) ssl connect error

Discussion in 'Install & Upgrades or Pre-Install Questions' started by truyencuatoi, Jun 25, 2016.

  1. truyencuatoi

    truyencuatoi New Member

    8
    1
    3
    Apr 19, 2016
    Ratings:
    +1
    Local Time:
    8:27 PM
    1.9.14
    10
    help me @eva2000
    Code:
    [root@vps ~]# curl -O https://centminmod.com/betainstaller.sh && chmod 0700 betainstaller.sh && bash betainstaller.sh
    
    curl: (35) SSL connect error


     
  2. eva2000

    eva2000 Administrator Staff Member

    54,895
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    11:27 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    that's a strange one could be related to my enabling nginx 1.11 dual ECDSA + RSA SSL certificates but should be fine on either centos 6 or 7

    what's output you get when you type this command in SSH
    Code (Text):
    curl -Ivs https://centminmod.com/betainstaller.sh


    Might want to use CODE tags for code How to use forum BBCODE code tags :)
     
  3. truyencuatoi

    truyencuatoi New Member

    8
    1
    3
    Apr 19, 2016
    Ratings:
    +1
    Local Time:
    8:27 PM
    1.9.14
    10
    thanks'u.
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,895
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    11:27 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    need the output for that command

    what version of centos you using ?
    Code (Text):
    cat /etc/redhat-release


    i suspect could be you using older centos 6 release which has a version of curl that doesn't support ecdsa ciphers but you should fall back to rsa ssl ciphers on centminmod.com HTTPS site

    output for below command will tell too
    Code (Text):
    curl -Ivs https://centminmod.com/betainstaller.sh
     
  5. truyencuatoi

    truyencuatoi New Member

    8
    1
    3
    Apr 19, 2016
    Ratings:
    +1
    Local Time:
    8:27 PM
    1.9.14
    10
    i using centos 6.7 64bit.
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,895
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    11:27 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    and output for below command ?
    Code (Text):
    curl -Ivs https://centminmod.com/betainstaller.sh
     
  7. eva2000

    eva2000 Administrator Staff Member

    54,895
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    11:27 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    looks like problem is with older nss, curl packages in centos 6.7 and their support of ecdsa ssl certificates i switched to on centminmod.com
    Code (Text):
    curl -Ivs https://centminmod.com/betainstaller.sh
    * About to connect() to centminmod.com port 443 (#0)
    *   Trying 163.47.16.64... connected
    * Connected to centminmod.com (163.47.16.64) port 443 (#0)
    * Initializing NSS with certpath: sql:/etc/pki/nssdb
    *   CAfile: /etc/pki/tls/certs/ca-bundle.crt
      CApath: none
    * NSS error -12286
    * Closing connection #0
    * SSL connect error

    should work if you do a yum update before running curl installer like this
    Code (Text):
    yum -y update; curl -O https://centminmod.com/installer.sh && chmod 0700 installer.sh && bash installer.sh
     
  8. truyencuatoi

    truyencuatoi New Member

    8
    1
    3
    Apr 19, 2016
    Ratings:
    +1
    Local Time:
    8:27 PM
    1.9.14
    10
    thanks'u, verygood centminmod ang tks so much you!
     
  9. truyencuatoi

    truyencuatoi New Member

    8
    1
    3
    Apr 19, 2016
    Ratings:
    +1
    Local Time:
    8:27 PM
    1.9.14
    10
    Code:
     - Hostname......: vps.truyencuatoi.com on CentOS 6.8 (Final)
     - Users.........: Currently 2 user(s) logged on (includes: root)
    ===============================================================================
     - CPU usage.....: 0.14, 0.33, 0.81 (1, 5, 15 min)
     - Processes.....: 95 running
     - System uptime.: 0 days 1 hours 40 minutes 12 seconds
    ===============================================================================
                 total       used       free     shared    buffers     cached
    Mem:           490        296        193         11          9        154
    -/+ buffers/cache:        133        357
    Swap:            0          0          0
    ===============================================================================
    Filesystem           Type   Size  Used Avail Use% Mounted on
    /dev/vda1            ext4    20G  6.8G   12G  37% /
    tmpfs                tmpfs  246M     0  246M   0% /dev/shm
    /home/usertmp_donotdelete
                         ext4   1.9G  2.9M  1.8G   1% /tmp
    ===============================================================================
    ! This server maybe running CSF Firewall !
      DO NOT run the below command or you  will lock yourself out of the server:
    
      iptables -F
    
    ===============================================================================
    * Getting Started Guide - http://centminmod.com/getstarted.html
    * Centmin Mod FAQ - http://centminmod.com/faq.html
    * Change Log - http://centminmod.com/changelog.html
    * Community Forums https://community.centminmod.com  [ << Register ]
    ===============================================================================
    
    [root@vps ~]#
    
    But
    upload_2016-6-25_9-32-16.png
     
  10. truyencuatoi

    truyencuatoi New Member

    8
    1
    3
    Apr 19, 2016
    Ratings:
    +1
    Local Time:
    8:27 PM
    1.9.14
    10
    i restart nginx:
    Code:
    [root@vps ~]# service nginx restart
    /etc/init.d/nginx: line 71: /usr/local/sbin/nginx: No such file or directory
    You have new mail in /var/spool/mail/root
    
     
  11. eva2000

    eva2000 Administrator Staff Member

    54,895
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    11:27 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+

    Troubleshooting Initial Install



    To troubleshoot initial installation, you need to check the initial install log at /root/centminlogs and instructions under Sharing logs and errors heading for using Pastebin.com or Gists to share a sanitised version of the contents of the initial install log. You can see full details at How to troubleshoot Centmin Mod initial install issues