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/TLS Certificate #84

Closed
matteowiz opened this issue May 19, 2024 · 2 comments
Closed

SSL/TLS Certificate #84

matteowiz opened this issue May 19, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@matteowiz
Copy link

Hello,

is it possible to specify a ssl/tls server certificate to be used?

Regards

matteo

@matteowiz matteowiz added the enhancement New feature or request label May 19, 2024
@loopingz
Copy link
Owner

Hello, you can specify the secure parameter to true.

Then you can configure it with the tls parameter that is documented here:
https://nodejs.org/api/tls.html#tls_class_tls_tlssocket
and here
https://nodejs.org/api/tls.html#tlscreatesecurecontextoptions

I rely on the great lib done by NodeMailer https://github.com/nodemailer/smtp-server so any of their options work on this project.

If you endup configuring TLS, I would appreciate an update of the README.md with an example of TLS configuration, as I think it would be helpful to other people.

Thank you

@loopingz
Copy link
Owner

loopingz commented Jul 9, 2024

@matteowiz any feedback? Can I close the issue?

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