You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a couple of lines of bash code that does not work on Windows:
timestamp variable on line 41 includes colon(":"). This is used later when writing openssl keys to a disk location. The problem is that colon is not allowed as part of a file or folder name in Windows. See below for the code:
SUBJ variable on line 82 is not preserved as defined when provided as parameter input to openssl req -sbj on line 84. For this code to work, the SUBJ string value has to be revised to SUBJ="//countryName=US\stateOrProvinceName=IL\localityName=Chicago\organizationName=CDIS\organizationalUnitName=PlanX\commonName=$commonName\[email protected]". Here is a related discussion on StackOverflow.
See below for the code:
I've tweaked the two lines mentioned above to get the script work using Git Bash on my machine running on Windows 10 Home.
It would be helpful if the script is modified to accommodate Windows users or at least that this repo's README.md mentions that the script is meant to be run on Linux/MacOS.
The text was updated successfully, but these errors were encountered:
There are a couple of lines of bash code that does not work on Windows:
timestamp
variable on line 41 includes colon(":"). This is used later when writing openssl keys to a disk location. The problem is that colon is not allowed as part of a file or folder name in Windows. See below for the code:compose-services/creds_setup.sh
Lines 40 to 55 in 4b9509f
SUBJ
variable on line 82 is not preserved as defined when provided as parameter input toopenssl req -sbj
on line 84. For this code to work, theSUBJ
string value has to be revised toSUBJ="//countryName=US\stateOrProvinceName=IL\localityName=Chicago\organizationName=CDIS\organizationalUnitName=PlanX\commonName=$commonName\[email protected]"
. Here is a related discussion on StackOverflow.See below for the code:
compose-services/creds_setup.sh
Lines 77 to 84 in 4b9509f
I've tweaked the two lines mentioned above to get the script work using Git Bash on my machine running on Windows 10 Home.
It would be helpful if the script is modified to accommodate Windows users or at least that this repo's
README.md
mentions that the script is meant to be run on Linux/MacOS.The text was updated successfully, but these errors were encountered: