I am in the process of getting an SSL Certificate.
After getting it, what exactly do I do with it?
I am building an e-commerce site, and currently trying to get PayPal to work with my site. PayPal requires an HTTPS connection when it sends a user back to my site.
Honestly, I’m not sure how to make the certificate work… :-/
I don’t have a lot of experience with this, but the one time I did it, when I bought the certificate, it came with installation instructions. Basically, it involves settings in your web hosting account, which will depend on who your web host is. So once you have the certificate, I’d suggest talking to the web host about what to do with it.
Nah, I didn’t move this, because I’m sure it’s not a programming issue. As I said, it’s just a matter of finding out how your host supports the certificate. Once it’s installed on your hosting account, all urls will read https. Forcing the urls to read https via htaccess is not a solution, as you need to pages to BE ssl protected, not just appear to be. (That’s my take, anyway.)
The procedure is simple, only if you have the programmers with you. You will first need to generate a csr file from your webhost. Send it to the certificate authorities. Receive the ssl cert from them and send it to your webhost, who will install it on your server.
You can do this on the server side or in PHP. If your server runs Apache, you can add a rewrite rules to automatically redirect your users to HTTPs pages based on the URL (regular expressions). In PHP, you can do the same by adding a condition that checks the URL and whether SSL is on, and redirect the user to https.