Comodo PositiveSSL Intermediate Certificate Install on WHM 11.46.2

The TL;DR version:

1. Download the following PositiveSSL bundle file: CABundle.txt (hosted on pastebin.com)
2. Upload this file into /var/cpanel/ssl/installed/cabundles
3. Open up /usr/local/apache/conf/httpd.conf and search for the domain in your VirualHost config
4. Find the 2 lines starting with SSLCertificateFile and SSLCertificateKeyFile and directly below those 2 add the following:

SSLCACertificateFile /var/cpanel/ssl/installed/cabundles/CABundle.txt

5. Save the file, restart Apache. Done!

The story behind it all….

So I recently purchased a SSL certificate through Namecheap for one of my domains. I choose Comodo and after following through the activation process received my SSL info in my email.

I got the private key and the certificate uploaded through cPanel for the domain. Everything was going smooth until I tested the SSL for the domain at https://www.sslshopper.com/ssl-checker.html

It said that the SSL was setup and I was able to verify by visiting the https:// version of the site but it said that the intermediate certificate was missing. Queue me spending the last 2 days pouring through tutorials trying to figure out how to get the damn intermediate certificate working….

After getting the private key and certificate setup in cPanel I went into WHM to make sure things were setup properly. Going into SSL/TLS -> Install an SSL Certificate on a Domain in WHM and then clicking on Browse Certificates and selecting the one for my domain I was presented with the already loaded certificate and private key.

However, I noticed that the Certificate Authority Bundle (optional) text area was empty and thus why www.sslshopper.com was reporting the intermediate as missing.

From reading the tutorials online I found that most providers will ship you a “bundle” file with the SSL certificate. But of course, since I chose to use Comodo they ship you a .zip file with 4 files inside of it. So as my patience was wearing very thin I contacted Namecheap SSL support in my last moments of desperation hoping they could assist. I was connected with Kristina who was able to provide me with a bundle file that I was in search of in less than 2 minutes.

Hopeful, I opened up the .txt file that she provided and copied the contents into the Certificate Authority Bundle text area and was greeted with a green check mark simulating that it was all good. So I went ahead and clicked on the blue Install button and got the confirmation everything went through. Back to www.sslshopper.com I go expecting everything to show as ok and still the same error about the intermediate not being there.

I went back to the SSL install area in WHM and loaded up the info for the domain and noticed the Certificate Authority Bundle text area was still empty. Looking around online I found other users with similar issues. Apparently for some reason, even though you add the intermediate bundle into WHM it doesn’t actually save it onto the server…go figure.

So I connected to my server and uploaded the bundle Kristina provided into the /var/cpanel/ssl/installed/cabundles directory that was empty. Afterwords, I opened up /usr/local/apache/conf/httpd.conf and searched for my domain in the VirtualHost area.

I noticed the following lines located near the bottom for my domain:

SSLCertificateFile /var/cpanel/ssl/installed/certs/[certfile].crt
SSLCertificateKeyFile /var/cpanel/ssl/installed/keys/[keyfile].key

From finding users with similar issues to mine I found I was completely missing a line from that file. Below each of those files I added the following line:

SSLCACertificateFile /var/cpanel/ssl/installed/cabundles/CABundle.txt

Where the CABundle.txt file is the one provided to me by Kristina, saved the file and then went back to SSL shopper to confirm it was working. Same error…..turns out you need to restart Apache for it to update. So after restarting Apache I was finally met with a wonderful screen on SSL Shopper showing me that the intermediate certificate was indeed installed!

So a huge shoutout to Kristina who works in the Namecheap SSL Support department as she saved the day for me!

 

2014 Camaro SS

IMG_0604 IMG_0607 IMG_0608 IMG_0609

 

I’ve never had what I considered a nice car until now, I’ve always had used cars that were just worth a few thousand dollars. Now I have something that I’m definitely proud of although its the first time in my life I’m in debt.

Better pics to come later.

HostGator: I Thought You Were Better

So I look after a dedicated server for somebody that I’ve known for a few years. Now I’m definitely not anywhere close to a server “administrator” but I know enough to at least manage a website and create/remove stuff when necessary.

Rewind back a few years and I started doing small time work for this individual. Eventually things grew and I helped move an old Vanilla forum install into vBulletin. At the same time I also decided to look for a better hosting provider to help plan for future expansion with the vBulletin forum.

From my previous experience with hosts I ended up going with and trusting HostGator at the time. I’d always had their small cheap hosting plans and their support was awesome so I figured a dedicated server from them would be great and cover what was needed at the time. Fast forward until a few weeks ago and everything was going ok (minus that server outage 2 months ago). I say was because I was messing around on the server and noticed it only had 4GB of RAM.

