x-undefined-2 commited on
Commit
911e7c9
·
verified ·
1 Parent(s): 72989d3

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +2 -2
entrypoint.sh CHANGED
@@ -9,8 +9,8 @@ openssl genpkey -algorithm RSA -out private.key
9
  openssl req -new -key private.key -out csr.pem -subj "/CN=localhost"
10
  openssl req -x509 -days 365 -key private.key -in csr.pem -out localhost.crt
11
 
12
- export SSL_CERT_FILE=/home/user/socks-server/localhost.crt
13
- export NODE_EXTRA_CA_CERTS=/home/user/socks-server/localhost.crt
14
  export NODE_TLS_REJECT_UNAUTHORIZED=0
15
  ls -lh
16
 
 
9
  openssl req -new -key private.key -out csr.pem -subj "/CN=localhost"
10
  openssl req -x509 -days 365 -key private.key -in csr.pem -out localhost.crt
11
 
12
+ export SSL_CERT_FILE=$HOME/socks-server/localhost.crt
13
+ export NODE_EXTRA_CA_CERTS=$HOME/socks-server/localhost.crt
14
  export NODE_TLS_REJECT_UNAUTHORIZED=0
15
  ls -lh
16