Category "openssl"

PFX certificate generation issue

I've generated crt and .key files to connect to protected resource. Curl with this combination of cert and key is working, but pfx cert which was generated usin

How do you generate a certificate and key for VPN authentication

We have a network of VPN routers another engineer had set up, I need to add a new one. Each router seems to have two files a .key file and a .crt file I was lef

Convert RSA Public .pem file to pkcs8

Created RSA public - private key pairs using following commands - Private key - openssl genrsa -out private-key.pem 512 Public key openssl rsa -in private-key.

Can't establish SSL connection to Kafka after upgrading to python 3.7

Code I have that successfully connects to Kafka with an SSL connection in Python 3.6.7 fails when using Python 3.7.3, with error message SSL: WRONG_VERSION_NUMB

How to parse nested TLV structures

This is TLV code: 30 3e 31 0b 30 09 06 03 55 04 06 13 02 50 4c 31 1b 30 19 06 03 55 04 0a 13 12 55 6e 69 7a 65 74 6f 20 53 70 2e 20 7a 20 6f 2e 6f 2e 31

Valid HTTPS certificate for dotnet development on localhost - Ubuntu

I need to test something which needs to be served over https and I believe the standard dotnet dev-certs https --trust doesnt work on Ubuntu. I have tried gener

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