Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 311
  • Last Modified:

how to implement SSL on HTTP with Linux server

I got enquiry to use SSL on my web site. My web site hosting provider advises to use SSL to secure data... so i want to use it.. what should i do now?

who will help me to implement the SSL on my web site? hosting provider or ssl certificate provider?

i have web site with me + planning to buy the SSL certificate from one partner...
Loganathan Natarajan
Loganathan Natarajan
  • 3
  • 3
1 Solution
The very first thing you need to confirm is whether your current hosting plan is suitable for SSL.  You can not enable SSL on shared hosting.

The next thing you need to determine is what type of SSL certificate you want to use.  These broadly come in two types:

1.  Self-signed certs.  These certs are generated and signed by yourself.  They will cause a browser warning when you go to a HTTPS page as the certificate is not signed by a Certificate Authority.

2.  Certificate that is signed by a Certificate Authority (CA), eg: verisign, thawte etc.

Loganathan NatarajanLAMP DeveloperAuthor Commented:
Ok, it seems that my shared hosting person suggesting the SSL . so he might be aware of the hosting platform + SSL configuration...

i have simple web site + some registration pages, download pages.. so may be 2) option will be done...

what should I do after purchasing the SSL?

do i need to change any coding or page settings?
The steps involved are:

1.  Generate a certificate request.
2.  Send the cert request to a CA to be signed.
3.  Install the SSL cert on the webserver when it has been generated.
4.  Configure the webserver to use SSL.

The specifics on the above 4 steps depend on how your webserver is setup.  A lot of hosting providers make this relatively easy by having forms to fill out or options from the admin panel.

As for coding changes, it depends on whether you have any pages with hardcoded URL's.  For example, you will need to change links like:

<a href="http://example.com/page1.html>Page 1</a>


<a href="https://example.com/page1.html>Page 1</a>
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Loganathan NatarajanLAMP DeveloperAuthor Commented:
Ok, thank you,

i think my hosting provider do all the configure, installation...

so, i may need to convert the links... any other tasks?
Loganathan NatarajanLAMP DeveloperAuthor Commented:
The only other thing you might want to consider is a redirect.

For example, if you only want people to view your web pages via HTTPS instead of HTTP, then you can set up a redirect for any requests to http to go to the equivalent https page.

Of course, this entirely depends on how you want to structure your site.  Another common setup is having the main website viewable by HTTP and having just the pages that need SSL (eg: login pages, shopping cart etc) to use HTTPS.

Featured Post

Who's Defending Your Organization from Threats?

Protecting against advanced threats requires an IT dream team – a well-oiled machine of people and solutions working together to defend your organization. Download our resource kit today to learn more about the tools you need to build you IT Dream Team!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now