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

Allow setting of cipher suites & ALPN version #570

Closed
iw-an opened this issue Aug 24, 2020 · 1 comment
Closed

Allow setting of cipher suites & ALPN version #570

iw-an opened this issue Aug 24, 2020 · 1 comment

Comments

@iw-an
Copy link

iw-an commented Aug 24, 2020

I think that it would be a great addition to the library if it was possible to pass the cipher suites that we wanted to use and the ALPN type via the SSLContext

I've seen that its possible to set the ALPN version here: https://github.com/JuliaLang/MbedTLS.jl/blob/master/test/runtests.jl#L150

However I'm currently unsure about the technicalities behind setting the allowed cipher suites in MbedTLS

Thanks

@quinnj
Copy link
Member

quinnj commented May 28, 2022

Sorry for the very slow response here; you are able to pass your own sslconfig::MbedTLS.SSLConfig, so as far as I understand, you can indeed control the cipher settings/etc on your own that way. I'm going to make a note to include this in the documentation update I do soon.

@quinnj quinnj closed this as completed May 28, 2022
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

2 participants