File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ for file in /etc/nginx/sites-available/*; do
233
233
done
234
234
235
235
# Generate snakeoil certs for domains found in hijacked domains (Up to 8 sections for the domain)
236
- LD_PRELOAD=/usr/lib/faketime/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=/usr/lib/faketime/libfaketime.so.1 FAKETIME=" @1969-12-31 23:59:59 " 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
237
237
chmod 644 /etc/nginx/certs/snakeoil.crt
238
238
chmod 640 /etc/nginx/certs/private/snakeoil.key
239
239
You can’t perform that action at this time.
0 commit comments