Closed yarik2720 closed 4 years ago
I solved this problem by additionally installing ca-certificates
Is this installation on host or on docker?
On Docker image. I just modified Dockerfile and rebuilt the image.
diff --git a/Dockerfile b/Dockerfile
index 2085430..a289fff 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
FROM ubuntu:20.04
-RUN apt-get update && apt-get install --no-install-recommends -y python3 python3-uvloop python3-cryptography libcap2-bin && rm -rf /var/lib/apt/lists/*
+RUN apt-get update && apt-get install --no-install-recommends -y ca-certificates python3 python3-uvloop python3-cryptography libcap2-bin && rm -rf /var/lib/apt/lists/*
RUN setcap cap_net_bind_service=+ep /usr/bin/python3.8
RUN useradd tgproxy -u 10000
I've added ca-certificates to dockerfile: https://github.com/alexbers/mtprotoproxy/commit/6076db9f8c97b2f4b29fd22987517919e8d3544b