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

SSL Verify Options #178

Open
wedobetter opened this issue May 26, 2024 · 1 comment
Open

SSL Verify Options #178

wedobetter opened this issue May 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@wedobetter
Copy link

wedobetter commented May 26, 2024

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
Make use of standard ssl verify options
ssl.CERT_NONE
ssl.CERT_OPTIONAL
ssl.CERT_REQUIRED

Additional context
Allow for standard SSL client authentication options

Example:

import ssl

from socketing import App, AppOptions

app = App(
    AppOptions(
        ca_file_name="ssl/certs/ca.crt",
        key_file_name="ssl/private/server.key",
        cert_file_name="ssl/certs/server.crt",
        passphrase="password",
        dh_params_file_name="ssl/private/dh.pem"
        ssl_verify=ssl.CERT_REQUIRED
    )
)

Thank you

@cirospaciari cirospaciari added the enhancement New feature or request label Jul 13, 2024
@cirospaciari
Copy link
Owner

I wanna to add all nodejs options to AppOptions https://nodejs.org/api/tls.html#tlscreatesecurecontextoptions
I think this is required to socketify be production grade.

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

No branches or pull requests

2 participants