Category "openssl"

Change hostname of SQL server SSL certificates

I have a postgres SQL server set up in google cloud. The certificates that I downloaded for this have a hostname of the form: project_name:instance_name. Howeve

Npm not working (openSSL configuration error windows10x64)

I was getting this error whenever I try the npm command in powershell: **~ $ node -v v17.1.0 ~ $ npm -v OpenSSL configuration error: 74240000:error:80000003:sys

openssl CMS decryption fails

openssl cms -decrypt -in cms.txt -recip my_cert.pem -inkey private_key.pem Error reading S/MIME message 140064210231744:error:0D0D40D1:asn1 encoding routines:SM

Ruby 2.7 and TLS 1.3 with RestClient not working

I'm having problems trying to request an endpoint that is using TLS 1.3 require 'base64' require 'openssl' require 'rest-client' auth_payload = { grant_type:

Error installing OpenSSL using VCPKG on Visual Studio code: Error: in triplet x64-windows: Unable to find a valid Visual Studio instance

I am trying to fix the error I'm facing while running a rust program on my VScode as shown in the link below, install openssl and and set the paths using vcpkg

Openssl 3.0. Rsa private methods not called

Recently I have migrated my app from OpenSSL 1.0 to OpenSSL 3.0. And now my connection is not working anymore. The methods which perform private encryption and

How to get R and S values from ECDSA signature using PHP

I am working on Signature of data using ECDSA from Starkbank library and I can get the base64 format of the signature value MEUCIALlD6Xsd0Xdj7XTrD2gP4Q3PlssTxLO

Docker Portainer 'failed copying supplied certs: File doesn't exist'

I'm trying to run the portainer docker with tls. This is my docker command: > docker run -d -p 9443:9443 -p 8000:8000 \ > --name portainer --restart a

OpenSSL extensions to CA certificate

Im using OpenSSL v1.1.1g and trying to add extensions to my self signed CA certificate using the following bat script: rem #Create CSR openssl req -newkey rsa:4

OpenSSL BIO_read is wrong

This is the code how I am reading the response from my HTTPS request: int len = 0; f = fopen("response.txt", "wb"); do { char buff[1534]; len = BIO_read

docker-compose, wsl2 and self signed ssl certificate

So i'm using docker-compose to set up local dev environments while I'm working on Wordpress sites. And now i'm trying to fix so I can get an self signed ssl cer

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