.htaccessssldrupalacquia

Dev Desktop SSL connection error


I am currently using Dev Desktop as my local development environment. Everything as working perfectly until I inputted the ssl code snippet into my ht access file which is needed to make the site https.

# Redirect HTTP to HTTPS
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301

]

Now when I try to open my local site I recieve the following error:

SSL connection error
Hide details
Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have.
Error code: ERR_SSL_PROTOCOL_ERROR

Does anyone know how to fix this? thank you.

Kind Regards, Aisling


Solution

  • I don't believe SSL is supported in Dev Desktop.

    I think your options are: