I ran this command:
sudo /usr/local/bin/certbot-auto certonly --nginx
It produced this output:
Installing Python packages…
Traceback (most recent call last):
File “/tmp/tmp.UbY9vbuI2u/pipstrap.py”, line 177, in
sys.exit(main())
File “/tmp/tmp.UbY9vbuI2u/pipstrap.py”, line 158, in main
for path, digest in PACKAGES]
File “/tmp/tmp.UbY9vbuI2u/pipstrap.py”, line 117, in hashed_download
response = opener(using_https=parsed_url.scheme == ‘https’).open(url)
File “/usr/lib64/python2.7/urllib2.py”, line 429, in open
response = self._open(req, data)
File “/usr/lib64/python2.7/urllib2.py”, line 447, in _open
‘_open’, req)
File “/usr/lib64/python2.7/urllib2.py”, line 407, in _call_chain
result = func(*args)
File “/usr/lib64/python2.7/urllib2.py”, line 1241, in https_open
context=self._context)
File “/usr/lib64/python2.7/urllib2.py”, line 1198, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)>
My web server is (include version):
nginx
The operating system my web server runs on is (include version):
Ubuntu 18
I can login to a root shell on my machine (yes or no, or I don’t know):
yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot):
certbot 0.31.0
1 Like
_az
December 12, 2019, 10:39am
2
Here’s some initial debugging to try:
curl -X GET -I https://pypi.python.org
and
python -c 'import urllib2; urllib2.urlopen("https://pypi.python.org")'
If the first one succeeds and the second one fails with CERTIFICATE_VERIFY_FAILED
, try:
apt update && apt -y install ca-certificates
and then try everything again.
1 Like
Thank you so much for the quick response!
The response from the first call:
HTTP/2 301
server: Varnish
retry-after: 0
location: https://pypi.org/
content-type: text/html; charset=UTF-8
accept-ranges: bytes
date: Thu, 12 Dec 2019 11:47:45 GMT
x-served-by: cache-dub4333-DUB
x-cache: HIT
x-cache-hits: 0
x-timer: S1576151266.886643,VS0,VE0
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-frame-options: deny
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
content-length: 122
The second one failed indeed.
The third gave:
ca-certificates is already the newest version (20180409).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
still same result unfortunately
1 Like
_az
December 12, 2019, 8:43pm
4
Maybe
apt -y install --reinstall ca-certificates
As far as my understanding of Python goes, that package should be all that’s necessary to fix this problem.
Also, where did you install Python from? I notice that /usr/lib64/python2.7
is not exactly the standard path for Ubuntu Bionic. That could have something to do with it.
Thanks again!
I tried that before but it didn’t work unfortunately.
I guess based on your suggestion regarding Python I should try to uninstall it and install 2.7 again? Do you have a suggestion for any particular version and maybe method how to install?
_az
December 13, 2019, 9:38am
6
Perhaps it would help to know where your current Python installation came from:
dpkg-query -S /usr/lib64/python2.7/urllib2.py
right
ubuntu@ip-xxxxxx:~ dpkg-query -S /usr/lib64/python2.7/urllib2.py
dpkg-query: no path found matching pattern /usr/lib64/python2.7/urllib2.py
ubuntu@ip-xxxxxx:~ dpkg-query -S /usr/lib64/python2.7/urllib2
dpkg-query: no path found matching pattern /usr/lib64/python2.7/urllib2
I then ran:
dpkg-query -f ‘{Package}### {Version}\n’ -W
I got:
acl###2 .2.52-3build1
acpid###1:2 .0.28-1ubuntu1
adduser###3 .116ubuntu1
apache2###2 .4.29-1ubuntu4.11
apache2-bin###2 .4.29-1ubuntu4.11
apache2-data###2 .4.29-1ubuntu4.11
apache2-utils###2 .4.29-1ubuntu4.11
apparmor###2 .12-4ubuntu5.1
apport###2 .20.9-0ubuntu7.9
apport-symptoms###0 .20
apt###1 .6.12
apt-utils###1 .6.12
aspell###0 .60.7~20110707-4ubuntu0.1
aspell-en###2017 .08.24-0-0.1
at###3 .1.20-3.1ubuntu2
augeas-lenses###1 .10.1-2
autoconf###2 .69-11
autoconf2.13###2 .13-68
automake###1:1 .15.1-3ubuntu2
autotools-dev###20180224 .1
base-files###10 .1ubuntu2.7
base-passwd###3 .5.44
bash###4 .4.18-2ubuntu1.2
bash-completion###1:2 .8-1ubuntu1
bc###1 .07.1-2
bcache-tools###1 .0.8-2build1
bind9-host###1:9 .11.3+dfsg-1ubuntu1.11
binutils###2 .30-21ubuntu1~18.04.2
binutils-common###2 .30-21ubuntu1~18.04.2
binutils-x86-64-linux-gnu###2 .30-21ubuntu1~18.04.2
bison###2:3 .0.4.dfsg-1build1
bsdmainutils###11 .1.2ubuntu1
bsdutils###1:2 .31.1-0.4ubuntu3.4
btrfs-progs###4 .15.1-1build1
btrfs-tools###4 .15.1-1build1
build-essential###12 .4ubuntu1
busybox-initramfs###1:1 .27.2-2ubuntu3.2
busybox-static###1:1 .27.2-2ubuntu3.2
byobu###5 .125-0ubuntu1
bzip2###1 .0.6-8.1ubuntu0.2
bzip2-doc###1 .0.6-8.1ubuntu0.2
ca-certificates###20180409
certbot###0 .31.0-1+ubuntu18.04.1+certbot+1
cloud-guest-utils###0 .30-0ubuntu5
cloud-init###19 .2-36-g059d049c-0ubuntu2~18.04.1
cloud-initramfs-copymods###0 .40ubuntu1.1
cloud-initramfs-dyn-netconf###0 .40ubuntu1.1
cmake###3 .10.2-1ubuntu2.18.04.1
cmake-data###3 .10.2-1ubuntu2.18.04.1
comerr-dev###2 .1-1.44.1-1ubuntu1.2
command-not-found###18 .04.5
command-not-found-data###18 .04.5
console-setup###1 .178ubuntu2.9
console-setup-linux###1 .178ubuntu2.9
coreutils###8 .28-1ubuntu1
cpio###2 .12+dfsg-6ubuntu0.18.04.1
cpp###4:7 .4.0-1ubuntu2.3
cpp-7###7 .4.0-1ubuntu1~18.04.1
cron###3 .0pl1-128.1ubuntu1
cryptsetup###2:2 .0.2-1ubuntu1.1
cryptsetup-bin###2:2 .0.2-1ubuntu1.1
curl###7 .58.0-2ubuntu3.8
dash###0 .5.8-2.10
dbus###1 .12.2-1ubuntu1.1
debconf###1 .5.66ubuntu1
debconf-i18n###1 .5.66ubuntu1
debianutils###4 .8.4
dictionaries-common###1 .27.2
diffutils###1:3 .6-1
dirmngr###2 .2.4-1ubuntu1.2
distro-info-data###0 .37ubuntu0.6
dmeventd###2:1 .02.145-4.1ubuntu3.18.04.1
dmidecode###3 .1-1
dmsetup###2:1 .02.145-4.1ubuntu3.18.04.1
dns-root-data###2018013001
dnsmasq-base###2 .79-1
dnsutils###1:9 .11.3+dfsg-1ubuntu1.11
dosfstools###4 .1-1
dpkg###1 .19.0.5ubuntu2.3
dpkg-dev###1 .19.0.5ubuntu2.3
e2fsprogs###1 .44.1-1ubuntu1.2
eatmydata###105-6
ebtables###2 .0.10.4-3.5ubuntu2.18.04.3
ed###1 .10-2.1
eject###2 .1.5+deb1+cvs20081104-13.2
emacsen-common###2 .0.8
enchant###1 .6.0-11.1
ethtool###1:4 .15-0ubuntu1
fakeroot###1 .22-2ubuntu1
fdisk###2 .31.1-0.4ubuntu3.4
file###1:5 .32-2ubuntu0.3
findutils###4 .6.0+git+20170828-2
fontconfig-config###2 .12.6-0ubuntu2
fonts-dejavu-core###2 .37-1
fonts-ubuntu-console###0 .83-2
friendly-recovery###0 .2.38ubuntu1.1
ftp###0 .17-34
fuse###2 .9.7-1ubuntu1
g++###4:7 .4.0-1ubuntu2.3
g+±7###7 .4.0-1ubuntu1~18.04.1
gawk###1:4 .1.4+dfsg-1build1
gcc###4:7 .4.0-1ubuntu2.3
gcc-7###7 .4.0-1ubuntu1~18.04.1
gcc-7-base###7 .4.0-1ubuntu1~18.04.1
gcc-8-base###8 .3.0-6ubuntu1~18.04.1
gdisk###1 .0.3-1
geoip-database###20180315-1
gettext-base###0 .19.8.1-6ubuntu0.3
gir1.2-glib-2.0###1 .56.1-1
gir1.2-harfbuzz-0.0###1 .7.2-1ubuntu1
git###1:2 .17.1-1ubuntu0.5
git-man###1:2 .17.1-1ubuntu0.5
gnupg###2 .2.4-1ubuntu1.2
gnupg-l10n###2 .2.4-1ubuntu1.2
gnupg-utils###2 .2.4-1ubuntu1.2
gpg###2 .2.4-1ubuntu1.2
gpg-agent###2 .2.4-1ubuntu1.2
gpg-wks-client###2 .2.4-1ubuntu1.2
gpg-wks-server###2 .2.4-1ubuntu1.2
gpgconf###2 .2.4-1ubuntu1.2
gpgsm###2 .2.4-1ubuntu1.2
gpgv###2 .2.4-1ubuntu1.2
grep###3 .1-2build1
groff-base###1 .22.3-10
grub-common###2 .02-2ubuntu8.14
grub-gfxpayload-lists###0 .7
grub-legacy-ec2###1:1
grub-pc###2 .02-2ubuntu8.14
grub-pc-bin###2 .02-2ubuntu8.14
grub2-common###2 .02-2ubuntu8.14
guile-2.0-libs###2 .0.13+1-5ubuntu0.1
gzip###1 .6-5ubuntu1
hdparm###9 .54+ds-1
hibagent###1 .0.1-0ubuntu1
hostname###3 .20
htop###2 .1.0-3
hunspell-en-us###1:2017 .08.24
icu-devtools###60 .2-3ubuntu3
info###6 .5.0.dfsg.1-2
init###1 .51
init-system-helpers###1 .51
initramfs-tools###0 .130ubuntu3.9
initramfs-tools-bin###0 .130ubuntu3.9
initramfs-tools-core###0 .130ubuntu3.9
install-info###6 .5.0.dfsg.1-2
iproute2###4 .15.0-2ubuntu1
iptables###1 .6.1-2ubuntu2
iputils-ping###3:20161105-1ubuntu3
iputils-tracepath###3:20161105-1ubuntu3
irqbalance###1 .3.0-0.1ubuntu0.18.04.1
isc-dhcp-client###4 .3.5-3ubuntu7.1
isc-dhcp-common###4 .3.5-3ubuntu7.1
iso-codes###3 .79-1
javascript-common###11
kbd###2 .0.4-2ubuntu1
keyboard-configuration###1 .178ubuntu2.9
klibc-utils###2 .0.4-9ubuntu2
kmod###24-1ubuntu3 .2
krb5-locales###1 .16-2ubuntu0.1
krb5-multidev###1 .16-2ubuntu0.1
landscape-common###18 .01-0ubuntu3.4
language-selector-common###0 .188.3
less###487-0 .1
libaccountsservice0###0 .6.45-1ubuntu1
libacl1###2 .2.52-3build1
libaio-dev###0 .3.110-5ubuntu0.1
libaio1###0 .3.110-5ubuntu0.1
libalgorithm-diff-perl###1 .19.03-1
libalgorithm-diff-xs-perl###0 .04-5
libalgorithm-merge-perl###0 .08-3
libapparmor1###2 .12-4ubuntu5.1
libapr1###1 .6.3-2
libaprutil1###1 .6.1-2
libaprutil1-dbd-sqlite3###1 .6.1-2
libaprutil1-ldap###1 .6.1-2
libapt-inst2.0###1 .6.12
libapt-pkg5.0###1 .6.12
libarchive13###3 .2.2-3.1ubuntu0.5
libargon2-0###0~20161029-1.1
libasan4###7 .4.0-1ubuntu1~18.04.1
libasn1-8-heimdal###7 .5.0+dfsg-1
libaspell-dev###0 .60.7~20110707-4ubuntu0.1
libaspell15###0 .60.7~20110707-4ubuntu0.1
libassuan0###2 .5.1-2
libatm1###1:2 .5.1-2build1
libatomic1###8 .3.0-6ubuntu1~18.04.1
libattr1###1:2 .4.47-2build1
libaudit-common###1:2 .8.2-1ubuntu1
libaudit1###1:2 .8.2-1ubuntu1
libaugeas0###1 .10.1-2
libbind9-160###1:9 .11.3+dfsg-1ubuntu1.11
libbinutils###2 .30-21ubuntu1~18.04.2
libbison-dev###2:3 .0.4.dfsg-1build1
libblkid1###2 .31.1-0.4ubuntu3.4
libbsd0###0 .8.7-1
libbz2-1.0###1 .0.6-8.1ubuntu0.2
libbz2-dev###1 .0.6-8.1ubuntu0.2
libc-ares2###1 .14.0-1
libc-bin###2 .27-3ubuntu1
libc-dev-bin###2 .27-3ubuntu1
libc6###2 .27-3ubuntu1
libc6-dev###2 .27-3ubuntu1
libcap-ng0###0 .7.7-3.1
libcap2###1:2 .25-1.2
libcap2-bin###1:2 .25-1.2
libcc1-0###8 .3.0-6ubuntu1~18.04.1
libcilkrts5###7 .4.0-1ubuntu1~18.04.1
libcom-err2###1 .44.1-1ubuntu1.2
libcryptsetup12###2:2 .0.2-1ubuntu1.1
libcurl3-gnutls###7 .58.0-2ubuntu3.8
libcurl4###7 .58.0-2ubuntu3.8
libcurl4-gnutls-dev###7 .58.0-2ubuntu3.8
libdb5.3###5 .3.28-13.1ubuntu1.1
libdbus-1-3###1 .12.2-1ubuntu1.1
libdebconfclient0###0 .213ubuntu1
libdevmapper-event1.02.1###2:1 .02.145-4.1ubuntu3.18.04.1
libdevmapper1.02.1###2:1 .02.145-4.1ubuntu3.18.04.1
libdns-export1100###1:9 .11.3+dfsg-1ubuntu1.11
libdns1100###1:9 .11.3+dfsg-1ubuntu1.11
libdpkg-perl###1 .19.0.5ubuntu2.3
libdrm-common###2 .4.97-1ubuntu1~18.04.1
libdrm2###2 .4.97-1ubuntu1~18.04.1
libdumbnet1###1 .12-7build1
libeatmydata1###105-6
libedit2###3 .1-20170329-1
libelf1###0 .170-0.4ubuntu0.1
libenchant-dev###1 .6.0-11.1
libenchant1c2a###1 .6.0-11.1
liberror-perl###0 .17025-1
libestr0###0 .1.10-2.1
libevent-2.1-6###2 .1.8-stable-4build1
libexpat1###2 .2.5-3ubuntu0.2
libexpat1-dev###2 .2.5-3ubuntu0.2
libext2fs2###1 .44.1-1ubuntu1.2
libfakeroot###1 .22-2ubuntu1
libfastjson4###0 .99.8-2
libfdisk1###2 .31.1-0.4ubuntu3.4
libffi-dev###3 .2.1-8
libffi6###3 .2.1-8
libfile-fcntllock-perl###0 .22-3build2
libfontconfig1###2 .12.6-0ubuntu2
libfreetype6###2 .8.1-2ubuntu2
libfreetype6-dev###2 .8.1-2ubuntu2
libfribidi0###0 .19.7-2
libfuse2###2 .9.7-1ubuntu1
libgc1c2###1:7 .4.2-8ubuntu1
libgcc-7-dev###7 .4.0-1ubuntu1~18.04.1
libgcc1###1:8 .3.0-6ubuntu1~18.04.1
libgcrypt20###1 .8.1-4ubuntu1.1
libgd3###2 .2.5-4ubuntu0.3
libgdbm-compat4###1 .14.1-6
libgdbm5###1 .14.1-6
libgeoip1###1 .6.12-1
libgirepository-1.0-1###1 .56.1-1
libglib2.0-0###2 .56.4-0ubuntu0.18.04.4
libglib2.0-bin###2 .56.4-0ubuntu0.18.04.4
libglib2.0-data###2 .56.4-0ubuntu0.18.04.4
libglib2.0-dev###2 .56.4-0ubuntu0.18.04.4
libglib2.0-dev-bin###2 .56.4-0ubuntu0.18.04.4
libgmp-dev###2:6 .1.2+dfsg-2
libgmp10###2:6 .1.2+dfsg-2
libgmpxx4ldbl###2:6 .1.2+dfsg-2
libgnutls30###3 .5.18-1ubuntu1.1
libgomp1###8 .3.0-6ubuntu1~18.04.1
libgpg-error0###1 .27-6
libgpm2###1 .20.7-5
libgraphite2-3###1 .3.11-2
libgraphite2-dev###1 .3.11-2
libgsasl7###1 .8.0-8ubuntu3
libgssapi-krb5-2###1 .16-2ubuntu0.1
libgssapi3-heimdal###7 .5.0+dfsg-1
libgssrpc4###1 .16-2ubuntu0.1
libharfbuzz-dev###1 .7.2-1ubuntu1
libharfbuzz-gobject0###1 .7.2-1ubuntu1
libharfbuzz-icu0###1 .7.2-1ubuntu1
libharfbuzz0b###1 .7.2-1ubuntu1
libhcrypto4-heimdal###7 .5.0+dfsg-1
libheimbase1-heimdal###7 .5.0+dfsg-1
libheimntlm0-heimdal###7 .5.0+dfsg-1
libhogweed4###3 .4-1
libhttp-parser2.7.1###2 .7.1-2
libhunspell-1.6-0###1 .6.2-1
libhx509-5-heimdal###7 .5.0+dfsg-1
libicu-dev###60 .2-3ubuntu3
libicu-le-hb-dev###1 .0.3+git161113-4
libicu-le-hb0###1 .0.3+git161113-4
libicu60###60 .2-3ubuntu3
libiculx60###60 .2-3ubuntu3
libidn11###1 .33-2.1ubuntu1.2
libidn2-0###2 .0.4-1.1ubuntu0.2
libip4tc0###1 .6.1-2ubuntu2
libip6tc0###1 .6.1-2ubuntu2
libiptc0###1 .6.1-2ubuntu2
libirs160###1:9 .11.3+dfsg-1ubuntu1.11
libisc-export169###1:9 .11.3+dfsg-1ubuntu1.11
libisc169###1:9 .11.3+dfsg-1ubuntu1.11
libisccc160###1:9 .11.3+dfsg-1ubuntu1.11
libisccfg160###1:9 .11.3+dfsg-1ubuntu1.11
libisl19###0 .19-1
libisns0###0 .97-2build1
libitm1###8 .3.0-6ubuntu1~18.04.1
libjansson-dev###2 .11-1
libjansson4###2 .11-1
libjbig0###2 .1-3.1build1
libjpeg-dev###8c-2ubuntu8
libjpeg-turbo8###1 .5.2-0ubuntu5.18.04.3
libjpeg-turbo8-dev###1 .5.2-0ubuntu5.18.04.3
libjpeg8###8c-2ubuntu8
libjpeg8-dev###8c-2ubuntu8
libjson-c3###0 .12.1-1.3
libjsoncpp1###1 .7.4-3
libk5crypto3###1 .16-2ubuntu0.1
libkadm5clnt-mit11###1 .16-2ubuntu0.1
libkadm5srv-mit11###1 .16-2ubuntu0.1
libkdb5-9###1 .16-2ubuntu0.1
libkeyutils1###1 .5.9-9.2ubuntu2
libklibc###2 .0.4-9ubuntu2
libkmod2###24-1ubuntu3 .2
libkrb5-26-heimdal###7 .5.0+dfsg-1
libkrb5-3###1 .16-2ubuntu0.1
libkrb5-dev###1 .16-2ubuntu0.1
libkrb5support0###1 .16-2ubuntu0.1
libksba8###1 .3.5-2
libkyotocabinet16v5###1 .2.76-4.2
libldap-2.4-2###2 .4.45+dfsg-1ubuntu1.4
libldap-common###2 .4.45+dfsg-1ubuntu1.4
libldap2-dev###2 .4.45+dfsg-1ubuntu1.4
libldb-dev###2:1 .2.3-1ubuntu0.1
libldb1###2:1 .2.3-1ubuntu0.1
liblocale-gettext-perl###1 .07-3build2
liblsan0###8 .3.0-6ubuntu1~18.04.1
libltdl-dev###2 .4.6-2
libltdl7###2 .4.6-2
liblua5.2-0###5 .2.4-1.1build1
liblvm2app2.2###2 .02.176-4.1ubuntu3.18.04.1
liblvm2cmd2.02###2 .02.176-4.1ubuntu3.18.04.1
liblwres160###1:9 .11.3+dfsg-1ubuntu1.11
liblxc-common###3 .0.3-0ubuntu1~18.04.1
liblxc1###3 .0.3-0ubuntu1~18.04.1
liblz4-1###0 .0~r131-2ubuntu3
liblzma5###5 .2.2-1.3
liblzo2-2###2 .08-1.2
libmagic-mgc###1:5 .32-2ubuntu0.3
libmagic1###1:5 .32-2ubuntu0.3
libmailutils5###1:3 .4-1
libmcrypt-dev###2 .5.8-3.3
libmcrypt4###2 .5.8-3.3
libmemcached11###1 .0.18-4.2ubuntu0.18.04.1
libmhash-dev###0 .9.9.9-7
libmhash2###0 .9.9.9-7
libmnl0###1 .0.4-2
libmount1###2 .31.1-0.4ubuntu3.4
libmpc3###1 .1.0-1
libmpdec2###2 .4.2-1ubuntu1
libmpfr6###4 .0.1-1
libmpx2###8 .3.0-6ubuntu1~18.04.1
libmspack0###0 .6-3ubuntu0.3
libmysqlclient20###5 .7.28-0ubuntu0.18.04.4
libncurses5###6 .1-1ubuntu1.18.04
libncurses5-dev###6 .1-1ubuntu1.18.04
libncursesw5###6 .1-1ubuntu1.18.04
libnetfilter-conntrack3###1 .0.6-2
libnettle6###3 .4-1
libnewt0.52###0 .52.20-1ubuntu1
libnfnetlink0###1 .0.1-3
libnghttp2-14###1 .30.0-1ubuntu1
libnginx-mod-http-geoip###1 .14.0-0ubuntu1.6
libnginx-mod-http-image-filter###1 .14.0-0ubuntu1.6
libnginx-mod-http-xslt-filter###1 .14.0-0ubuntu1.6
libnginx-mod-mail###1 .14.0-0ubuntu1.6
libnginx-mod-stream###1 .14.0-0ubuntu1.6
libnih1###1 .0.3-6ubuntu2
libnpth0###1 .5-3
libnss-systemd###237-3ubuntu10 .33
libntfs-3g88###1:2017 .3.23-2ubuntu0.18.04.2
libntlm0###1 .4-8
libnuma1###2 .0.11-2.1ubuntu0.1
libodbc1###2 .3.4-1.1ubuntu3
libp11-kit0###0 .23.9-2
libpam-cap###1:2 .25-1.2
libpam-modules###1 .1.8-3.6ubuntu2.18.04.1
libpam-modules-bin###1 .1.8-3.6ubuntu2.18.04.1
libpam-runtime###1 .1.8-3.6ubuntu2.18.04.1
libpam-systemd###237-3ubuntu10 .33
libpam0g###1 .1.8-3.6ubuntu2.18.04.1
libpam0g-dev###1 .1.8-3.6ubuntu2.18.04.1
libparted2###3 .2-20ubuntu0.2
libpcap0.8###1 .8.1-6ubuntu1.18.04.1
libpci3###1:3 .5.2-1ubuntu1.1
libpcre16-3###2:8 .39-9
libpcre3###2:8 .39-9
libpcre3-dev###2:8 .39-9
libpcre32-3###2:8 .39-9
libpcrecpp0v5###2:8 .39-9
libperl5.26###5 .26.1-6ubuntu0.3
libpipeline1###1 .5.0-1
libplymouth4###0 .9.3-1ubuntu7.18.04.2
libpng-dev###1 .6.34-1ubuntu0.18.04.2
libpng-tools###1 .6.34-1ubuntu0.18.04.2
libpng16-16###1 .6.34-1ubuntu0.18.04.2
libpolkit-agent-1-0###0 .105-20ubuntu0.18.04.5
libpolkit-backend-1-0###0 .105-20ubuntu0.18.04.5
libpolkit-gobject-1-0###0 .105-20ubuntu0.18.04.5
libpopt0###1 .16-11
libprocps6###2:3 .3.12-3ubuntu1.2
libpsl5###0 .19.1-5build1
libpspell-dev###0 .60.7~20110707-4ubuntu0.1
libpthread-stubs0-dev###0 .3-4
libpython-dev###2 .7.15~rc1-1
libpython-stdlib###2 .7.15~rc1-1
libpython2.7###2 .7.15-4ubuntu4~18.04.2
libpython2.7-dev###2 .7.15-4ubuntu4~18.04.2
libpython2.7-minimal###2 .7.15-4ubuntu4~18.04.2
libpython2.7-stdlib###2 .7.15-4ubuntu4~18.04.2
libpython3-stdlib###3 .6.7-1~18.04
libpython3.6###3 .6.9-1~18.04
libpython3.6-minimal###3 .6.9-1~18.04
libpython3.6-stdlib###3 .6.9-1~18.04
libquadmath0###8 .3.0-6ubuntu1~18.04.1
libreadline-dev###7 .0-3
libreadline5###5 .2+dfsg-3build1
libreadline7###7 .0-3
librhash0###1 .3.6-2
libroken18-heimdal###7 .5.0+dfsg-1
librtmp1###2 .4+20151223.gitfa8646d.1-1
libsasl2-2###2 .1.27~101-g0780600+dfsg-3ubuntu2
libsasl2-dev###2 .1.27~101-g0780600+dfsg-3ubuntu2
libsasl2-modules###2 .1.27~101-g0780600+dfsg-3ubuntu2
libsasl2-modules-db###2 .1.27~101-g0780600+dfsg-3ubuntu2
libsasl2-modules-ldap###2 .1.27~101-g0780600+dfsg-3ubuntu2
libseccomp2###2 .4.1-0ubuntu0.18.04.2
libselinux1###2 .7-2build2
libsemanage-common###2 .7-2build2
libsemanage1###2 .7-2build2
libsensors4###1:3 .4.0-4
libsepol1###2 .7-1
libsigsegv2###2 .12-1
libslang2###2 .3.1a-3ubuntu1
libsmartcols1###2 .31.1-0.4ubuntu3.4
libsnmp-base###5 .7.3+dfsg-1.8ubuntu3.3
libsnmp-dev###5 .7.3+dfsg-1.8ubuntu3.1
libsnmp30###5 .7.3+dfsg-1.8ubuntu3.3
libsodium23###1 .0.16-2
libsqlite3-0###3 .22.0-1ubuntu0.2
libss2###1 .44.1-1ubuntu1.2
libssl-dev###1 .1.1-1ubuntu2.1~18.04.5
libssl1.0.0###1 .0.2n-1ubuntu5.3
libssl1.1###1 .1.1-1ubuntu2.1~18.04.5
libstdc+±7-dev###7 .4.0-1ubuntu1~18.04.1
libstdc++6###8 .3.0-6ubuntu1~18.04.1
libsystemd0###237-3ubuntu10 .33
libtalloc-dev###2 .1.10-2ubuntu1
libtalloc2###2 .1.10-2ubuntu1
libtasn1-6###4 .13-2
libtdb-dev###1 .3.15-2
libtdb1###1 .3.15-2
libtevent0###0 .9.34-1
libtext-charwidth-perl###0 .04-7.1
libtext-iconv-perl###1 .7-5build6
libtext-wrapi18n-perl###0 .06-7.1
libtidy-dev###1:5 .2.0-2
libtidy5###1:5 .2.0-2
libtiff5###4 .0.9-5ubuntu0.3
libtinfo-dev###6 .1-1ubuntu1.18.04
libtinfo5###6 .1-1ubuntu1.18.04
libtool###2 .4.6-2
libtsan0###8 .3.0-6ubuntu1~18.04.1
libubsan0###7 .4.0-1ubuntu1~18.04.1
libudev-dev###237-3ubuntu10 .19
libudev1###237-3ubuntu10 .33
libunistring2###0 .9.9-0ubuntu2
libunwind8###1 .2.1-8
libusb-1.0-0###2:1 .0.21-2
libutempter0###1 .1.6-3
libuuid1###2 .31.1-0.4ubuntu3.4
libuv1###1 .18.0-3
libvpx-dev###1 .7.0-3ubuntu0.18.04.1
libvpx5###1 .7.0-3ubuntu0.18.04.1
libwebp-dev###0 .6.1-2
libwebp6###0 .6.1-2
libwebpdemux2###0 .6.1-2
libwebpmux3###0 .6.1-2
libwind0-heimdal###7 .5.0+dfsg-1
libwrap0###7 .6.q-27
libx11-6###2:1 .6.4-3ubuntu0.2
libx11-data###2:1 .6.4-3ubuntu0.2
libx11-dev###2:1 .6.4-3ubuntu0.2
libx11-doc###2:1 .6.4-3ubuntu0.2
libxau-dev###1:1 .0.8-1
libxau6###1:1 .0.8-1
libxcb1###1 .13-2~ubuntu18.04
libxcb1-dev###1 .13-2~ubuntu18.04
libxdmcp-dev###1:1 .1.2-3
libxdmcp6###1:1 .1.2-3
libxext6###2:1 .3.3-1
libxml2###2 .9.4+dfsg1-6.1ubuntu1.2
libxml2-dev###2 .9.4+dfsg1-6.1ubuntu1.2
libxmlrpc-epi0###0 .54.2-1.2
libxmlsec1###1 .2.25-1build1
libxmlsec1-openssl###1 .2.25-1build1
libxmuu1###2:1 .1.2-2
libxpm-dev###1:3 .5.12-1
libxpm4###1:3 .5.12-1
libxslt1-dev###1 .1.29-5ubuntu0.2
libxslt1.1###1 .1.29-5ubuntu0.2
libxtables12###1 .6.1-2ubuntu2
libyaml-0-2###0 .1.7-2ubuntu3
libzip-dev###1 .1.2-1.1
libzip4###1 .1.2-1.1
libzstd1###1 .3.3+dfsg-2ubuntu1.1
linux-aws###4 .15.0.1056.57
linux-aws-headers-4.15.0-1021###4 .15.0-1021.21
linux-aws-headers-4.15.0-1031###4 .15.0-1031.33
linux-aws-headers-4.15.0-1054###4 .15.0-1054.56
linux-aws-headers-4.15.0-1056###4 .15.0-1056.58
linux-base###4 .5ubuntu1
linux-headers-4.15.0-1021-aws###4 .15.0-1021.21
linux-headers-4.15.0-1031-aws###4 .15.0-1031.33
linux-headers-4.15.0-1054-aws###4 .15.0-1054.56
linux-headers-4.15.0-1056-aws###4 .15.0-1056.58
linux-headers-aws###4 .15.0.1056.57
linux-image-4.15.0-1021-aws###4 .15.0-1021.21
linux-image-4.15.0-1031-aws###4 .15.0-1031.33
linux-image-4.15.0-1032-aws###4 .15.0-1032.34
linux-image-4.15.0-1033-aws###4 .15.0-1033.35
linux-image-4.15.0-1034-aws###4 .15.0-1034.36
linux-image-4.15.0-1035-aws###4 .15.0-1035.37
linux-image-4.15.0-1039-aws###4 .15.0-1039.41
linux-image-4.15.0-1040-aws###4 .15.0-1040.42
linux-image-4.15.0-1041-aws###4 .15.0-1041.43
linux-image-4.15.0-1043-aws###4 .15.0-1043.45
linux-image-4.15.0-1044-aws###4 .15.0-1044.46
linux-image-4.15.0-1045-aws###4 .15.0-1045.47
linux-image-4.15.0-1047-aws###4 .15.0-1047.49
linux-image-4.15.0-1048-aws###4 .15.0-1048.50
linux-image-4.15.0-1050-aws###4 .15.0-1050.52
linux-image-4.15.0-1051-aws###4 .15.0-1051.53
linux-image-4.15.0-1052-aws###4 .15.0-1052.54
linux-image-4.15.0-1054-aws###4 .15.0-1054.56
linux-image-4.15.0-1056-aws###4 .15.0-1056.58
linux-image-aws###4 .15.0.1056.57
linux-libc-dev###4 .15.0-72.81
linux-modules-4.15.0-1021-aws###4 .15.0-1021.21
linux-modules-4.15.0-1031-aws###4 .15.0-1031.33
linux-modules-4.15.0-1032-aws###4 .15.0-1032.34
linux-modules-4.15.0-1033-aws###4 .15.0-1033.35
linux-modules-4.15.0-1034-aws###4 .15.0-1034.36
linux-modules-4.15.0-1035-aws###4 .15.0-1035.37
linux-modules-4.15.0-1039-aws###4 .15.0-1039.41
linux-modules-4.15.0-1040-aws###4 .15.0-1040.42
linux-modules-4.15.0-1041-aws###4 .15.0-1041.43
linux-modules-4.15.0-1043-aws###4 .15.0-1043.45
linux-modules-4.15.0-1044-aws###4 .15.0-1044.46
linux-modules-4.15.0-1045-aws###4 .15.0-1045.47
linux-modules-4.15.0-1047-aws###4 .15.0-1047.49
linux-modules-4.15.0-1048-aws###4 .15.0-1048.50
linux-modules-4.15.0-1050-aws###4 .15.0-1050.52
linux-modules-4.15.0-1051-aws###4 .15.0-1051.53
linux-modules-4.15.0-1052-aws###4 .15.0-1052.54
linux-modules-4.15.0-1054-aws###4 .15.0-1054.56
linux-modules-4.15.0-1056-aws###4 .15.0-1056.58
locales###2 .27-3ubuntu1
login###1:4 .5-1ubuntu2
logrotate###3 .11.0-0.1ubuntu1
lsb-base###9 .20170808ubuntu1
lsb-release###9 .20170808ubuntu1
lshw###02 .18-0.1ubuntu6.18.04.1
lsof###4 .89+dfsg-0.1
ltrace###0 .7.3-6ubuntu1
lua-expat###1 .3.0-4
lua-expat-dev###1 .3.0-4
lvm2###2 .02.176-4.1ubuntu3.18.04.1
lxcfs###3 .0.3-0ubuntu1~18.04.1
lxd###3 .0.3-0ubuntu1~18.04.1
lxd-client###3 .0.3-0ubuntu1~18.04.1
lynx###2 .8.9dev16-3
lynx-common###2 .8.9dev16-3
m4###1 .4.18-1
mailutils###1:3 .4-1
mailutils-common###1:3 .4-1
make###4 .1-9.1ubuntu1
man-db###2 .8.3-2ubuntu0.1
manpages###4 .15-1
manpages-dev###4 .15-1
mawk###1 .3.3-17ubuntu3
mdadm###4 .1~rc1-3~ubuntu18.04.2
memcached###1 .5.6-0ubuntu1.2
mime-support###3 .60ubuntu1
mlocate###0 .26-2ubuntu3.1
mount###2 .31.1-0.4ubuntu3.4
mtr-tiny###0 .92-1
multiarch-support###2 .27-3ubuntu1
mysql-common###5 .8+1.0.4
nano###2 .9.3-2
ncurses-base###6 .1-1ubuntu1.18.04
ncurses-bin###6 .1-1ubuntu1.18.04
ncurses-term###6 .1-1ubuntu1.18.04
net-tools###1 .60+git20161116.90da8a0-1ubuntu1
netbase###5 .4
netcat-openbsd###1 .187-1ubuntu0.1
netplan.io###0.98-0ubuntu1~18.04.1
networkd-dispatcher###1 .7-0ubuntu3.3
nginx###1 .14.0-0ubuntu1.6
nginx-common###1 .14.0-0ubuntu1.6
nginx-core###1 .14.0-0ubuntu1.6
nodejs###8 .10.0~dfsg-2ubuntu0.4
nodejs-doc###8 .10.0~dfsg-2ubuntu0.4
nplan###0 .98-0ubuntu1~18.04.1
ntfs-3g###1:2017 .3.23-2ubuntu0.18.04.2
ntpdate###1:4 .2.8p10+dfsg-5ubuntu7.1
numactl###2 .0.11-2.1ubuntu0.1
odbcinst###2 .3.4-1.1ubuntu3
odbcinst1debian2###2 .3.4-1.1ubuntu3
open-iscsi###2 .0.874-5ubuntu2.7
open-vm-tools###2:10 .3.10-1~ubuntu0.18.04.1
openssh-client###1:7 .6p1-4ubuntu0.3
openssh-server###1:7 .6p1-4ubuntu0.3
openssh-sftp-server###1:7 .6p1-4ubuntu0.3
openssl###1 .1.1-1ubuntu2.1~18.04.5
os-prober###1 .74ubuntu1
overlayroot###0 .40ubuntu1.1
parted###3 .2-20ubuntu0.2
passwd###1:4 .5-1ubuntu2
pastebinit###1 .5-2
patch###2 .7.6-2ubuntu1.1
pciutils###1:3 .5.2-1ubuntu1.1
perl###5 .26.1-6ubuntu0.3
perl-base###5 .26.1-6ubuntu0.3
perl-modules-5.26###5 .26.1-6ubuntu0.3
php-common###1:60ubuntu1
php-igbinary###2 .0.5-1build1
php-memcached###3 .0.1+2.2.0-1build2
php-msgpack###2 .0.2+0.5.7-2build1
php7.2-cli###7 .2.24-0ubuntu0.18.04.1
php7.2-common###7 .2.24-0ubuntu0.18.04.1
php7.2-curl###7 .2.24-0ubuntu0.18.04.1
php7.2-fpm###7 .2.24-0ubuntu0.18.04.1
php7.2-gd###7 .2.24-0ubuntu0.18.04.1
php7.2-intl###7 .2.24-0ubuntu0.18.04.1
php7.2-json###7 .2.24-0ubuntu0.18.04.1
php7.2-mbstring###7 .2.24-0ubuntu0.18.04.1
php7.2-mysql###7 .2.24-0ubuntu0.18.04.1
php7.2-opcache###7 .2.24-0ubuntu0.18.04.1
php7.2-readline###7 .2.24-0ubuntu0.18.04.1
php7.2-xml###7 .2.24-0ubuntu0.18.04.1
php7.2-xmlrpc###7 .2.24-0ubuntu0.18.04.1
php7.2-zip###7 .2.24-0ubuntu0.18.04.1
pinentry-curses###1 .1.0-1
pkg-config###0 .29.1-0ubuntu2
plymouth###0 .9.3-1ubuntu7.18.04.2
plymouth-theme-ubuntu-text###0 .9.3-1ubuntu7.18.04.2
policykit-1###0 .105-20ubuntu0.18.04.5
pollinate###4 .33-0ubuntu1~18.04.1
popularity-contest###1 .66ubuntu1
postfix###3 .3.0-1ubuntu0.2
powermgmt-base###1 .33
procmail###3 .22-26
procps###2:3 .3.12-3ubuntu1.2
psmisc###23 .1-1ubuntu0.1
publicsuffix###20180223 .1310-1
python###2 .7.15~rc1-1
python-apt-common###1 .6.4
python-certbot-apache###0 .31.0-1+ubuntu18.04.1+certbot+1
python-dev###2 .7.15~rc1-1
python-minimal###2 .7.15~rc1-1
python-pip-whl###9 .0.1-2.3~ubuntu1.18.04.1
python-pkg-resources###39 .0.1-2
python-virtualenv###15 .1.0+ds-1.1
python2.7###2 .7.15-4ubuntu4~18.04.2
python2.7-dev###2 .7.15-4ubuntu4~18.04.2
python2.7-minimal###2 .7.15-4ubuntu4~18.04.2
python3###3 .6.7-1~18.04
python3-acme###0 .31.0-2+ubuntu18.04.3+certbot+2
python3-apport###2 .20.9-0ubuntu7.9
python3-apt###1 .6.4
python3-asn1crypto###0 .24.0-1
python3-attr###17 .4.0-2
python3-augeas###0 .5.0-1+ubuntu18.04.1+certbot+1
python3-automat###0 .6.0-1
python3-blinker###1 .4+dfsg1-0.1
python3-certbot###0 .31.0-1+ubuntu18.04.1+certbot+1
python3-certbot-apache###0 .31.0-1+ubuntu18.04.1+certbot+1
python3-certifi###2018 .1.18-2
python3-cffi-backend###1 .11.5-1
python3-chardet###3 .0.4-1
python3-click###6 .7-3
python3-colorama###0 .3.7-1
python3-commandnotfound###18 .04.5
python3-configargparse###0 .11.0-1
python3-configobj###5 .0.6-2+ubuntu18.04.1+certbot+1
python3-constantly###15 .1.0-1
python3-cryptography###2 .1.4-1ubuntu1.3
python3-dbus###1 .2.6-1
python3-debconf###1 .5.66ubuntu1
python3-debian###0 .1.32
python3-distro-info###0 .18ubuntu0.18.04.1
python3-distupgrade###1:18 .04.36
python3-distutils###3 .6.9-1~18.04
python3-future###0 .15.2-4+ubuntu18.04.1+certbot+3
python3-gdbm###3 .6.9-1~18.04
python3-gi###3 .26.1-2ubuntu1
python3-httplib2###0 .9.2+dfsg-1ubuntu0.1
python3-hyperlink###17 .3.1-2
python3-icu###1 .9.8-0ubuntu1
python3-idna###2 .6-1
python3-incremental###16 .10.1-3
python3-jinja2###2 .10-1ubuntu0.18.04.1
python3-josepy###1 .1.0-2+ubuntu18.04.1+certbot+1
python3-json-pointer###1 .10-1
python3-jsonpatch###1 .19+really1.16-1fakesync1
python3-jsonschema###2 .6.0-2
python3-jwt###1 .5.3+ds1-1
python3-lib2to3###3 .6.9-1~18.04
python3-markupsafe###1 .0-1build1
python3-minimal###3 .6.7-1~18.04
python3-mock###2 .0.0-3
python3-ndg-httpsclient###0 .4.4-1
python3-netifaces###0 .10.4-0.1build4
python3-newt###0 .52.20-1ubuntu1
python3-oauthlib###2 .0.6-1
python3-openssl###17 .5.0-1ubuntu1
python3-pam###0 .4.2-13.2ubuntu4
python3-parsedatetime###2 .4-3+ubuntu18.04.1+certbot+3
python3-pbr###3 .1.1-3ubuntu3
python3-pkg-resources###39 .0.1-2
python3-problem-report###2 .20.9-0ubuntu7.9
python3-pyasn1###0 .4.2-3
python3-pyasn1-modules###0 .2.1-0.2
python3-requests###2 .18.4-2ubuntu0.1
python3-requests-toolbelt###0 .8.0-1+ubuntu18.04.1+certbot+1
python3-requests-unixsocket###0 .1.5-3
python3-rfc3339###1 .0-4
python3-serial###3 .4-2
python3-service-identity###16 .0.0-2
python3-six###1 .11.0-2
python3-software-properties###0 .96.24.32.11
python3-systemd###234-1build1
python3-twisted###17 .9.0-2
python3-twisted-bin###17 .9.0-2
python3-tz###2018 .3-2
python3-update-manager###1:18 .04.11.10
python3-urllib3###1 .22-1ubuntu0.18.04.1
python3-virtualenv###15 .1.0+ds-1.1
python3-yaml###3 .12-1build2
python3-zope.component###4 .3.0-1+ubuntu18.04.1+certbot+3
python3-zope.event###4 .2.0-1
python3-zope.hookable###4 .0.4-4+ubuntu18.04.1+certbot+1
python3-zope.interface###4 .3.2-1+ubuntu18.04.1+certbot+1
python3.6###3 .6.9-1~18.04
python3.6-minimal###3 .6.9-1~18.04
readline-common###7 .0-3
rsync###3 .1.2-2.1ubuntu1
rsyslog###8 .32.0-1ubuntu4
run-one###1 .17-0ubuntu1
screen###4 .6.2-1ubuntu1
sed###4 .4-2
sendmail-base###8 .15.2-10
sendmail-bin###8 .15.2-10
sendmail-cf###8 .15.2-10
sensible-utils###0 .0.12
shared-mime-info###1 .9-2
snapd###2 .42.1+18.04
snmp###5 .7.3+dfsg-1.8ubuntu3.3
software-properties-common###0 .96.24.32.11
sosreport###3 .6-1ubuntu0.18.04.4
squashfs-tools###1:4 .3-6ubuntu0.18.04.1
ssh-import-id###5 .7-0ubuntu1.1
ssl-cert###1 .0.39
strace###4 .21-1ubuntu1
sudo###1 .8.21p2-3ubuntu1.1
systemd###237-3ubuntu10 .33
systemd-sysv###237-3ubuntu10 .33
sysvinit-utils###2 .88dsf-59.10ubuntu1
tar###1 .29b-2ubuntu0.1
tcpdump###4 .9.2-3
telnet###0 .17-41
time###1 .7-25.1build1
tmux###2 .6-3ubuntu0.2
tzdata###2019c-0ubuntu0 .18.04
ubuntu-advantage-tools###17
ubuntu-keyring###2018 .09.18.1~18.04.0
ubuntu-minimal###1 .417.3
ubuntu-release-upgrader-core###1:18 .04.36
ubuntu-server###1 .417.3
ubuntu-standard###1 .417.3
ucf###3 .0038
udev###237-3ubuntu10 .33
ufw###0 .36-0ubuntu0.18.04.1
uidmap###1:4 .5-1ubuntu2
unattended-upgrades###1 .1ubuntu1.18.04.13
unixodbc-dev###2 .3.4-1.1ubuntu3
unzip###6 .0-21ubuntu1
update-manager-core###1:18 .04.11.10
update-notifier-common###3 .192.1.7
ureadahead###0 .100.0-21
usbutils###1:007-4build1
util-linux###2 .31.1-0.4ubuntu3.4
uuid-runtime###2 .31.1-0.4ubuntu3.4
vim###2:8 .0.1453-1ubuntu1.1
vim-common###2:8 .0.1453-1ubuntu1.1
vim-runtime###2:8 .0.1453-1ubuntu1.1
vim-tiny###2:8 .0.1453-1ubuntu1.1
virtualenv###15 .1.0+ds-1.1
wget###1 .19.4-1ubuntu2.2
whiptail###0 .52.20-1ubuntu1
x11proto-core-dev###2018 .4-4
x11proto-dev###2018 .4-4
xauth###1:1 .0.10-1
xdelta3###3 .0.11-dfsg-1ubuntu1
xdg-user-dirs###0 .17-1ubuntu1
xfsprogs###4 .9.0+nmu1ubuntu2
xkb-data###2 .23.1-1ubuntu1.18.04.1
xorg-sgml-doctools###1:1 .11-1
xtrans-dev###1 .3.5-1
xxd###2:8 .0.1453-1ubuntu1.1
xz-utils###5 .2.2-1.3
zerofree###1 .0.4-1
zlib1g###1:1 .2.11.dfsg-0ubuntu2
zlib1g-dev###1:1 .2.11.dfsg-0ubuntu2
_az
December 13, 2019, 9:56am
8
I think you have two Python installations.
System one in /usr/bin/python
, and a foreign one in /usr/local/bin/python
.
When Certbot runs, it is using the second one, which for some reason cannot find your system’s CA certificate store.
What if you try this:
export LE_PYTHON=/usr/bin/python
sudo -E /usr/local/bin/certbot-auto --version
sorry, that gave me the following
ubuntu@ip-172-31-xxxx~$ export LE_PYTHON=/usr/bin/python
ubuntu@ip-172-31-xxxx:~$ sudo -E /usr/local/bin/certbot-auto --version
Bootstrapping dependencies for Debian-based OSes... (you can skip this with --no-bootstrap)
Hit:1 Index of /ubuntu bionic InRelease
Hit:2 Index of /ubuntu bionic-updates InRelease
Get:3 Index of /ubuntu bionic-backports InRelease [74.6 kB]
Hit:4 Index of /certbot/certbot/ubuntu bionic InRelease
Hit:5 Index of /ubuntu bionic-security InRelease
Fetched 74.6 kB in 1s (104 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
augeas-lenses is already the newest version (1.10.1-2).
ca-certificates is already the newest version (20180409).
libaugeas0 is already the newest version (1.10.1-2).
libffi-dev is already the newest version (3.2.1-8).
python is already the newest version (2.7.15~rc1-1).
python-dev is already the newest version (2.7.15~rc1-1).
python-virtualenv is already the newest version (15.1.0+ds-1.1).
virtualenv is already the newest version (15.1.0+ds-1.1).
gcc is already the newest version (4:7.4.0-1ubuntu2.3).
libssl-dev is already the newest version (1.1.1-1ubuntu2.1~18.04.5).
openssl is already the newest version (1.1.1-1ubuntu2.1~18.04.5).
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
WARNING: unable to check for updates.
Creating virtual environment...
Installing Python packages...
Traceback (most recent call last):
File "/tmp/tmp.QGXnSxik30/pipstrap.py", line 177, in
sys.exit(main())
File "/tmp/tmp.QGXnSxik30/pipstrap.py", line 158, in main
for path, digest in PACKAGES]
File "/tmp/tmp.QGXnSxik30/pipstrap.py", line 117, in hashed_download
response = opener(using_https=parsed_url.scheme == 'https').open(url)
File "/usr/lib64/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/usr/lib64/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)>
_az
December 13, 2019, 11:08am
10
. It’s still using the wrong Python for some reason. I don’t really understand why.
Why are you using certbot-auto
anyway? The official instructions for Ubuntu Bionic are to install it from the PPA (https://certbot.eff.org/lets-encrypt/ubuntubionic-nginx ) - which would also quite likely avoid this whole mess.
1 Like
ahhh that worked perfectly, thank you! Not sure how I got to the other way of adding the certs.
thank you so much again!
1 Like
system
Closed
January 12, 2020, 12:49pm
12
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.