Hi Kalen, in order to avoid the filter problems, I suggest opening a support ticket instead.  Can you send a clear report to support@wolfssl.com?

Hi, Kalen,

My name is Anthony Hu and I am a member of the wolfSSL team. Thanks for reaching out to us.

Can I ask, what should I replace  googleapisurl_here  with?

Also, you have a certificate in PEM format. I'm not sure what I'm supposed to do with that. I'm somewhat confused.  Can you please help me by clarifying?


Warm regards, Anthony

78

(7 replies, posted in wolfSSL)

I see the 5 0 bytes at the end.  When you use the debugger, does your code that writes in the header, length and content get executed? If not, you need to figure out why.

Warm regards, Anthony

Hi Zihao,

You're very welcome. We'd still love to have a chat.  If you have a chance, please send me a meeting invite to anthony@wolfssl.com.

Warm regards, Anthony

80

(7 replies, posted in wolfSSL)

Hi,

I don't see your attachment.

You're probably going to need to run a debugger such as gdb to see if you are actually writing the extension as you expected.

Warm regards, Anthony

Hi Wang Zihao,

Thank you for confirming you got the same result. 
Unfortunately, I don't think I got any message from you. 
Did you send it to anthony@wolfssl.com ?

Can you please re-send to that address?

Warm regards, Anthony

Hi Wangzihao,

How are you? We would love to get on a call with you to better understand how you are using wolfSSL. Would you be open to such a call? Don't worry about potential language issues. I can speak Mandarin. Please let me know.

Warm regards, Anthony

83

(7 replies, posted in wolfSSL)

Hi,

I've had a quick scan of your changes. nothing really jumps out as being wrong. Perhaps it would be a good idea to get wireshark to see and make sure you know the root cause.

Can you please let me know what wireshark shows you?

Warm regards, Anthony

Hi Wangzihao,
Thank you very much for using wolfSSL! 

I tried reproducing what you are seeing. Here is what I did :

cd wolfssl
git checkout master
./autogen.sh 
./configure --enable-static --enable-sp-math-all --enable-opensslall
make all
make check 
sudo make install

I then copied the code supplied in your post into a file called `forum.c` and did the following:

g++ forum.cpp /usr/local/lib/libwolfssl.a  -o forum
./forum

Here are the results I got:


get mp_int af: 0
get mp_int bf: 0
get mp_int prime: 0
get mp_int order: 0
get mp_int ra: 0
get mp_int s: 0
get ecc_point pointG: 0
point is on curve: 0
n3*G: 0
n1*G: 0
n2*B: 0
A is equal to C: 0
get mp_int ra1: 0
get mp_int ra2: 0
ra3*G: 0
ra1*G: 0
ra2*E: 0
D is equal to F: -1

Is this what you are seeing as well? 

I will need to confer with my colleagues. Please stay tuned.

Warm regards, Anthony

85

(4 replies, posted in wolfSSL)

Hello joseph.mazza,

I've put up a pull request on github: https://github.com/wolfSSL/wolfssl/pull/6276
Lets see how my colleagues feel about it in the review comments.

In the meantime, we love to know more about how our code is being use and by whom.  To that end, I have a few questions. 

Can you please let us know your location and any academic or professional affiliations?  I'd also love to know about your project. Can you let us know what you are trying to do and your goals?

Warm regards, Anthony 

Warm regards, Anthony

86

(4 replies, posted in wolfSSL)

Hi,
I apologize for not getting you answer more promptly.  I need to go back to my colleagues for this.
Warm regards, Anthony

87

(4 replies, posted in wolfSSL)

Hello joseph.mazza,

It would seem you have found a bug. I apologize, however, it is quite late in my time zone so I will have ask you to be patient as I start my investigation tomorrow.  In the meantime, please let me know your location and affiliated organization so that I may better prioritize your issue.

Warm regards, Anthony

Note, you can also get the generated certificates from here: https://github.com/wolfSSL/wolfssl-examples/pull/375

Hi Basak,

but, still I cannot start my server with it.

What error message are you seeing?

And yes, the generated files should be moved to wolfssl/certs/ directory

Hi Basak,

I don't know your computer's directory setup so I cannot give you the exact commands you need to execute. When I say /path/to/osp/... I mean "The path to where you downloaded osp project to...."

Hope this helps!

Warm regards, Anthony

Hi basak,

My name is Anthony and I'm a member of the wolfSSL team. Please note that the certificates are not included as part of wolfSSL.  They need to be generated. The instructions for generating them are at https://github.com/wolfSSL/osp/tree/mas … /README.md .

Please let us know about your progress with this experiment.

Warm regards, Anthony

Ok, so you are now having success with our example client. You can now use that as a template to better understand what you need to do.  Since you mentioned embedded, please do consider tiny curl.  It just might fit your use case!

Warm regards, Anthony

Hi msorage,

There is some sort of problem here.  Your debug output indicates you only processed 2 certificates. You should have processed all the certificates in the /etc/ssl/certs.

Please use a debugger to figure why that hasn't happened.

Warm regards , Anthony

Hi,
Please do this and then send over the logs:

./configure --enable-sys-ca-certs  --enable-debug
make all
./examples/client/client -h www.wolfssl.com -p 443 --sys-ca-certs

Hi msorage,
I guess you're going to have to try again with --enable-debug to get some more verbose logging since I can't reproduce your issue here. 
Warm regards, anthony

That's odd.  This is my output:

SSL version is TLSv1.2
SSL cipher suite is TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
SSL curve name is SECP256R1

This is where we are looking for the certificates:

    "/etc/ssl/certs",                   /* Debian, Ubuntu, Gentoo, others */
    "/etc/pki/ca-trust/source/anchors", /* Fedora, RHEL */
    "/etc/pki/tls/certs"                /* Older RHEL */

What distribution of linux are you using? Can you check the locations specified above to see if there are certificates there?

Warm regards, Anthony

Hi,
Also, please consider tiny-curl. You can find it at https://www.wolfssl.com/download/

Warm regards, Anthony

On Linux, this worked for me:

./configure --enable-sys-ca-certs  
make all 
./examples/client/client -h www.wolfssl.com -p 443 --sys-ca-certs 

Warm regards, Anthony

Hi,

May I ask why you are doing this and what you are trying to achieve?  Is this an academic or hobby project?  We love know what people are doing with wolfSSL.

Have you considered using curl? You can download the source for curl and build it with wolfSSL underneath.  Then you can look at how curl is calling wolfSSL to get a better understanding of what is needed. Or, depending on your needs, curl might be a better fit.

Warm regards, Anthony