Skip to content

Commit a6372ea

Browse files
committed
try another path
1 parent 1788ca2 commit a6372ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ for file in /etc/nginx/sites-available/*; do
233233
done
234234

235235
# Generate snakeoil certs for domains found in hijacked domains (Up to 8 sections for the domain)
236-
LD_PRELOAD=src/libfaketime.so.1 FAKETIME="@1970-01-01 00:00:00" openssl req -nodes -x509 -newkey rsa:4096 -keyout /etc/nginx/certs/private/snakeoil.key -out /etc/nginx/certs/snakeoil.crt -days 36500 -subj '/CN=*/CN=*.*/CN=*.*.*/CN=*.*.*.*/CN=*.*.*.*.*/CN=*.*.*.*.*.*/CN=*.*.*.*.*.*.*/CN=*.*.*.*.*.*.*.*' > /dev/null 2>&1
236+
LD_PRELOAD=/lib/faketime.so FAKETIME="@1970-01-01 00:00:00" openssl req -nodes -x509 -newkey rsa:4096 -keyout /etc/nginx/certs/private/snakeoil.key -out /etc/nginx/certs/snakeoil.crt -days 36500 -subj '/CN=*/CN=*.*/CN=*.*.*/CN=*.*.*.*/CN=*.*.*.*.*/CN=*.*.*.*.*.*/CN=*.*.*.*.*.*.*/CN=*.*.*.*.*.*.*.*' > /dev/null 2>&1
237237
chmod 644 /etc/nginx/certs/snakeoil.crt
238238
chmod 640 /etc/nginx/certs/private/snakeoil.key
239239

0 commit comments

Comments
 (0)