Skip to content

Instantly share code, notes, and snippets.

@stopspazzing
Created December 14, 2015 08:36
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stopspazzing/c871f935771f14933c63 to your computer and use it in GitHub Desktop.
Save stopspazzing/c871f935771f14933c63 to your computer and use it in GitHub Desktop.
********* <sslsupport@namecheap.com>
Dec 13, 2015, 10:53 AM
to:
“emailremoved” <emailremoved>
Dear Jeremy,
We are deeply sorry to know that you have decided to end our relationships, both because we value your business and because we truly believe purchased SSL is a better choice in most cases.
We'll happily provide a 30% discount on your SSL renewal if you'll stay with us.
Regarding the cPanel plugin for Let's Encrypt, unfortunately at this point we are unable to tell exactly if we will be implementing it or not since it involves a big amount of changes to our servers structure.
We will treat any decision of yours with proper respect and understanding.
If there is anything else you would like to discuss about this matter or have any additional questions or comments, please feel free to reply to this email.
-----------------------------
Regards,
*********
Customer Support Specialist
SSL Department
@JamesTheAwesomeDude
Copy link

JamesTheAwesomeDude commented May 11, 2021

Looks like they do support SSL/TLS certs, but not sure if it's all-encompassing for all kinds of certs, including those not bought specifically through Namecheap. … They may or may not support the free ones you can generate from https://letsencrypt.org/

@rishadq You can install any cert you want (including LE certs)… but you have to get it re-issued yourself and then log into cPanel and install it by hand (every <90 days for LE, for instance) if you use any cert provider other than Namecheap.

It's an embarrassing cash grab, and I'll certainly cite it to support as my primary reason for leaving once I find a provider solid enough to leave their (otherwise splendid) hosting for.


In the meanwhile, I've made a cron script to automatically e-mail you new certificates for Namecheap shared webhosting; I haven't kicked the tires fully yet but it seems to work:

Screenshot from 2021-05-11 04-53-46

@kabeza
Copy link

kabeza commented Jan 24, 2023

Hi
Is there an updated way to generate, upload and install certificate in namecheap shared ?
I've tried the git repo certbot-nosudo without success
I can ssh the server correctly

@JamesTheAwesomeDude
Copy link

@kabeza You cannot. Namecheap does not offer any API to do this. This is a business decision on behalf of their business partners, not their customers.

The only options I can see are:

  1. automate the issuance and paste it by hand into CPanel once every 70 days
  2. "force" an API into cpanel by using Selenium or something
  3. change your hosting from managed webhost to a VPS
  4. change your hosting from Namecheap to another managed webhost

@kabeza
Copy link

kabeza commented Jan 24, 2023

@kabeza You cannot. Namecheap does not offer any API to do this. This is a business decision on behalf of their business partners, not their customers.

I wasn't looking for an api but a way to use certbot in their shared server.

The only options I can see are:

  1. automate the issuance and paste it by hand into CPanel once every 70 days
  2. "force" an API into cpanel by using Selenium or something
  3. change your hosting from managed webhost to a VPS
  4. change your hosting from Namecheap to another managed webhost

I was able to do it on my Ubuntu box and then upload/paste/install in Namecheap
https://medium.com/@tsui.gordon.9/generate-let-encrypt-ssl-certificate-manually-using-the-http-challenge-64b14750e3f8

@JamesTheAwesomeDude
Copy link

JamesTheAwesomeDude commented Jan 24, 2023

a way to use certbot in their shared server … I was able to do it on my Ubuntu box and then upload/paste/install

@kabeza Yes, in the message I posted on this thread in May of 2021 I included a shell script to do exactly that.

The medium essay that you posted involves many manual steps to be repeated quarterly: you have to, of your own volition, (1) execute certbot, then (2) upload a file to the hosting, then (3) finish executing certbot, then (4) paste the certificate into CPanel. This is a nuisance.

Contrast that with my shell script which, once installed into Cron on the shared hosting, will automatically do the first 3 of those with no user intervention—you'll get an e-mail every 70 days containing the new cert and you only have to paste it up into CPanel—just one manual action (that you'll be reminded to do via e-mail, so you don't even have to keep track of it yourself).

Obviously the better solution would be to change providers, but if you're stuck on namecheap I think using a cron script on the shared hosting with manual uploading only of the cert is about as easy as it gets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment