Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

The tag has no usage guidance, but it has a tag wiki.

-2
votes
2answers
30 views

D7 site does not show well under https

I installed https on my server with certbot and let's encrypt.However site displays garbled under https, which I need for several reason, http requests are not redirected to https for that reason, but ...
0
votes
2answers
30 views

How to configure htaccess to redirect ALL traffic through https?

I'm looking for a way to redirect users to https://domain.com whether they type the www or not I'm using a shared host for a drupal website so i don't have access to virtual host config files. A let'...
2
votes
1answer
43 views

Forced HTTPS not working on Home Page [duplicate]

I'm using HTACCESS to force all my pages to redirect to the HTTPS version. However the home page is still able to go to the HTTP version. I tried 2 examples from this post: How to simply make the ...
0
votes
1answer
41 views

How to implement push notifications in Drupal7 website?

I have to implement push notifications for my drupal7 website. Project requirement: It is an auction related platform where the user enters prices for an item, the database should be updated based ...
0
votes
1answer
31 views

Adding RewriteCode in https does not work for links other than base url [closed]

RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} !^www\.example\.com* RewriteRule ^(.*)$ https://www.example.com/$1 [L,R=301] With this I swap from http:// to https://www in one single redirect ...
0
votes
0answers
24 views

Do I need to comment out the line setting $base_url to be able to access a site with the https:// protocol?

Initially the site was working under HTTP protocol and everything was fine. Then we bought an HTTPS certificate and tried to open the site through HTTPS. All the css and js were broken. I opened the ...
1
vote
0answers
148 views

Using Cloudflare SSL: Getting mixed content errors [closed]

Because my site is an eCommerce site, and because the browsers are reporting sites with any http links as not secure to the user, I signed up for the free Cloudflare SSL. However, I got a lot of ...
2
votes
2answers
48 views

Problem with ssl, broken site [closed]

I want to install Drupal in https, but I failed.The page is trying to open resources (css, etc) in http. How to solve this ?
0
votes
2answers
144 views

How to set up Https on a drupal multisite?

I made a couple websites on a drupal multisite setup.. and I want to start using https. And.. I'm just lost. Can anyone help me get started? So, here's the details of how I have things set up.. So ...
0
votes
1answer
482 views

Drush make: simplexml_load_file(): I/O warning : failed to load external entity “” Project.php:74

I'm facing a very strange issue with Drush wget and OpenSSL on my mac book (MacOSX Sierra). When I launch drush make site.make command (which should theoretically download the all modules) it fails ...
0
votes
1answer
2k views

Too many redirects error with https and domain access module

I'm redirecting traffic for my various domains to HTTPS. Things seem to work fine on my local, but when I deploy to my production site I get the "www.mysite.cn redirected you too many times." error. I'...
0
votes
2answers
57 views

Commerce Kickstart on secure server

I am in the process of building a Commerce Kickstart 2 site and need some guidance. From what I can see it is now recommended that e commerce sites are fully hosted on a secure server. I have in the ...
0
votes
0answers
38 views

Cache images served in http instead of https

It's more than one year I have changed my website from http to https. There is still pages that are not correctly served by drupal. On some pages there are still images that are served by http instead ...
0
votes
1answer
136 views

A line feed gets added in the “Let's Encrypt Challenge”

I am using the Let's Encrypt module for Drupal 7, trying to follow the instructions outlined here by Redfin Solutions, to install free SSL on Acquia's servers, but I've run into a curious problem: ...
0
votes
1answer
31 views

Drupal module securepages problems with ssl setup

I'm using Drupal 6 on a website and trying to configure ssl for it. I installed the securepages module. However I can't figure out the following things: How to give secure pages to all anonymous ...
1
vote
2answers
406 views

Getting error 'The requested page could not be found' after https is enabled

The link to my content is lost default settings: # Set "protossl" to "s" if we were accessed via https://. This is used later # if you enable "www." stripping or enforcement, in order to ensure ...
1
vote
2answers
2k views

How to force image URLs as HTTPS?

