Category "openssl"

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

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