✓ Solved

Unable to setup SSL on Linode WordPress marketplace server

Hello,
I recently set up a linode using Wordpress installer from the marketplace. everything is pretty much smooth.
However, I am unable to get SSL installed.
I read some articles on linode site about letsencrypt available but just can't get it installed and working.

the image I have is Debian 10. but the commands keep saying, command not found.

any help or paid help will also be fine.

6 Replies

✓ Best Answer

I managed to fix this. The --classic certbot install wasn't working on my Debian 10 with apache.
I found another command on digital ocean. it wanted to use python along with which worked well.

sudo apt install python3-certbot-apache

To use Let’s Encrypt, the easy method would be to install certbot. Just choose the software options for your server so you get the instructions.

https://certbot.eff.org

I did try that, but after running the following command

sudo ln -s /snap/bin/certbot /usr/bin/certbot

and trying with

sudo certbot --apache
I get
-bash: certbot: command not found

That response looks like certbot hasn't been installed, as it doesn't have the command in the PATH file to run. Did you select "Yes" for the following question when you created your Linode from the Marketplace app option?

Would you like to use a free Let’s Encrypt SSL certificate?

If so, that can take up to 2 hours for that to complete, according to our guide:

Select Yes if you would like the install to create an SSL certificate for you, or No if you do not. You cannot create secure, encrypted conferences without an SSL certificate. Validation of your SSL certificate can take up to two hours to complete.

Deploy a WordPress Marketplace App (It's at the end of that section, just before the section that starts Linode Options)
If that's not working, please open a Support ticket so that we can help you further troubleshoot. Our Marketplace apps are tested before publishing, so if anything is off, we'd like to correct that.

If you selected No for using Let's Encrypt as part of the Marketplace app, you should still be able to accomplish this. Since the Marketplace App runs on Debian, this guide should have everything you need:

Securing Web Traffic Using Certbot with Apache on Debian 10 and 9

The error message -bash: certbot: command not found means that Certbot is not installed.

Assuming that you are running Debian 10 and Apache, make sure you follow these instructions. https://certbot.eff.org/lets-encrypt/debianbuster-apache

Edit: Sorry @watrick I didn't see your reply.

The error message -bash: certbot: command not found means that Certbot is not installed.

A more likely cause is that certbot is not in the PATH for the super-user. Remember, when you use sudo, you become someone else…not just a more-powerful version of you.

-- sw

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct