AJ ONeal
10 years ago
5 changed files with 56 additions and 13 deletions
@ -1,10 +1,30 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
|
|
||||
bash make-root-ca-and-certificates.sh 'local.ldsconnect.org' |
bash make-root-ca-and-certificates.sh 'local.ldsconnect.org' |
||||
|
echo "" |
||||
|
|
||||
|
echo "" |
||||
|
node ./serve.js 8043 & |
||||
|
NODE_PID=$! |
||||
|
sleep 1 |
||||
|
|
||||
node ./serve.js & |
echo "" |
||||
|
echo "" |
||||
|
node ./request-without-warnings.js 8043 'local.ldsconnect.org' |
||||
|
echo -n " - without warnings, love node.js' https" |
||||
|
echo "" |
||||
|
sleep 1 |
||||
|
|
||||
|
echo "" |
||||
|
curl https://local.ldsconnect.org:8043 \ |
||||
|
--cacert client/my-private-root-ca.crt.pem |
||||
|
echo -n " - without warnings, love cURL" |
||||
|
echo "" |
||||
|
sleep 1 |
||||
|
|
||||
sleep 2 |
# For lots of output about the ssl connection try -v |
||||
|
#curl -v https://local.ldsconnect.org:8043 \ |
||||
|
# --cacert client/my-private-root-ca.crt.pem |
||||
|
|
||||
node ./request-without-warnings.js |
kill ${NODE_PID} |
||||
echo "" |
echo "" |
||||
|
Loading…
Reference in new issue