Back when I first bought the server this is what was advertised on their dedicated server ( http://www.hostgator.com/dedicated ) page. However, I had recently visited that same page and noticed that for the Pro Dedicated Server it should contain 16GB. Now, I’m not great at math but I know that 4 is less than 16. Curious, I decided to pull up the HostGator live chat and see what the issue might be.

After asking my question and waiting for a representative I was greeted with a response. I didn’t save the chat which I should have but the response I got was that the site had just been updated to 16GB within the last week and that the servers were in the process of being upgraded. I then asked how long the upgrade would take and was told there isn’t an estimated time frame.

This struck me as a bit odd as after paying for a dedicated server for 3 years I had my doubts that just within the last week of me checking they decided to quadruple the amount of memory on the server. I thought that within the span of 3 years the server would have been upgraded to 8GB and then eventually to 16GB. However, this is where the story goes downhill.

I decided to do some research with archive.org/web to see if they had any juicy tidbits and they delivered.

The latest archive I could find for the dedicated server page was May 19th, 2012: http://web.archive.org/web/20120519224342/http://www.hostgator.com/dedicated

Hmm, that’s odd. I can read pretty well and the Pro Dedicated server shows as having 8GB of memory.

Jump forward to November 12, 2012: http://web.archive.org/web/20121112211502/http://www.hostgator.com/dedicated

16GB showing here but I was initially told that the site was just updated within the last week? Armed with this information I decided to contact HostGator again for a response and mentioned these issues and entered the chat. This time I saved the transcript and will post it below:

(3:24 pm) [System] Customer has entered chat and is waiting for an agent.
(3:24 pm) [Carlos Z.] Welcome to HostGator.com live chat. My name is Carlos, I will be happy to assist you with your inquiry.
(3:24 pm) [Carlos Z.] Please allow me a minute to review your question.
(3:27 pm) [Carlos Z.] For security purposes, I will need to verify your identity by having you provide your account’s billing credentials in the popup that will soon follow this message. I apologize for any inconvenience this may cause.
(3:28 pm) [Carlos Z.] Thank you for cooperating with our security procedures.
(3:28 pm) [Carlos Z.] Would you mind waiting 2-3 minutes while I research the issue?
(3:29 pm) [Jarret]: sure
(3:33 pm) [Carlos Z.] You may have misunderstood. The servers were updated after you signed up. You can sign up for the current dedicated server offer and transfer over if you like. We do not update the old servers to new specifications.
(3:34 pm) [Jarret]: why wouldn’t you offer to upgrade your clients automatically? seems like something they would appreciate
(3:38 pm) [Carlos Z.] It is our policy for dedicated servers. I do not know why.
(3:39 pm) [Jarret]: Alright, I guess I’ll be looking for a new host then that will care enough to upgrade their old clients. Thanks for the information.
(3:41 pm) [Carlos Z.] You’re welcome. Is there anything else I can help you with today, Jarret?
(3:42 pm) [System] Chat closed by customer request.

Well isn’t that just a bunch of bullshit? So because the server was purchased awhile back for some reason they don’t bother to upgrade it along with their current offerings?

I’ve long been away from HostGator for my own personal domains as I moved over to a VPS with WiredTree. By the way, WiredTree has upgraded the specs on my VPS several times and they didn’t even raise the price so maybe I’m just spoiled and assumed that other hosting providers would care just as much.

I guess that isn’t always the case.

Stripe vs Paypal

So I always hear every now and then about a horror story with Paypal locking up an account for somebody. I currently use Paypal with all of my clients because it is so big that pretty much everybody has at least heard of it.

While I never personally have had any problems the thought is always in the back of my mind. I plan on redesigning my development site soon so I’ve been playing around with the idea of implementing Stripe and having clients pay on the site. I know Stripe is a lot younger but I have yet to hear of any issues with it.

Just curious if anybody has attempted this before for client type of work? I know people have done it selling themes/plugins but I think clients may be a little bit hesitant at first.

If you have tried it, did you notice any slowdown or questions from clients?

Custom Dog Bed

Since my brother has a dog and my dad just got done building my brother a bed frame he decided to also build the dog a matching bed frame as well.

 

First Repository Theme: Luxury

Ok so it was approved just a few days ago but my first theme has been set live within the WordPress.org repository and is free to download for all!

You can find the URL here: http://wordpress.org/extend/themes/luxury

It took me a lot longer than I had anticipated to get everything required to meet the strict standards that the repository enforces for themes. But at the same time, it also makes for better themes. I don’t expect it to become a huge hit but it is a good start for me and the experience doesn’t hurt.

I do plan to release at least one (if not a few more themes) but have to get them coded up first.

Improving My Git Workflow

So I’ve been a small bit of work on Easy Digital Downloads over on Github. I have GitHub for Windows which I like but have run into a small issue when it comes to creating a smooth workflow. So as it stands right now, I have the repository forked to my account. I then open up GitHub for Windows and clone the repository to my local computer.

But, within GitHub for Windows it has a setting for a default directory which I have set to (C:/wamp/www/git-stuff) so the repository gets cloned to there. Then I have to pull from the master EDD repository if there are updates. From there I copy the git-stuff cloned repository over to a WP install for testing. Once I’m done I send the copied repository back over to the git-stuff repository and then upload back to GitHub and then issue a pull request.

What I would really like to do is just clone my forked repository straight into whatever WP install I need, work on it and then just have to upload it straight from there instead of doing the extra steps of copying. I’m sure there is a way to do this through the command line but my knowledge with the command line is lacking unfortunately.

If anybody comes across this and knows a better solution, mind leaving a comment?

Complete view of bed

Custom Bed Frame