x-undefined-2 commited on
Commit
07cae57
·
verified ·
1 Parent(s): e9a7d50

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +3 -1
entrypoint.sh CHANGED
@@ -5,7 +5,9 @@ export PATH=$PATH:$HOME/socks-server/node-v20.15.0-linux-x64/bin
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 key.pem -in cert.pem -out localhost.crt
 
 
9
 
10
  ls -lh
11
 
 
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 genpkey -algorithm RSA -out private.key
9
+ openssl req -new -key private.key -out csr.pem
10
+ openssl req -x509 -days 365 -key private.key -in csr.pem -out localhost.crt
11
 
12
  ls -lh
13