Announcement Announcement Module
Collapse Forum Guidelines

Welcome to the Forums! The purpose of this forum is to allow you to discuss topics relating to hosting and topics of interest with other Customers. The primary focus should relate to issues not generally included in our Wiki or Control Panel, or information not provided by our Customer Support Team. Some examples include programming and coding support, web site design ideas and SEO practices.

The forum is not meant as a replacement to our Wiki or Customer Support. We highly recommend searching our Wiki before posting on the forum. Also, if you have a question for our Customer Support team, please contact them as you would normally.

We ask that if you have any complaints or questions relating specifically to your account, that you address them to our Customer Support department. Do not post personal account information such as passwords or other sensitive and private information the forum, as this type of information is best kept secret. Also, please be respectful of other users and refrain from defamatory comments or use of coarse language.

We will visit the forum from time to time, and contribute to various topics. We reserve the right to delete any posts which are deemed offensive or against the spirit of the forum. Any spamming or illegal activity will not be tolerated. We also reserve the right to block any user who violates these guidelines.

To get started, we welcome you to sign up at our User Management site. Any account created there will have access to these forums, our Wiki, our Ideas site and commenting permission on our Status Blog.
See more
See less
Magento setup with Vanity SSL Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Magento setup with Vanity SSL

    I setup Magento a while back and was using Paypal, so I didn't need the SSL feature. I've moved to and now I need to secure the site. Is there a way to do it without reinstalling everything (including all my products, etc).

    I'm also having some issues with sending email from magento. I know I don't have things setup right, but I can't find anyplace to set a login/password for an email address. I've found the smtp server fields.

    Any help?


  • #2
    Re: Magento setup with Vanity SSL

    Hello Ceiboss,

    Here is how you can enable SSL in Magento Commerce:

    Log into backend
    Click on System > COnfiguration
    Click on Web on the left menu
    Scroll down and find the SECURE section
    Select YES for the question: Use Secure URLs in Frontend

    I hope this helps...

    About the SMTP problem... Unfortunately, magento commerce does not support this out of the box. Although I've never tried, the following may help. Make sure to backup everything before you try:

    Open /app/code/core/Mage/Core/Model/Email/Template.php and add the following to the send() method

    public function send($email, $name=null, array $variables = array())
            if(!$this->isValidForSend()) {
                return false;
            $config = array(
                    'ssl' => 'tls', //optional
                    'port' => Mage::getStoreConfig('system/smtp/port'), //optional - default 25
                    'auth' => 'login', 
                    'username' => '',
                    'password' => 'secret'
            $transport = new Zend_Mail_Transport_Smtp(Mage::getStoreConfig('system/smtp/host'), $config);
            try {
                $mail->send($transport); //add $transport object as parameter
                $this->_mail = null;
            catch (Exception $e) {
                return false;
            return true;


    • #3
      Re: Magento setup with Vanity SSL

      Well, the email works. Of course I changed the email address I was going to use and broke it, but I'll work that out later. Thanks for the help there.

      I'm still having problems with the SSL. What I think needs to happen is that I need to copy some or all of the Magento site to my vanity SSL site and then under System/Configuration/Web under Secure, change the base URL to point to the SSL site. I did try changing the setting as you described, but it didn't work.




      • #4
        Re: Magento setup with Vanity SSL

        I am having the same problem with email. Tried adding the code to the php page mentioned. The file and code certainly have to do with the issue, but I am getting an error (before I did not get any errors, but the emails would not be sent). My smpt server does require authentication. If I post my code here, could someone take a look at it for me?


        • #5
          Re: Magento setup with Vanity SSL

          I'm still working on this and thought I'd update hoping somebody would have some ideas on what's going on:

          1. I deleted my magento install (not the database though).
          2. I setup my vanity SSL under Linux.
          3. I re-installed magento.

          Now, I still have my data which is good considering all the work I went through to set things up. The problem is that when I go to checkout and it tries to get to my secure site, I get the 404 error. I have no idea what or where to go now. I entered and double checked the (and made sure the "/" was on the end). It still gives me the error. How do I fix this? I'm assuming that for some reason the files that need to be transferred to the secure site, haven't been. I did select "Use Secure URLs in Front End". It makes no difference.

          Help! I'm so close I can taste it. Thanks


          • #6
            Re: Magento setup with Vanity SSL

            Hello ceiboss,

            Just to explain a bit how Vanity SSL works. There is no seperate site for your Vanity SSL site. It is like a website alias that points to the same content on the webserver.

            So if your shopping cart is located at then to use your Vanity SSL you just point your browser at and you will see the same content. There is no need to copy any files to any other location to use the Vanity SSL.

            Also, please note that Vanity SSL URLs usually end in "". You may get an error or a redirect to if you use ".com" at the end.

            Hope this helps.