Comments (4)
@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.
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.
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.
Fixed by #16
from oqs-demos.
Related Issues (20)
- Update test server with liboqs 0.9.2 release HOT 3
- Introduce CI mechanism to use specific liboqs/oqs-provider versions
- Add QUIC support HOT 3
- !DOCTYPE ERROR HOT 1
- Not able to get OQS-Chromium browser working - https://openquantumsafe.org/applications/tls.html#chromium HOT 19
- oqs-epiphany not working HOT 11
- qteslapi is not supported by oqs openssl HOT 1
- Dont get Server Temp Key in openssl s_client when testing HOT 1
- Update test server with liboqs 0.10.0 release HOT 8
- HAProxy HOT 3
- httpd docker image is not running HOT 2
- Build failures in CI HOT 1
- openvpn deployment HOT 1
- How to enabled specific KEM algorithms from liboqs in the oqs-demos/openvpn docker build HOT 3
- failed to build nginx HOT 2
- support for nginx-ingress controller HOT 2
- Faling in Building nginx server with pqc certificate HOT 1
- Automate and streamline docker image generation
- Revitalize OQS Demos Project HOT 6
- Curl throwing cipher error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oqs-demos.