What do you want to save?
Add Code snippet
New code examples
-
Ruby 2022-01-23 00:56:07
ruby sign a certificate with the CA
key = OpenSSL::PKey::RSA.new 2048 cert = OpenSSL::X509::Certificate.new cert.version = 2 cert.serial = 2 cert.subject = OpenSSL::X509::Name.parse "/DC=org/DC=ruby-lang/CN=Ruby certificate" cert.issuer = root_ca.subject # root CA is the issuer ce... Add solution -
Other 2021-11-20 11:27:09
routines:ssl3_get_record:wrong version number:c:\ws\deps\openssl\openssl\ssl\record\ssl3_record.c:332
function downloadZipFromGithub() { var file = fs.createWriteStream(path.join(tmpPath, "archive.zip")); var lengthSoFar = 0; var npmconfDeferred = kew.defer(); npmconf.load(npmconfDeferred.makeNodeResolver()); npmconfDeferred... Add solution -
Other 2021-11-18 20:20:16
how to get free ssl certificate from letsencrypt for local
openssl req -x509 -out localhost.crt -keyout localhost.key \ -newkey rsa:2048 -nodes -sha256 \ -subj '/CN=localhost' -extensions EXT -config <( \ printf "[dn]\nCN=localhost\n[req]\ndistinguished_name = dn\n[EXT]\nsubjectAltName=DNS:localhos... Add solution -
Other 2021-11-16 05:37:27
error: command 'gcc' failed with exit status 1
For python 2.7 sudo yum -y install gcc gcc-c++ kernel-devel sudo yum -y install python-devel libxslt-devel libffi-devel openssl-devel pip install "your python packet" For python 3.4 sudo apt-get install python3-dev pip install "your pyth... Add solution