GithubHelp home page GithubHelp logo

Comments (5)

anhu avatar anhu commented on May 28, 2024

HI @sandilya761 , please see https://github.com/wolfSSL/wolfssl/blob/master/INSTALL . There are instructions there for a post-quantum TLS 1.3 connection there. See Item number 15 on that page.

from wolfssl-examples.

sandilya761 avatar sandilya761 commented on May 28, 2024

Hi @anhu, Thanks for the instructions. I am able to run the following command:
./examples/server/server -v 4 --pqc P521_KYBER_LEVEL5
./examples/client/client -v 4 --pqc P521_KYBER_LEVEL5

Following are the outputs:
image
image

But following commands are not working:

examples/server/server -v 4 -l TLS_AES_256_GCM_SHA384 \
      -A certs/falcon_level5_root_cert.pem \
      -c certs/falcon_level1_entity_cert.pem \
      -k certs/falcon_level1_entity_key.pem \
      --pqc P521_KYBER_LEVEL5

examples/client/client -v 4 -l TLS_AES_256_GCM_SHA384 \
      -A certs/falcon_level1_root_cert.pem \
      -c certs/falcon_level5_entity_cert.pem \
      -k certs/falcon_level5_entity_key.pem \
      --pqc P521_KYBER_LEVEL5

Following is my output:

image

from wolfssl-examples.

sandilya761 avatar sandilya761 commented on May 28, 2024

Apart from the above one, I see that there is a pq directory in wolfssl-examples in which there is a client server tls1.3 program.
I tried running them is working perfectly fine. Following is the output:
image
image

Program is not executed (unable to load certificates) when path is changed to a new one which contains my own certificate chain. My chain contains one root CA, one intermediate CA and one server certificate.

Following picture shows the changed path in server-tls13.c program

image
commented lines indicates the path to default certificates in the certs directory.

Also, I tried loading combined certificate (server+intermediate) but still same problem persists.

Following figure shows the error:
image

from wolfssl-examples.

anhu avatar anhu commented on May 28, 2024

I see you are running on Ubuntu so you must be building with ./configure. Please add --enable-debug and add a call to wolfSSL_Debugging_ON() in the server example. Then please share the log. Please also share the script that generates the certificate chain and pem files.

from wolfssl-examples.

sandilya761 avatar sandilya761 commented on May 28, 2024

Issue resolved.
Thanks!!

from wolfssl-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.