Problem with SSL certificate I just enable SSL certificate for my domain.
I added that in my .htaccess file:

RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^domainname\.com*
RewriteRule ^(.*)$ https://www.domainname.com/$1 [L,R=301]


And:

# HSTS.
&lt;IfModule mod_headers.c&gt;
  Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
&lt;/IfModule&gt;

# Cookie secure.
&lt;IfModule mod_headers.c&gt;
  Header set Set-Cookie HttpOnly;Secure
&lt;/IfModule&gt;


And I changed the line in my settings.php file:

$base_url = 'https://www.domainename.com';


And :

$conf['https'] = FALSE;


All my https site displays well with the little green padlock, but the following errors appear in the dashboard drupal :





The Piwik module displays the following error:


  Message d'erreur The validation of
  "https://analytics.s1biose.com/piwik.php" failed with error "Error opening socket ssl://analytics.s1biose.com:443"
  (HTTP code 0).
There are some known issues with Drupal 7.x in some server configurations particularly around PHP 5.6 and OpenSSL 0.9x due to changes in how PHP verifies SSL certificates. Acquia has some notes about the cause and options (including a core patch to try to address some instances of the problem but read the whole article before considering that option).

On shared hosting you'll likely want to try the Alternative HTTP Client module to see if it resolves the notice.