I am trying to create an ssl certificate for my website to get the green lock.
While reaseacrhing how to do that (never done anything with SSL certificates before) I encountered letsencrypt. But I cant figure out how to install it on my server.
I have my application on heroku and a custom domain at a random webhoster. I point this domain via CNAME DNS to my heroku application.
As far as I understand the whole SSL thing has to be configured with heroku, because the data is also there.
I have tried a few things which all didnt worked. But this attempt seems to be close:
I created a folder "letsencrypt" in my app localy
I logged in to heroku via CMD
I pushed everything to heroku
git push heroku master
heroku run bash to access the folder I created
I entered the folder which I just created
I cloned letsencrypt into this folder
git clone https://github.com/letsencrypt/letsencrypt
I went again into
Which gave me:
"sudo" is not available, will use "su" for installation steps... Bootstrapping dependencies for Debian-based OSes... su: must be run from a terminal apt-get update hit problems but continuing anyway... su: must be run from a terminal