o4oren / Ad-Hoc-Email-Server

An ad-hoc disposable temporary mail server. Create and use ad hoc disposable mailboxes for testing or any other purpose.
Apache License 2.0
383 stars 91 forks source link

Need SSL certificates to be configured on AHEM Server #76

Open writetoyogi opened 2 years ago

writetoyogi commented 2 years ago

@o4oren I need SSL certificates to be configured on AHEM server side. Please can anyone help on how can I achieve this. Thanks!

o4oren commented 2 years ago

Use a web server in front of it - nginx for example, and use it for ssl termination. This is beyonf the scope of ahem itself.

On Thu, Jul 21, 2022, 17:24 Yogesh Desai @.***> wrote:

I need SSL certificates to be configured on AHEM server side. Please can anyone help on how can I achieve this. Thanks!

— Reply to this email directly, view it on GitHub https://github.com/o4oren/Ad-Hoc-Email-Server/issues/76, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFTF65RB3V2B64YIAVN7PALVVFMTFANCNFSM54H3AZMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

writetoyogi commented 2 years ago

Okay Thanks for your response @o4oren !

We have used nginx which runs on secure port ex. 465 before AHEM(since the ISP blocks port 25) and accept the incoming traffic however when we want to pass that traffic to ahem server, the ssl negotiation fails because of SSL Certs not available on AHEM. So in smtp.js file of AHEM server, is it possible to add 'cert' and 'key' options while we create new SMTPServer?

Any guidance for making it work with this set up will be appreciated.