All Entries Tagged With: "SSL"
htaccess redirect for SSL non-www to www
Issue :
Need to redirect https://domain.com to https://www.domain.com for SSL purposes.
Solution :
Use the following code in the htaccess file under the public_html folder for the concerned domain :
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain.com [NC]
RewriteRule ^(.*)$ https://www.domain.com/$1 [L,R=301]
Plesk : Installing SSL Certificate
Following are the steps to install an SSL certificate in Plesk :
1. Download the Primary, Intermediate and Root certificate files.
2. Log in to the Plesk Control Panel.
3. Select ‘Domains’ from the left menu.
4. Click on the domain name for which the certificate has been created for.
5. Click on the ‘Certificates’ menu item.
6. [...]
Wild-card SSL not working for cPanel/WHM
Issue :
A wild-card SSL (*.server.tld) works for the server hostname (https://hostname.server.tld) but does NOT work for cPanel/WHM (https://hostname.server.tld:2083)
Fix :
- Go to WHM >> Service Configuration >> Manage Service SSL Certificates
- Install the certificate for each of the services.
This should resolve the issue.
Redirecting to secure connection
Issue :
When someone tries to access the site through the insecure URL (http) , it should redirect ( to https ) automatically.
Fix :
This can be easily achieved by putting the following code in the .htaccess file under ‘public_html’ folder :
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$ https://www.yourdomainname.tld/$1 [L,R]
(Assuming that you have SSL installed on [...]
SSL error : “Unknown authority” on accessing a secure webpage
Issue :
Why is that when I try to access a secure web page on your server my browser shows an error message saying something about an “unknown authority”, and won’t load the page.
Fix :
When SSL is installed and if you are still getting warning messages like “Unknown authority”, then the problem could be [...]
Newly Installed SSL certificate is not showing in browser
Issue :
New SSL certificate has been installed for a domain through plesk control panel but while checking the certificate via a browser, the old one that is about to expire is still in place instead of new one.
Cause :
The new SSL certificate is not assigned to the domain from the IP Pool section of plesk [...]

