From 9d642579fe2076cdbcf1ed712f0c6f6f2d3cf0ad Mon Sep 17 00:00:00 2001 From: liuhuiping Date: Thu, 26 Aug 2021 10:01:38 +0800 Subject: [PATCH] dockerfile install libressl, not openssl --- stunnel/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stunnel/docker-entrypoint.sh b/stunnel/docker-entrypoint.sh index de0c8ef..58a12a4 100755 --- a/stunnel/docker-entrypoint.sh +++ b/stunnel/docker-entrypoint.sh @@ -18,7 +18,7 @@ _EOF_ if ! [ -f stunnel.pem ] then - openssl req -x509 -nodes -newkey rsa:2048 -days 3650 -subj '/CN=stunnel' \ + libressl req -x509 -nodes -newkey rsa:2048 -days 3650 -subj '/CN=stunnel' \ -keyout stunnel.pem -out stunnel.pem chmod 600 stunnel.pem fi