There are a few places where I am calling ImageStyle::load('style')->buildUrl($uri) to get a physical file path of an image. After enabling HTTPS and forcing all traffic to use HTTPS, I noticed ...
0
votes
0answers
647 views

How to make all URL redirect to HTTPS

There is already a lot of links displaying videos inside my site (in node content) that are using: http://example.com/clips/2017/01/11/51706, http://www.example.com/clips/2017/01/11/51706, https://...
1
vote
2answers
651 views

ERR_TOO_MANY_REDIRECTS on images after switch to HTTPS

I have the Drupal 8 site was working with HTTP on the port 80. I switched it to HTTPS with port 443. I got the problem for ERR_TOO_MANY_REDIRECTS when accessing some images from physicals path. For ...
0
votes
2answers
69 views

Do you really need SSL on local dev environments? [closed]

If a Drupal site is running on production with https, is there any reason why this should be done also on local dev like xampp? Just wondered about so many people desperately trying to run SSL on ...
0
votes
1answer
65 views

convert http to https on save

While migrating our site , we have put them on 'SSL required'. How can we best force , when editors save datas containing http link, a conversion to https ( or //)
1
vote
2answers
1k views

Enable SSL for whole Drupal 8 site

I'm running a Drupal 8 site behind a nginx webserver. All http request are redirected to https. My problem is that rss links on that site are http links only. With Drupal 7 by setting the base_url ...
4
votes
0answers
523 views

SSL and Session Cookies Issue

I've spent a lot of time trying to resolve this issue but I feel like I might be missing something. I'm having an issue with Drupal 7 and SSL. Here's what's going on: Session cookies are not being ...
0
votes
1answer
169 views

Force login through mysql

I have a local install of a Drupal 7 site that will only display admin pages over https such as login and admin type pages. I was unable to disable them before downloading the database. In settings....
0
votes
1answer
262 views

SSL errors - .well-known [closed]

I am seeing lot of SSL errors after enabling SSL for my site. Following is the common error related to the SSL configuration: AH01797: client denied by server configuration: /var/www/xxxxxx/.well-...
1
vote
4answers
1k views

How to have a secure HTTPS login form?

I have Drupal site with a login form on my home page. How do I go about posting to a HTTPS url, and then after a successful authentication, redirect back to HTTP admin page?
0
votes
1answer
1k views

Problem with SSL certificate [closed]

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/$...
3
votes
2answers
5k views

redirect whole site to HTTPS

When I include the snippet found in answer to this question How to simply make the whole site HTTPS? to redirect to https in my htaccess.php file, all urls resove to /index instead of going to the ...
0
votes
0answers
83 views

Page cache is not working over HTTPS

I have a Drupal 7 site that is served over HTTP and HTTPS protocols using default ports (80, 443). Cache is enabled of anonymous users. However, the whole cache functionality works only for HTTP ...
4
votes
3answers
5k views

How to correctly configure settings.php to use reverse proxy and ssl termination

In settings.php there is the section "Reverse Proxy Configuration". It suggests settings to add when you are using a reverse proxy and SSL termination. Nginx is listening on port 443, adds the ...
2
votes
1answer
1k views

Connection to AWS MySql server over SSL

Running Drupal 7 and trying to enable secure connection between my AWS EC2 and RDS server using SSL. Php version 5.3.29 I have found some information suggesting the following setup but I'm unsure ...
2
votes
0answers
96 views

CSS files are included without HTTPS

My full site is using SSL for all pages, and working fine. But I noticed CSS files are included without HTTPS prefix, while I have set the base URL in my settings.php file as: $base_url = 'https://...
1
vote
0answers
18 views

Enabling SSL causes multiple redirects

I enabled SSL over all my pages in order to increase security, and I kept receiving "Access Denied" Pages. However, using google PageSpeed Tests, the page now has two redirects: http://...
3
votes
1answer
713 views

Is using a TLS/SSL termination reverse proxy currently possible in Drupal 8

I use Nginx (port 443) which terminates TLS/SSL then forwards the request to Varnish (port 80) and on to Apache (port 8080). This worked really well for D7. Am I correct in thinking that because of ...
3
votes
0answers
2k views

What are the correct steps to run a site as HTTPS? [closed]

There is some information on https://www.drupal.org/https-information about installing the Secure Pages module to force SSL. This gives me a redirect loop on the login pages. When I try without the ...
0
votes
3answers
3k views

AddThis Icons Being Blocked on SSL/HTTPS Site

I've installed and configured the AddThis module to show sharing buttons to my users. It works great on my local machine. When I put the site on my SSL/HTTPS enabled site however the buttons do not ...
2
votes
2answers
518 views

Varnish has no SSL support; then what to use?

As the developer of Varnish, Poul Henning, wrote back in 2011 on https://www.varnish-cache.org/docs/trunk/phk/ssl.html and again this year on https://www.varnish-cache.org/docs/trunk/phk/ssl_again....
0
votes
0answers
128 views

Drupal updates issue with SSL certificate

My drupal is not able to conect into drupal.org sites, becouse drupal.org is using SSL certificate from another domain "j.ssl.fastly.net Notice: Undefined variable: errno in drupal_http_request() (...
1
vote
0answers
682 views

Error opening socket SSL

I am working with a Drupal 7 site locally that we have setup with OAuth2. Logging in works fine on our staging server, our QA server, and another guy's MacBook Pro. On mine, however, I see an error ...
1
vote
0answers
444 views

Drupal redirect from https to http except some urls

I'm trying to redirect all https traffic to http except for a url. I wrote the redirection rule but I don't understand why for this url I want to exclude I'm redirected to index.php. For all the ...
0
votes
1answer
41 views

How to make links to private directory always use ssl?

I am trying to connect all links to files in a private directory to use SSL. This is what I have done so far; if (preg_match('!^system/files/webform/([^/]+)(/.*)?!', $path, $matches)) { if($...
0
votes
0answers
205 views

Clean URL test fails, but its not a mod_rewrite problem

I am migrating my Drupal 7 instance to a new server running php 5.6 and Drupal 7.39 and Debian 8. I cannot get it to pass the clean url test. I belive clean urls do in fact work. If I call a "clean" ...
0
votes
1answer
46 views

Permission error while downloading file through IE8

I have one content type with file upload field. I am saving the files to drupal/sites/default/files/search/documents custom folder. The user can download the files from the site. The download works ...
2
votes
0answers
427 views

Redirect whole site to HTTPS, with exceptions

I've successfully redirected my entire Drupal 7 site to HTTPS using the snippet: RewriteCond %{HTTPS} off RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ^(.*)$ https://%{HTTP_HOST}%{...
4
votes
3answers
11k views

How to force drupal 7 to load HTTPS assets?

Environment: apache + ssl + domain access Our drupal 7 site uses domain access multiple sub domains our server is SSL enabled if I do not set $base_url in settings.php then all of our assets our ...
1
vote
1answer
92 views

Does Aegir 3 allow multiple SSL sites on the same IP Address?

On our server some sites use SSL, some don't, some are Drupal sites, some are not. All the sites are served at the same IP address and the non-Drupal sites each use their own certificates (or none) ...
0
votes
2answers
137 views

Enable Https in drupal site [closed]

I want to enable https in my drupal sites . I've read this article about this : https://www.drupalaid.com/blog/how-to-quickly-add-ssl-to-your-drupal-site . and add these code to my htaccess : ...
0
votes
1answer
563 views

Proxying a subdirectory to a remote Drupal site

The goal Make all requests to a previously static page at https://www.example.com/sub/folder on server 1 (Proxy) ACTUALLY go to a Drupal site at https://other.example.com on server 2 (Origin) This ...
2
votes
0answers
333 views

Submitting a form causes 'secure connection failed' error that persists

I've got a SSL certified server running drupal 7.37. Everything was working fine until I started adding form submission to a module I'm working on. As soon as I submit the form, I get 'Secure ...
1
vote
1answer
133 views

Only enable SSL for specific websites (Aegir)

So Aegir has a manual page on SSL. I need to enable for one website. I enable SSL for the server and then require the certificate on that website. But now, if I go to any other website on the same ...