Magento enable SSL to change HTTP to HTTPS

Source: Internet
Author: User
Tags magento website ssl certificate ssl connection

Magento is an e-commerce site, for the site's user information security, let magento Use SSL connection is a good solution. If in the sidebar or at the bottom of the page to indicate that the site uses a secure connection of the pictures, appear more professional, so that customers have a sense of security, for the Magento site is also a good publicity.

Magento SSL is required to enter the account password or privacy-related pages will be https://www .... Secure access URL, with login page, checkout page, user Panel page. The rest of the Magento page that does not involve user account information is http://www .... Common connection to access, such as home, product List page, product Details page.

If you are using Magento's dedicated space, and the space service provider also sells SSL certificates, then buy a certificate, the space service provider's technical support will help you to install. The service provider will also provide SSL installation instructions or technical support will guide you to install. Don't worry too much about this.

Install the SSL certificate for the Magento configuration on a standalone host today. Make a summary of the process.

First of all, our Magento server will support SSL and open this module. I am using Apache server, install SSL module, enable this module is good, specific content can Google, online tutorial too much.

Then, in the configuration file of the server, we set up the virtual host for our Magento website.

The code snippet is as follows (Apache configuration file)

<virtualhost 100.100.100.100:80>  documentroot/var/www/html/aaa.com  ServerName www.aaa.com     < Directory "/var/www/html/aaa.com" > Allow from the all        Options +indexes    </directory></ Virtualhost><virtualhost 100.100.100.100:443>  documentroot "/var/www/html/aaa.com"  ServerName www.aaa.com    <directory "/var/www/html/aaa.com" > Allow from all        Options +indexes    </ Directory>  sslengine on  sslcertificatefile/root/www.aaa.com.crt  sslcertificatekeyfile/root/ Www.aaa.com.key</virtualhost>

AAA.com for the domain name of your Magento website, 80 ports and 443 ports are settings your Magento can use http://For normal connection access, and use https://for secure connection access.
Sslcertificatefile and Sslcertificatekeyfile are the paths to certificates. Google next Apache How to configure SSL will be described in detail, these two certificate files
The same is the time to buy SSL.
These are all set up to restart your Apache server for the app to take effect.

Last turn to set Magento, set Magento enable secure connection SSL.

Such as

Magento Setting Up SSL

Change to https://www in secure this place ... The above unsecure does not need to be modified. There are two options to choose Yes or no, the front desk to enable SSL Select Yes, the background to enable SSL also choose Yes. However, it is recommended that you try the front desk correctly before you open the background. Lest there be a mistake, the backstage can't go in.

So come to the front desk, look at our Magento Landing registration page, the user my Account page and the checkout page is not automatically become https://www .... Secure access.

Setup is complete and you can enjoy the Magento secure connection .

This setting is the most time for me to configure SSL in Apache, because I have not previously installed this to the customer, so I have to learn the basic knowledge of SSL. Fortunately, I used Webmin, the Linux system management software. It is convenient to add a virtual host to Apache and set up the VM host to use SSL.

Foreign configuration Magento SSL-enabled reference URLs are: http://www.magjournal.com/2009/05/adding-ssl-support-to-magento/

After we install SSL how to verify the success of the installation, you can test your URL on the URL: http://www.digicert.com/help/page.

I gave Magento enabled SSL, ie browser can be normal use, but Firefox Firefox does not, alarm sec_error_unknown_issuer This is why. Originally I installed this SSL not all browsers are supported, Firefox support to 2.0 version. If everyone has a different browser does not support the problem, ask the SSL provider, what is the reason, may be a browser problem. I am in: http://codingdao.com/wp/post/linux-apache-https-config-note/This website to understand these incompatibility question, everybody can refer to below.

In short, Magento enable SSL, if your server host provider can provide help, it is best to let them help you set up, do not provide help, you can do your own hands, do not have to find someone to help you set up.

Magento enable SSL to change HTTP to HTTPS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.