Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Cannot enable SSL (https)

Discussion in 'General Discussion' started by memfaction, Dec 7, 2013.

  1. memfaction

    memfaction Member

    Joined:
    Oct 18, 2013
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I've just tried to enable SSL so I generated Private Keys (KEY), Certificate Signing Requests (CSR) and Certificates (CRT) in SSL/TLS Manager for www.mydomain.com and mydomain.com , but https still doesn't work, I get "ERR_SSL_PROTOCOL_ERROR" error in Chrome when I try to open my website with https protocol.

    Perhaps is has something to do with .htaccess file? Here's the content:
    Code:
    Options -Indexes
    Options +FollowSymLinks
    Options -MultiViews
    RewriteEngine On
    RewriteBase /
    RewriteRule ^teksti/([^./]+)([/]?)$ teksti.php?niceid=$1 [T=application/x-httpd-php,L]
    RewriteRule ^clanki/([^./]+)([/]?)$ clankitrgovina.php?niceid=$1 [T=application/x-httpd-php,L]
    RewriteCond %{HTTP_HOST} .*www.my2domain.com
    RewriteRule ^$ sportna_prehrana.php [T=application/x-httpd-php,L]
    
    RewriteRule ^trgovina.php$ sportna_prehrana.php%{QUERY_STRING} [T=application/x-httpd-php,L,R=301]
    RewriteRule ^cart.php$ nakup.php%{QUERY_STRING} [T=application/x-httpd-php,L,R=301]
    
    RewriteRule ^xxxfit/$ xxxfit/xxxfit.php
    RewriteRule ^forum/$ forum/index.php
    
    #Redirect permanent fitnes_wellness.php xxxfit/
    
    #RewriteRule ^internet.html$ internet.php?%{QUERY_STRING} [T=application/x-httpd-php,L]
    #RewriteRule ^programska_oprema.html$ programska_oprema.php?%{QUERY_STRING} [T=application/x-httpd-php,L]
    #RewriteRule ^storitve.html$ teksti.php?act=storitve&%{QUERY_STRING} [T=application/x-httpd-php,L]
    #RewriteRule ^podjetje.html$ teksti.php?act=opodjetju&%{QUERY_STRING} [T=application/x-httpd-php,L]
    #RewriteRule ^pogoji.html$ teksti.php?act=pogoji&%{QUERY_STRING} [T=application/x-httpd-php,L]
    #RewriteRule ^privatnost.html$ teksti.php?act=privatnost&%{QUERY_STRING} [T=application/x-httpd-php,L]
    #RewriteRule ^trgovina.html$ trgovina.php?aktualno=1&%{QUERY_STRING} [T=application/x-httpd-php,L]
    #RewriteRule ^podjetje/([^./]+).html$ trgovina.php?nicepod=$1&%{QUERY_STRING} [T=application/x-httpd-php,L]
    #RewriteRule ^([^./]+).html$ trgovina.php?nicecat0=$1&%{QUERY_STRING} [T=application/x-httpd-php,L]
    #RewriteRule ^([^./]+)/a/([^./]+).html$ trgovina.php?nicecat0=$1&niceart=$2&%{QUERY_STRING} [T=application/x-httpd-php,L]
    #RewriteRule ^([^./]+)/([^./]+).html$ trgovina.php?nicecat0=$1&nicecat1=$2&%{QUERY_STRING} [T=application/x-httpd-php,L]
    #RewriteRule ^([^./]+)/([^./]+)/a/([^./]+).html$ trgovina.php?nicecat0=$1&nicecat1=$2&niceart=$3&%{QUERY_STRING} [T=application/x-httpd-php,L]
    #RewriteRule ^([^./]+)/([^./]+)/([^./]+).html$ trgovina.php?nicecat0=$1&nicecat1=$2&nicecat2=$3&%{QUERY_STRING} [T=application/x-httpd-php,L]
    #RewriteRule ^([^./]+)/([^./]+)/([^./]+)/a/([^./]+).html$ trgovina.php?nicecat0=$1&nicecat1=$2&nicecat2=$3&niceart=$4&%{QUERY_STRING} [T=application/x-httpd-php,L]
    ErrorDocument 404 /404.php
    #DirectoryIndex fitnes_wellness.php
    #DirectoryIndex sportna_prehrana.phpRewriteCond %{HTTP_HOST} ^mydomain.com$ [OR]
    DirectoryIndex vstop.php
    
    RewriteCond %{HTTP_HOST} ^.*$
    RewriteRule ^fitnes_wellness.php$ "http\:\/\/www\.mydomain\.com\/xxxfit\/" [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^.*$
    RewriteRule ^fitnes_wellness.php/$ "http\:\/\/www\.mydomain\.com\/xxxfit\/" [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^.*$
    RewriteRule ^xxxfit/urednik/$ "http\:\/\/www\.mydomain\.com\/xxxfit\/urednik\/index\.php" [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^.*$
    RewriteRule ^xxxfit/podstrani/$ "http\:\/\/www\.mydomain\.com\/xxxfit\/podstrani\/index\.php" [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^.*$
    RewriteRule ^kontakti/$ "http\:\/\/www\.mydomain\.com\/kontakti\/index\.php" [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^.*$
    RewriteRule ^sportno_drustvo\.php$ "http\:\/\/www\.mydomain\.com\/sdxxx\/" [R=301,L]
    
    
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Have you activated the SSL certificate in cPanel? This is an additional step you must take after uploading the SSL certificate data:

    cPanel - Activate SSL on your website

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. memfaction

    memfaction Member

    Joined:
    Oct 18, 2013
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hmm, I can't find it anywhere, please check these screenshots:

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    It looks like your account does not support the use of a SSL certificate. Contact your web hosting provider to see if they need to assign your account a dedicated IP address, or if they can install the certificate for you.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice