Category "openssl"

hashicorp Vault : " Error initializing listener of type tcp: error loading TLS cert " Where is my mistake?

I try to run Vault with docker-compose on Virtual machine ubuntu 20.04 ( ip : 192.168.56.9 ). Without the https, already works fine, but when I try to put vault

How to build openssl for M1 and for Intel?

I have a project which needs to use Libcrypto - and I have two versions of Libcrypto (libcrypto.a (from OpenSSL 1.1.1) built for ARM64) and (lcrypto.a (from Ope

HAProxy Unable load SSL

I got this error 'bind *:443' : unable to load SSL certificate from PEM file '/etc/ssl/private/https-cert.pem' but the file location is correct. $ sudo ls -l

Error: declaration of ‘freefunc’ shadows a global declaration

While building application using openssl 1.1.1d I am getting below error, I know C++ but not an expert. Spent lot of time but still did not get any clue. Can s

Which openssl keypair gen command produces a password-less private key that I can read in Java 17?

Burned better part of a day on this. Google says use PKCS#8 format for the private key, so I issued command (alpine openssl 1.1.1o) $ openssl genpkey -out my.p

Shell script running Openssl command fails with ProcessBuilder

I have the following shell script Script #! /bin/sh set -ex cp /tmp/untouched_input_backup /tmp/untouched_input #sign the digest cp /tmp/untouched_input_back

Calling openssl_pkey_export() twice with the same passphrase gives different results

I have basic knowledge on asymmetric cryptography but I'm a newbie regarding OpenSSL PHP Extension and I'm confused after executing the following piece of code

How do I decrypt with openssl something encrypted with cbc_crypt (xencrypt)?

In a database there is string encrypted with glibc's xencrypt which is using internally cbc_crypt and the decryption was happening with xdecrypt function which

LINK Error when trying to use OpenSSL evp aes 256 c++

i have a lot of LINK error when i'm trying to use the evp aes encryption template code from OpenSSL documentation : https://wiki.openssl.org/index.php/EVP_Symme

Nginx: [emerg] cannot load certificate after I deleted the certificate

I generated an SSL certificate on one of my subdomains. I then tried to delete/revoke the certificate using the command certbot delete. A little terminal menu p

rvm can't compile ruby: fails openssl check

I'm trying to install ruby 2.7.6 on MacOS 11.6.1 using rvm. I am specifying the location of a brew-installed openssl but the logs say that it isn't the right ve

Can't create google CA certificate via google client library

Getting an error error parsing CSR: ToCertificateRequest: nil DER when decoding PEM The same CSR works when using the gcp console 3 INVALID_ARGUMENT: error pars

Is there a way to get validity (notAfter) from a openssl certificate fingerprint and no certificate?

Is there a way I can determine when a particular certificate fingerprint without having the certificate itself? something like OpenSSL::X509::Certificate.new("-

Error received: [SSL: BAD_LENGTH] bad length (_ssl.c:2408)

I made a game that can be controlled with voice command. To convert all the voice command into text I used IBM Cloud Speech to Text service. Everything is done

how to solve openssl configuration error when trying to install react native cli?

When trying to install react native cli I get the following error messages. How can I solve. PS C:\WINDOWS\system32> npm install -g react-native-cli OpenSSL

How to generate the output in hexadecimal in Openssl?

Finally I am able to get the output in base64 format by using the "-a" switch; there is any hexadecimal switch that I can use? echo '0: 63616e74676574746869733

How to replicate bouncycastle CMSEnvelopedData decryption using Openssl

I have working code that uses Java Bouncycastle lib that (as I understood) decrypts CMS data. byte[] encryptedData = Base64.decode(encryptedText); CMSEnvelopedD

How to build OpenSSL on Mac and Windows

I need to build static OpenSSL libraries for Windows, iOS, and Android (x86, MIPS, and Arm). I have a Mac and I have a Windows PC. I do not have a Linux box.

Error in SSLv2/SSLv3 read client hello

Some Background: I am trying to setup reverse proxy for my internal business users for site validation when the external route is down. I am able to setup mult

Call to undefined function openssl_decrypt

When I try to make a request with POST to a script that has this line: $decrypted_data = openssl_decrypt($encrypted_data, 'AES-256-CBC', $key); I get the fol