diff --git a/samples/certs/clientA.sh b/samples/certs/clientA.sh index 118e186..0f0657d 100755 --- a/samples/certs/clientA.sh +++ b/samples/certs/clientA.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh openssl req -newkey rsa:2048 -sha256 -keyout clientAkey.pem -out clientAreq.pem \ -nodes -config ./clientA.cnf -days 365 -batch diff --git a/samples/certs/clientB.sh b/samples/certs/clientB.sh index a39ae83..8718468 100755 --- a/samples/certs/clientB.sh +++ b/samples/certs/clientB.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh openssl req -newkey rsa:2048 -sha256 -keyout clientBkey.pem -out clientBreq.pem \ -nodes -config ./clientB.cnf -days 365 -batch diff --git a/samples/certs/rootA.sh b/samples/certs/rootA.sh index fcfcd73..6d29126 100755 --- a/samples/certs/rootA.sh +++ b/samples/certs/rootA.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh openssl req -newkey rsa:2048 -sha256 -keyout rootAkey.pem -out rootAreq.pem -nodes -config ./rootA.cnf -days 365 -batch diff --git a/samples/certs/rootB.sh b/samples/certs/rootB.sh index 07b53a4..fabc3a5 100755 --- a/samples/certs/rootB.sh +++ b/samples/certs/rootB.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh openssl req -newkey rsa:2048 -sha256 -keyout rootBkey.pem -out rootBreq.pem -nodes -config ./rootB.cnf -days 365 -batch diff --git a/samples/certs/serverA.sh b/samples/certs/serverA.sh index ac2b09d..66e8441 100755 --- a/samples/certs/serverA.sh +++ b/samples/certs/serverA.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh openssl req -newkey rsa:2048 -keyout serverAkey.pem -out serverAreq.pem \ -config ./serverA.cnf -nodes -days 365 -batch diff --git a/samples/certs/serverB.sh b/samples/certs/serverB.sh index 091f1ac..ee127ea 100755 --- a/samples/certs/serverB.sh +++ b/samples/certs/serverB.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh openssl req -newkey rsa:2048 -keyout serverBkey.pem -out serverBreq.pem \ -config ./serverB.cnf -nodes -days 365 -batch diff --git a/samples/key/genkey.sh b/samples/key/genkey.sh old mode 100644 new mode 100755 index 33881cf..f6065c3 --- a/samples/key/genkey.sh +++ b/samples/key/genkey.sh @@ -1,3 +1,3 @@ -#!/bin/sh +#!/usr/bin/env sh openssl genrsa -des3 -out key.pem -passout pass:foobar 2048 diff --git a/samples/multicert/gencerts.sh b/samples/multicert/gencerts.sh index 7fc851d..6bba12b 100755 --- a/samples/multicert/gencerts.sh +++ b/samples/multicert/gencerts.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh mkdir -p certs