Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Does anyone know how to add a SSL certificate to a woocommerce site?

Hey I'm trying to set up a woocommerce site with wordpress. Everything is working great but I need a ssl certificate. How do you add one?

3 Answers

Found out the answer. The web hosting doesn't allow you to use a different shopping cart than theirs. Dumped them and went with another hosting service.

William Eccles
William Eccles
4,341 Points

First you need to buy the ssl cert from a provider, try ssls.com or raidhost.co.uk it's a bit like buying a domain name. If you're using a control panel like cPanel you simply generate a CSR (certificate signing request) found under the ssl part of cPanel and upload it to the certificate company during the checkout process. They will then send you can the full valid certificate to upload to your cpanel or server. Then you simply go into your Wordpress settings and update the urls from http to http. under settings general.

If you're not using a control panel like cPanel then there is plenty of advice after googling "how to install an ssl on [state your web server nginx/apache etc] [state your OS centos/Ubuntu etc]

William, thanks. The hosting provider I am using has a ssl certificate that comes with the hosting service. There instructions tell me to make a directory labeled ssl and place the files I want to protect into that directory.

In my understanding this can't work with wordpress.

William Eccles
William Eccles
4,341 Points

I assume it's a shared ssl? If you can share the instructions I might be able to make sense of them. Also: Who is the host? Have you raised the question with them directly?

Sue Dough
Sue Dough
35,800 Points

Don't pay for SSL. It is 2016. It is free to generate certs.


It is a shared ssl. The host is Aabaco Small Business which used to be Yahoo Small business.

here are the instructions: To begin using SSL, you will first need to create a new subdirectory (or folder) in your site. Into this folder you can place any pages you want to protect with SSL.

Setting Up an SSL Directory

Open your File Manager by clicking the "File Manager" link on the Create & Update, Manage, or Index tabs of your Web Hosting Control Panel. Click the "Create Subdirectory" link near the top-right corner of your File Manager. On the following page, enter the name "ssl" (all lowercase) for the new subdirectory in the "Subdirectory Name" text box. Click the "Create Subdirectory" button. You will return to your File Manager, where you'll see a confirmation that you have successfully created your new subdirectory. Now place any web pages and forms you want to protect into the new ssl subdirectory (learn how). You'll need to include a page called index.html (or rename an existing page), which will be the first page that visitors to the secure area will see. (Note: Be sure to adjust any links you may have already created that refer to the moved files, or your links to those pages will break.)