LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-26-2019, 05:53 AM   #1
robel
Member
 
Registered: Oct 2008
Location: Norway
Distribution: Slackware
Posts: 72

Rep: Reputation: 15
certbot 0.30.1 (or newer) on Slackware 14.2


Trying to build letsencrypt (0.30.1) from slackbuilds.org
https://slackbuilds.org/result/?sear...ncrypt&sv=14.2

A lot of dependencies (really a lot), and some of them are not working (python errors).

I have tried pip but I guess that's not the way to go. Correct me if I'm wrong.

The certbot-auto script says: Sorry, I don't know how to bootstrap Certbot on your operating system!

Any tips? I'm basically looking for a way to install certbot (letsencrypt) apache plugin on a Slackware 14.2 (x86_64) server.
 
Old 01-26-2019, 06:44 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,974

Rep: Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231
I used the same script to build on my servers and all are working well.
 
Old 01-26-2019, 01:52 PM   #3
robel
Member
 
Registered: Oct 2008
Location: Norway
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: 15
My way :-)

I was wrong... The pip route is correct I guess.

This is my recipe:

After a fresh Slackware64 14.2 install, I applied the latest patches.

Then I installed pip:

Code:
python -m ensurepip --default-pip
And upgraded:

Code:
pip install --upgrade pip
Installed virtualenv via pip

Code:
pip install virtualenv
Now we need Augeas. I got the source (the latest released tarball) from http://augeas.net/download.html and ran a standard
Code:
./configure ; make ; make install
which of course places the library in /usr/local/lib/ unless --prefix is specified. I didn't, and that means I had to add that path to /etc/ld.so.conf and run ldconfig

Augeas for python:

Code:
pip install python-augeas
certbot-auto:

Code:
wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto
Install certbot:

Code:
./certbot-auto --no-bootstrap
To run certbot-auto I had to tell it a few secrets:

Code:
./certbot-auto --apache --apache-server-root /etc/httpd --apache-vhost-root /etc/httpd/extra --apache-challenge-location /etc/httpd
Not sure if all this is necessary though.


Edit: This will install certbot 0.30.2 (the latest)

Last edited by robel; 01-27-2019 at 03:18 AM.
 
Old 01-26-2019, 02:16 PM   #4
the3dfxdude
Member
 
Registered: May 2007
Posts: 566

Rep: Reputation: 245Reputation: 245Reputation: 245
I don't use certbot. There are alternatives:
https://github.com/Neilpang/acme.sh
https://github.com/lukas2511/dehydrated

I also rolled my own monitoring of certificate expiration and plugged into cron.
 
Old 01-27-2019, 03:16 AM   #5
robel
Member
 
Registered: Oct 2008
Location: Norway
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by willysr View Post
I used the same script to build on my servers and all are working well.
Slackware-current? Makes sense if it is. Looking forward to the next release.
 
Old 01-27-2019, 09:15 AM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,974

Rep: Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231
No, servers are still running 14.2
 
  


Reply

Tags
letsencrypt, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Letsencrypt certbot Panicked Linux - Server 4 06-13-2017 06:10 PM
LXer: Secure your webserver with improved Certbot LXer Syndicated Linux News 0 05-26-2017 10:01 AM
[SOLVED] Bundle SSL certificates with LetsEncrypt/Certbot? kikinovak Slackware 1 03-14-2017 07:58 AM
LXer: Using certbot to secure your personal site LXer Syndicated Linux News 0 02-23-2017 02:01 PM
Newer Slackware Packages on older slackware version pengStudent Slackware 2 11-12-2003 12:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration