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

AMQPS / mTLS available with Deno unstable API #44

Open
herenickname opened this issue Oct 10, 2023 · 0 comments
Open

AMQPS / mTLS available with Deno unstable API #44

herenickname opened this issue Oct 10, 2023 · 0 comments

Comments

@herenickname
Copy link

In Deno it is now possible to use mTLS
Thanks to the certChain and privateKey parameters in the unstable API of the connectTLS method.
Read more: https://deno.land/api@v1.37.1?s=Deno.ConnectTlsOptions&unstable=.

Please consider adding to src/amqp_connect.ts the ability to specify client certificates to fully utilize TLS session with verify-peer option.

Since the parameter is only available with the unstable API, a possible solution is to generate an error if the certificate passed and the unstable option missing, as implemented here:
https://github.com/cloudydeno/deno-kubernetes_client/blob/main/transports/via-kubeconfig.ts#L87

Thank you for your work!

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