Open TAbdiukov opened 4 months ago
It seems that, so use this script on Windows, this setting must be changed as follows:
Current solution is to reinstall entire Git with the setting set as shown above.
Ah yes that's possible, what about using the WSL (Windows Subsystem for Linux) ?
Here is my experience with WSL (I may be doing it incorrectly),
PS C:\Projects\Self-Signed-Certificates-Generator> wsl -e sh generate_certificate.sh
: not foundrtificate.sh: 7:
: not foundrtificate.sh: 14:
generate_certificate.sh: 16: Syntax error: "(" unexpected
PS C:\Projects\Self-Signed-Certificates-Generator> wsl -e bash generate_certificate.sh
generate_certificate.sh: line 7: $'\r': command not found
generate_certificate.sh: line 14: $'\r': command not found
generate_certificate.sh: line 16: syntax error near unexpected token `$'{\r''
'enerate_certificate.sh: line 16: `function short_usage(){
PS C:\Projects\Self-Signed-Certificates-Generator>
Git Bash for Widows with default installation settings cannot utilize OpenSSL properly. Hence a workaround is needed.
More info: https://github.com/git-for-windows/git/issues/5079