16 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
84
views
How to implement PreHash for signing
Implementing openssl command
openssl rsautl -sign -in rasi.bin -inkey riktest.key -out allkiri.bin
is based on code from answer
Converting Openssl signing to .NET6
using Org.BouncyCastle.Crypto;
...
1
vote
0
answers
2k
views
OPENSSL Error: The input data looks too long to be a hash
I am trying to generate and verify the signature with a private key. Its a very straight forward process. However, I am facing this issue.
clear
Echo "Generate EC KeyPair from OpenSSL command ...
2
votes
1
answer
556
views
Rename output dll & lib file in openssl 3.0
We are upgrading from openssl 1.0.2 to openssl 3.0.
Earlier we were able to rename the output dll by editing lib name in following files.
util\mkdef.pl
util\pl\VC-32.pl (pl folder does not exists in ...
0
votes
0
answers
567
views
OpenSSL 3.0 missing structures definition
While migrating from OpenSSL 1.0.2 to 3.0 code compilation is failing reason being most of the structures are not defined in latest header file.
specifies undefined struct/union 'x509_st'
specifies ...
2
votes
0
answers
199
views
How to compile with C# Wrapper of OpenSSL 3.0
We are upgrading from openssl 1.0.2 to 3.0.1. With openssl 1.0.2, we were using this wrapper - https://github.com/openssl-net/openssl-net/blob/master/ManagedOpenSsl/Core/Native.cs
Any idea from where ...
3
votes
0
answers
1k
views
openssl-net C# simple example
I have a C# project and I need to implement a Datagram TLS over UDP for security purposes.
I have researched a lot of libraries and have found this wrapper implementation of OpenSSL library for C# (...
1
vote
1
answer
4k
views
Make C# application trust SSL certificate
I'm trying to do a HTTPS get request via the HttpClient class. However there are exceptions thrown when trying to do the request as the provided certificate isn't trusted.
I have access to the ...
0
votes
1
answer
105
views
Generate the private and public keys using the Diffie-Hellman parameters (‘p’ and ‘g’). The result is ‘Pub_key’and ‘Priv_key’ (1024-bit/128 bytes)
I have a documentation where I need to create two key pairs PUBLIC and PRIVATE using diffie-hellman parameters 'p' and 'g'. my issue how should pass the parameter 'p'?
1
vote
1
answer
933
views
OpenSSL - Working in local system but not in other LAN systems [Intranet]
I am using OpenSSL to create SSL certificates to make my web application runnable with https to overcome issues to access microphone in chrome as it stopped allowing access now days without https.
...
2
votes
1
answer
1k
views
ManagedOpenSsl in .net core throws "System.BadImageFormatException:"
I have been facing multiple challenges with getting the ManagedOpenSsl to work with .Net Core. I downloaded ManagedOpenSsl.NetCore from nuget package.
My End Goal is to create a .pfx file from ...
0
votes
0
answers
510
views
Read private key file (.pkcs8) with OpenSSL.NET
I am using the OpenSSL .NET project (https://github.com/openssl-net/openssl-net).
In C++ code, I have read the private key from a .pkcs8 file (30 82 02 4b 02 01 20 30 81 ...) to a EVP_PKEY struct like ...
0
votes
0
answers
1k
views
OpenSSL.NET decrypting with GOST using c#
I have an encrypted base64 file "PersonalCodes.txt" and a private key to it "private.key". The key is in .pem (---begin private key -- etc.) and is encrypted with -gost89.
I need to use an OpenSSL....
1
vote
1
answer
1k
views
OpenSSL Nuget package not installing in VS 2015
I am trying to install the OpenSSL Nuget package in VS 2015.
I get the error:
Attempting to gather dependencies information for package 'openssl.1.0.2.1' with respect to project 'BLL', targeting '....
0
votes
1
answer
2k
views
Convert different certificate revocation list formats in .net
I need to convert a bunch of certificate revocation list in .crl extension,they are in DER format (Binary), and I need to convert them into PEM format (Base64 string representation of the binary ...
1
vote
2
answers
4k
views
Convert .der to .pem using OpenSSL-Net
I have a .der certificate that is binary encoded which needs to be converted to a .pem file programatically in .net
This line gives the correct output using OpenSSL on OSX:
openssl x509 -inform der -...