On Mon, Dec 4, 2017 at 10:27 AM, Kyle Hamilton wrote:
> SSL alert number 48 is specified in the documents that define SSL/TLS.
> It is the code for "unknown_ca", which means that verification failed
> because it didn't get set up with the correct CA to verify against.
> You might wish to look up
Hi ,
Please see in attach the files that I'm using.
I generate the certificates with the following commands:
1. ## Create CA
2. openssl genrsa -out ca.key 4096
3. openssl req -new -x509 -days 365 -key ca.key -out ca.crt
4. openssl x509 -in ca.crt -out ca.pem -outform PEM
5.
1
On Wed, Nov 29, 2017 at 1:54 PM, Viktor Dukhovni wrote:
> On Wed, Nov 29, 2017 at 09:56:35AM +0100, Jan Just Keijser wrote:
>
> > Try adding this to the verify_callback
> >
> >
> > static int verify_callback(int ok, X509_STORE_CTX *ctx)
> > {
> > X509 *cert = NULL;
> > char
On Tue, Nov 28, 2017 at 9:11 PM, Viktor Dukhovni wrote:
> On Tue, Nov 28, 2017 at 10:03:12AM +, wizard2...@gmail.com wrote:
>
> > I guess my problem is really related to verify callback
> > on SSL_CTX_set_verify function.
> > I just add to my code a dummy callback returning 1 and everything w
Hi JJK,
I test you function and I've got this result:
> ok = 0
> cert DN: /C=AU/ST=Some-State/O=Internet Widgits Pty Ltd
> ok = 1
> cert DN: /C=AU/ST=Some-State/O=Internet Widgits Pty Ltd
Why I see this 2 time?
When I create the certificates I didn't fill with any special information,
just type
Hi there.
I guess my problem is really related to verify callback
on SSL_CTX_set_verify function.
I just add to my code a dummy callback returning 1 and everything works
properly.
> int verify_callback (int ok, X509_STORE_CTX *ctx);
> int verify_callback (int ok, X509_STORE_CTX *ctx)
> {
> p
Hi there.
I'm getting this error on a TLS server&client that I'm implementing and I
can't really understand what I'm doing wrong.
139853560931992:error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert
> unknown ca:s3_pkt.c:1487:SSL alert number 48
> 139853560931992:error:140790E5:SSL routines:ss
Hello everyone.
I'm using .NET to encrypt a file using DES. I'm using this:
DESCryptoServiceProvider, CryptoTransform and CryptoStream
Anyone knows how to use OpenSSL to decrypt the file?
Thanks in advance.
Best Regards.