Open junaidtk opened 1 year ago
Hey, it seems like OpenSSL was improperly installed/configured on your system. Usually, there should be a default configuration file "openssl.cnf" in the directory indicated as OPENSSLDIR in the output of openssl version -a
. That file seems to not be present / corrupted or overshadowed by environment variables
I have checked the openssl, it is working fine when I use
openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout keys/omejdn/omejdn.key -out daps.cert
It is creating daps.cert file in the root folder (reference)
while checking the config file, it is there in this path /private/etc/ssl/openssl.cnf
The command
openssl version -a
is outputting the below details.
LibreSSL 3.3.6
built on: date not available
platform: information not available
options: bn(64,64) rc4(ptr,int) des(idx,cisc,16,int) blowfish(idx)
compiler: information not available
OPENSSLDIR: "/private/etc/ssl"
Am I missing anything ?
I am trying to run the repository on my local. While configuring I have followed the step mentioned in the repository. While configuring I am stuck in the below step.
$ scripts/register_connector.sh NAME SECURITY_PROFILE CERTIFICATE_FILE
It is not giving the successful result. The error message is give below.
While checking the register_connector.sh, the issue is arising from the below line.
openssl req -newkey rsa:2048 -new -batch -nodes -x509 -days 3650 -text -keyout "keys/${CLIENT_NAME}.key" -out "$CLIENT_CERT"
Any help is much appreciated.