Spaces:
Paused
Paused
Update entrypoint.sh
Browse files- 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
|
|
|
|
|
|
|
| 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 |
|