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

Update to“ deno@1.32.1 ”To implement "privateKey" and "certChain" in "Deno. ConnectTlsOptions". #390

Open
LP1994 opened this issue Mar 26, 2023 · 1 comment

Comments

@LP1994
Copy link

LP1994 commented Mar 26, 2023

At"https://deno.land/api@v1.32.1?s=Deno.ConnectTlsOptions&unstable=" has implemented "certChain" and "privateKey", which means that you can now set the "client certificate" and the "key" corresponding to the client certificate to connect to the database using "TLS".

Current“ deno_mongo@0.31.2 ”Version cannot successfully connect to the database using TLS.

I hope this function can be implemented later.

@LP1994
Copy link
Author

LP1994 commented Mar 26, 2023

One thing by the way:
Based on the "npm package, mongodb@5.1.0 ”、“mongodb-windows-x86_64-enterprise-6.0.5.zip”、“ deno@1.32.1 ”", or cannot use" TLS "to connect to the database".
But, Also based on the "npm package, mongodb@5.1.0 ”、“mongodb-windows-x86_64-enterprise-6.0.5.zip”、“ npm@9.6.2 ”、“ node@19.8.1 ”You can use "TLS" to connect to a database.

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