Let's encrypt installation error, Plesk, Windows server


#1

Hi!

I’m trying to install Let’s Encrypt certificate in a Plesk web host edition, but getting an error with following error log:

Error: Let’s Encrypt SSL certificate installation failed: Failed letsencrypt execution: Traceback (most recent call last):
File “D:\Program Files (x86)\Parallels\Plesk\python\Lib\runpy.py”, line 162, in run_module_as_main
"main", fname, loader, pkg_name)
File “D:\Program Files (x86)\Parallels\Plesk\python\Lib\runpy.py”, line 72, in run_code
exec code in run_globals
File "D:\Program Files (x86)\Parallels\Plesk\var\modules\letsencrypt\venv\Scripts\certbot.exe_main
.py", line 5, in <module>
File “d:\program files (x86)\parallels\plesk\var\modules\letsencrypt\venv\lib\site-packages\certbot\main.py”, line 14, in <module>
from acme import jose
File "d:\program files (x86)\parallels\plesk\var\modules\letsencrypt\venv\lib\site-packages\acme\jose_init
.py", line 37, in <module>
from acme.jose.interfaces import JSONDeSerializable
File “d:\program files (x86)\parallels\plesk\var\modules\letsencrypt\venv\lib\site-packages\acme\jose\interfaces.py”, line 9, in <module>
from acme.jose import util
File “d:\program files (x86)\parallels\plesk\var\modules\letsencrypt\venv\lib\site-packages\acme\jose\util.py”, line 4, in <module>
from cryptography.hazmat.primitives.asymmetric import rsa
ImportError: No module named primitives.asymmetric

What could possibly cause this error?
Thanks in advance!


#2

looks like a dependency issue

the cryptography module doesn’t seemed to have been installed properly

you can test by typing the following

python
from cryptography.hazmat.primitives.asymmetric import rsa

if you do not get any errors then everything is working

if you have pip then you can run the following command to ensure you have the correct packages

pip freeze


#3

Thanks for your answer, ahaw021!

OK, now I understand possible reasons for the error that I’ve got.
I forgot to mention, that I have Let’s encrypt installed at my hosting provider’s server, so I don’t have an access to check installation packets (I think so). I only have a “Install SSL” button in Plesk panel, which causes error descripted in first post.
So, I guess, the only way is to ask for hosting provider’s tech support.

Anyway, I appreciate your help! Thank you very much!


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.