xxxxxxxxxx
openssl req -newkey rsa:2048 -nodes -keyout server.key -new -out server.csr
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
openssl req -x509 -new -key private_key.pem -days 3650 -out ca_certificate.pem -subj "/CN=My Root CA/O=My Organization/C=US"
openssl verify -CAfile client.pem client.pem
openssl rsa -in ./certificates/clientkey.key -check -noout
openssl x509 -in ./certificates/client.pem -text -noout
openssl req -new -key private_key.pem -out certificate.csr
openssl genpkey -algorithm RSA -out new_private.key -pkeyopt rsa_keygen_bits:2048
openssl x509 -noout -modulus -in ./certificates/clientca.pem | openssl md5
xxxxxxxxxx
OpenSSL is a robust, commercial-grade, full-featured Open Source Toolkit for the
Transport Layer Security (TLS) protocol formerly known as the Secure Sockets
Layer (SSL) protocol. The protocol implementation is based on a full-strength
general purpose cryptographic library, which can also be used stand-alone.
https://github.com/openssl/openssl
xxxxxxxxxx
$ ./config \
--prefix=/opt/openssl \
--openssldir=/opt/openssl \
no-shared \
-DOPENSSL_TLS_SECURITY_LEVEL=2 \
enable-ec_nistp_64_gcc_128
xxxxxxxxxx
Change `fs` version to `"fs": "^0.0.2"` ✅ from `"fs": "^0.0.1-security"` ❌ in your package.json file and run `npm i` again to update the package.