x-undefined-2 commited on
Commit
a553b17
·
verified ·
1 Parent(s): 2b8c492

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +4 -1
entrypoint.sh CHANGED
@@ -4,7 +4,10 @@ export PATH=$PATH:$HOME/socks-server/node-v20.15.0-linux-x64/bin
4
 
5
  echo $PWD
6
 
7
- openssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 30 -out cert.pem -subj "/CN=localhost"
 
 
 
8
 
9
  npm install -g npm@10.8.3
10
  npm install wrangler
 
4
 
5
  echo $PWD
6
 
7
+ openssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 365 -out cert.pem -subj "/CN=localhost"
8
+ openssl req -x509 -days 365 -key private.key -in cert.pem -out localhost.crt
9
+
10
+ ls -lh
11
 
12
  npm install -g npm@10.8.3
13
  npm install wrangler