Git Product home page Git Product logo

Comments (4)

baentsch avatar baentsch commented on July 28, 2024

@bpriya8711 Thanks for the problem report. Indeed, a change in upstream code has led to the documentation to be out of sync with the code. Until this is fixed, here is a workaround:
Decide for a (set of) QSC KEM algorithm(s) to use (from the list here), then specify this in the file nginx.conf, e.g., as follows:

ssl_ecdh_curve oqs_kem_default:frodo976shake:frodo1344shake:kyber512:kyber768:kyber1024:newhope512cca:newhope1024cca:ntru_hps2048509:ntru_hps2048677:ntru_hrss701:lightsaber:saber:sidhp434:sidhp503:sikep751;

After building the docker image you can then select any of the KEX algorithms in this list in the command you want to execute above (docker exec oqs-nginx /opt/openssl/apps/openssl s_client -CAfile CA.crt -curves oqs_kem_default -connect localhost:4433) and it will work OK (i.e., a QSC-connection utilizing the algorithm you want to use is established).

from oqs-demos.

bpriya8711 avatar bpriya8711 commented on July 28, 2024

image
Thanks for the prompt response, we are able to generate the certificate using the command.
" docker exec oqs-nginx /opt/openssl/apps/openssl s_client -CAfile CA.crt -curves oqs_kem_default -connect localhost:4433" after doing the changes in nginx.conf file.
When I tried to navigate to the URL localhost:4433 then I am getting "localhost didn’t send any data. ERR_EMPTY_RESPONSE". I have attached the screenshot for the same.
Note: This is my first experience working with docker, SSL, and Nginx.
Kindly Help me in this regard.

from oqs-demos.

baentsch avatar baentsch commented on July 28, 2024

Well, when you point a(ny) browser to this server, this browser('s software) needs to be enabled to use QSC cryptography -- and it looks like yours isn't. There are generally very few that try to already achieve QSC-interactions: Did you already take a look at https://github.com/open-quantum-safe/oqs-demos/tree/master/chromium ? For using QSC-TLS "application level interaction" I'd suggest using curl on the client side (see https://github.com/open-quantum-safe/oqs-demos/tree/master/curl )

from oqs-demos.

baentsch avatar baentsch commented on July 28, 2024

Fixed by #16

from oqs-demos.

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.