Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config issue with parsec provider #68

Open
jainvikas8 opened this issue Aug 5, 2024 · 0 comments
Open

Config issue with parsec provider #68

jainvikas8 opened this issue Aug 5, 2024 · 0 comments

Comments

@jainvikas8
Copy link

When following instructions on Debian (Unbuntu 22 LTS on a docker container)
https://github.com/parallaxsecond/parsec-openssl-provider?tab=readme-ov-file#configuring-the-provider
We see the issue of the provider not being configured correctly.

 $ openssl list -providers
Providers:
  default
    name: OpenSSL Default Provider
    version: 3.0.2
    status: active

but

$ openssl list -providers -provider-path /tmp/parsec-openssl-provider-shared/target/debug  -provider libparsec_openssl_provider_shared
[INFO  parsec_service::front::front_end] New request received without authentication
                                                                                    [INFO  parsec_service::front::front_end] Response sent back from request without authentication
                          [INFO  parsec_service::front::front_end] New request received without authentication
                                                                                                              [INFO  parsec_service::front::front_end] Response sent back from request without authentication
                                                    Providers:
  libparsec_openssl_provider_shared
    name: Parsec OpenSSL Provider
    version: 0.1.0
    status: active

works!!

If

[openssl_init]
providers = provider_sect

[provider_sect]
default = default_sect
parsec = parsec_sect

[parsec_sect]
module = /path-to-shared-library/libparsec_openssl_provider_shared.so
activate = 1

[default_sect]
activate = 1

are saved to openssl.cnf file and we configure OPENSSL_CONF=/tmp/openssl.cnf then it works....

It seems some config is missing or clarity in instructions would be good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant