Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
I was trying to apply ssl certifcate for my web from https://certbot.eff.org/lets-encrypt/ubuntubionic-nginx tutorial, however it output some error when I ran this commad: sudo certbot --nginx
,
My domain is:ess.simplo.com.tw
I ran this command:
sudo certbot --nginx
It produced this output:
Authenticating with public key “imported-openssh-key”
ubuntu@ip-172-31-13-126:~
$ sudo certbot --nginx
Traceback (most recent call last):
File “/usr/bin/certbot”, line 11, in
load_entry_point(‘certbot==0.31.0’, ‘console_scripts’, ‘certbot’)()
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 480, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 2693, in load_entry_point
return ep.load()
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 2324, in load
return self.resolve()
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 2330, in resolve
module = import(self.module_name, fromlist=[‘name’], level=0)
File “/usr/lib/python3/dist-packages/certbot/main.py”, line 10, in
import josepy as jose
File “/usr/lib/python3/dist-packages/josepy/init.py”, line 44, in
from josepy.interfaces import JSONDeSerializable
File “/usr/lib/python3/dist-packages/josepy/interfaces.py”, line 8, in
from josepy import errors, util
File “/usr/lib/python3/dist-packages/josepy/util.py”, line 4, in
import OpenSSL
File “/home/ubuntu/.local/lib/python3.6/site-packages/OpenSSL/init.py”, line 8, in
from OpenSSL import crypto, SSL
File “/home/ubuntu/.local/lib/python3.6/site-packages/OpenSSL/crypto.py”, line 12, in
from cryptography import x509
File “/home/ubuntu/.local/lib/python3.6/site-packages/cryptography/x509/init.py”, line 8, in
from cryptography.x509.base import (
File “/home/ubuntu/.local/lib/python3.6/site-packages/cryptography/x509/base.py”, line 16, in
from cryptography.x509.extensions import Extension, ExtensionType
File “/home/ubuntu/.local/lib/python3.6/site-packages/cryptography/x509/extensions.py”, line 18, in
from cryptography.hazmat.primitives import constant_time, serialization
File “/home/ubuntu/.local/lib/python3.6/site-packages/cryptography/hazmat/primitives/constant_time.py”, line 11, in
from cryptography.hazmat.bindings._constant_time import lib
ModuleNotFoundError: No module named ‘cryptography.hazmat.bindings._constant_time’
My web server is (include version):
Nginx 1.14.2
The operating system my web server runs on is (include version):
Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-1063-aws x86_64)
My hosting provider, if applicable, is: AWS EC2
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): I don’t know.