Hi,
Before i already made the following post:
The problem was that i was running on CentOS version 5.5, so first i had to update CentOS on my server. Now i did that and i started again with everything.
Because i am pretty much a newbie with server side things, i followed the instructions from:
https://raymii.org/s/articles/Lets_Encrypt_Directadmin.html
I did the following:
- Downloaded putty and made connection with the server as the root user.
- I checked the versions of CentOS and Python:
CentOS release 6.7 (Final)
Python 2.6.6
- Git was already installed on the server, so i did not have to do that.
- I gave to following command with Putty:
The response was:
git: /usr/local/lib/libz.so.1: no version information available (required by git)
Initialized empty Git repository in /letsencrypt/.git/
git-remote-https: /usr/local/lib/libz.so.1: no version information available (required by git-remote-https)
git: /usr/local/lib/libz.so.1: no version information available (required by git)
remote: Counting objects: 27171, done.
git: /usr/local/lib/libz.so.1: no version information available (required by git)
remote: Total 27171 (delta 0), reused 0 (delta 0), pack-reused 27171
Receiving objects: 100% (27171/27171), 7.08 MiB | 2.76 MiB/s, done.
Resolving deltas: 100% (19116/19116), done.
- I gave the following command with Putty:
cd letsencrypt
- I gave the following command with Putty:
./letsencrypt-auto --server https://acme-v01.api.letsencrypt.org/directory certonly --agree-tos --email 'CONTACT@MYDOMAIN.NL' --webroot --webroot-path '/home/MYUSERNAME/domains/MYDOMAIN.NL/public_html/' -d MYDOMAIN.NL -d www.MYDOMAIN.NL
The end of the response was:
Complete!
WARNING: Python 2.6 support is very experimental at present...
if you would like to work on improving it, please ensure you have backups
and then run this script again with the --debug flag!
- So i runned it again with the --debug flag:
./letsencrypt-auto --server https://acme-v01.api.letsencrypt.org/directory certonly --agree-tos --email 'CONTACT@MYDOMAIN.NL' --webroot --webroot-path '/home/MYUSERNAME/domains/MYDOMAIN.NL/public_html/' -d MYDOMAIN.NL -d www.MYDOMAIN.NL --debug
The response was:
Bootstrapping dependencies for RedHat-based OSes...
yum is /usr/bin/yum
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
- base: mirror.denit.net
- extras: mirror.denit.net
- updates: centos.mirror.triple-it.nl
Package python-2.6.6-64.el6.x86_64 already installed and latest version
Package python-devel-2.6.6-64.el6.x86_64 already installed and latest version
No package python-virtualenv available.
Nothing to do
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile - base: mirror.denit.net
- extras: mirror.denit.net
- updates: centos.mirror.triple-it.nl
Package gcc-4.4.7-16.el6.x86_64 already installed and latest version
Package dialog-1.1-9.20080819.1.el6.x86_64 already installed and latest version
Package augeas-libs-1.0.0-10.el6.x86_64 already installed and latest version
Package openssl-devel-1.0.1e-42.el6_7.1.x86_64 already installed and latest version
Package libffi-devel-3.0.5-3.2.el6.x86_64 already installed and latest version
Package redhat-rpm-config-9.0.3-44.el6.centos.noarch already installed and latest version
Package ca-certificates-2015.2.4-65.0.1.el6_6.noarch already installed and latest version
Nothing to do
Creating virtual environment...
./letsencrypt-auto: line 167: virtualenv: command not found
If you take a loot at: https://raymii.org/s/articles/Lets_Encrypt_Directadmin.html
Then they are saying that the response has to be something like:
"Congratulations! Your certificate and chain have been saved at /etc/letsencrypt/live/certificatemonitor.org/fullchain.pem. Your cert will expire on 2016-03-06. To obtain a new version of the certificate in the future, simply run Let's Encrypt again."
I also checked if the directory /etc/letsencrypt exists, but that's not the case:
[root@srv etc]# cd /
[root@srv /]# cd etc
[root@srv etc]# cd letsencrypt
-bash: cd: letsencrypt: No such file or directory
Now finally the question:
What is going wrong? I followed all the steps exactly...
p.s. Probably the problem is: "No package python-virtualenv available.". And probably i have to install that package? How can i do that and is that indeed the problem?