# Assign TLS certificate for SMTP

**URL:** <https://community.ciphermail.com/t/assign-tls-certificate-for-smtp/712>\
**Category:** Gateway\
**Created:** [October 28, 2020, 3:28pm UTC](https://community.ciphermail.com/t/assign-tls-certificate-for-smtp/712 "2020-10-28T15:28:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marcel\_B](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@Marcel\_B](https://community.ciphermail.com/u/Marcel_B)\
**Post date:** [October 28, 2020, 3:28pm UTC](https://community.ciphermail.com/t/assign-tls-certificate-for-smtp/712/1 "2020-10-28T15:28:24Z")

</div>

Hi,

I want to set up my first CipherMail Gateway. I deployed the community edtition as Hyper-V VM. In the Admin -\> SSL/TLS section I cannot find the SMTP section, as described here: [https://www.ciphermail.com/documentation/gateway-administration-guide/tls.html#smtp](https://www.ciphermail.com/documentation/gateway-administration-guide/tls.html#smtp)

How can I upload the certificate for SMTP usage? The chapter is not flagged as "pro" in the manual. And StartTLS should be able for everyone, I think.

Regards,  
Marcel

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [October 30, 2020, 8:08am UTC](https://community.ciphermail.com/t/assign-tls-certificate-for-smtp/712/2 "2020-10-30T08:08:29Z")

</div>

Hi Marcel,

For various reasons, the community edition lacks the page on which you  
can upload the p12 for the SMTP server. We will review whether we can  
add this to the community edition in the next version.

For now, you need to configure this manually on the command line. The  
underlying SMTP server is postfix.

A guide on how to configure this can be downloaded from:

[https://www.ciphermail.com/documents/ciphermail-tls-guide.pdf](https://www.ciphermail.com/documents/ciphermail-tls-guide.pdf)

Unfortunately the guide is not completely up-to-date. Because of a  
security fix, not all postfix settings can be changed from the GUI.

So for example the settings smtpd\_tls\_cert\_file and smtpd\_tls\_key\_file  
cannot be changed using the GUI. These need to be changed from the  
command line.

The Postfix settings can be found in the file /etc/postfix/main.cf

Kind regards,

Martijn Brinkers

> **···**
>
> --  
> CipherMail email encryption  
> Email encryption with support for S/MIME,  
> OpenPGP, PDF Messenger and Webmail Messenger
> 
> On Wed, 2020-10-28 at 15:28 +0000, Marcel B via Users wrote:
> 
> > Hi,
> > 
> > I want to set up my first CipherMail Gateway. I deployed the  
> > community edtition as Hyper-V VM. In the Admin -\> SSL/TLS section I  
> > cannot find the SMTP section, as described here:  
> > [SSL/TLS — CipherMail Documentation](https://www.ciphermail.com/documentation/gateway-administration-guide/tls.html#smtp)
> > 
> > How can I upload the certificate for SMTP usage? The chapter is not  
> > flagged as "pro" in the manual. And StartTLS should be able for  
> > everyone, I think.
> > 
> > Regards,  
> > Marcel  
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > Users mailing list -- users(a)lists.ciphermail.com  
> > To unsubscribe send an email to users-leave(a)lists.ciphermail.com

---

<div class="post-metadata">

**Author:** ![Marcel\_B](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@Marcel\_B](https://community.ciphermail.com/u/Marcel_B)\
**Post date:** [October 30, 2020, 4:37pm UTC](https://community.ciphermail.com/t/assign-tls-certificate-for-smtp/712/3 "2020-10-30T16:37:34Z")

</div>

Hi Martijn,

thank you, it is working now 🙂

Regards,  
Marcel
