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
@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