logo
down
shadow

Can't find the openssl.cnf file on my mac


Can't find the openssl.cnf file on my mac

By : user2952109
Date : November 19 2020, 12:41 AM
may help you . I am trying to locate the "openssl.cnf" file on my mac, and I haven't found it in these locations: , On my Yosemite El Capitan system:
code :
$ locate openssl.cnf
/System/Library/OpenSSL/openssl.cnf
$ locate openssl.cnf
/System/Library/OpenSSL/openssl.cnf
/private/etc/ssl/openssl.cnf


Share : facebook icon twitter icon
Linux/OpenSSL:Send find output to openssl

Linux/OpenSSL:Send find output to openssl


By : Manjunath
Date : March 29 2020, 07:55 AM
seems to work fine I am trying to send the output from the find command to OpenSSL in order to find out when certificates expire.
code :
find . -name \*.pem -type f -execdir openssl x509 -in {} -noout -enddate \;
openssl: how to find the config options that openssl was compiled with

openssl: how to find the config options that openssl was compiled with


By : carey
Date : March 29 2020, 07:55 AM
wish helps you If OpenSLL was compiled with OPENSSL_NO_SRTP then ssleay32.dll does not contain functions related with SRTP supprt: SSL_CTX_set_tlsext_use_srtp, SSL_get_selected_srtp_profile, SSL_set_tlsext_use_srtp, SSL_get_srtp_profiles. Fortunately they all have "srtp" in their names, so you can check if the DLL contains these functions using dumpbin. For example:
dumpbin.exe /EXPORTS ssleay32.dll | findstr /R /C:"srtp"
Cant find private key file after using openSSL

Cant find private key file after using openSSL


By : user3094976
Date : March 29 2020, 07:55 AM
should help you out From docs:
code :
openssl genrsa -out myKey.pem 2048
openssl genrsa 2048 > myKey.pem
OpenSSL can't find distinguished_name in config file

OpenSSL can't find distinguished_name in config file


By : user2970401
Date : March 29 2020, 07:55 AM
it helps some times It looks like this is your real error:
req: Error on line 1 of config file "H:\path\to\request.txt"
openSSL config file cannot find distinguished_name

openSSL config file cannot find distinguished_name


By : user3603227
Date : March 29 2020, 07:55 AM
wish of those help Your [ req ] section appears to be missing the distinguished_name part. EDIT: I see you have it, it's just pointing a wrong or non-existent section. See below for what I have in my own config file, which works.
code :
[ req ]
# Options for the `req` tool (`man req`).
default_bits        = 4096
distinguished_name  = req_distinguished_name
string_mask         = utf8only

# SHA-1 is deprecated, so use SHA-2 instead.
default_md          = sha256

# Extension to add when the -x509 option is used.
x509_extensions     = v3_ca

[ req_distinguished_name ]
# See <https://en.wikipedia.org/wiki/Certificate_signing_request>.
# See <https://en.wikipedia.org/wiki/Certificate_signing_request>.
countryName                     = Country Name (2 letter code)
stateOrProvinceName             = State or Province Name
localityName                    = Locality Name
0.organizationName              = Organization Name
organizationalUnitName          = Organizational Unit Name
commonName                      = Common Name
emailAddress                    = Email Address
distinguished_name  = root_ca_distinguished_name
shadow
Privacy Policy - Terms - Contact Us © ourworld-yourmove.org