Manual Chapter :
Securing Client-Side SMTP Traffic
Applies To:
Show VersionsBIG-IP APM
- 17.1.1, 17.1.0, 17.0.0
F5 SSL Orchestrator
- 17.1.1, 17.1.0, 17.0.0
BIG-IP Analytics
- 17.1.1, 17.1.0, 17.0.0
BIG-IP LTM
- 17.1.1, 17.1.0, 17.0.0
BIG-IP AFM
- 17.1.1, 17.1.0, 17.0.0
BIG-IP PEM
- 17.1.1, 17.1.0, 17.0.0
BIG-IP DNS
- 17.1.1, 17.1.0, 17.0.0
BIG-IP ASM
- 17.1.1, 17.1.0, 17.0.0
Securing Client-Side SMTP Traffic
Overview: Securing client-side SMTP traffic
You can add SSL encryption to SMTP traffic quickly and easily, by
configuring an SMTPS profile on the BIG-IP system.
SMTPS
is a method for securing Simple Mail Transport Protocol (SMTP) connections at the transport
layer.Normally, SMTP traffic between SMTP servers and clients is unencrypted.
This creates a privacy issue because SMTP traffic often passes through routers that the
servers and clients do not trust, resulting in a third party potentially changing the
communications between the server and client. Also, two SMTP systems do not normally
authenticate each other. A more secure SMTP server might only allow communications from
other known SMTP systems, or the server might act differently with unknown systems.
To mitigate these problems, the BIG-IP system includes an SMTPS profile
that you can configure. When you configure an SMTPS profile, you can activate support for
the industry-standard STARTTLS extension to the SMTP protocol, by instructing the BIG-IP
system to either allow, disallow, or require STARTTLS activation for SMTP traffic. The
STARTTLS extension effectively upgrades a plain-text connection to an encrypted connection
on the same port, instead of using a separate port for encrypted communication.
This illustration shows a basic configuration of a BIG-IP system that
uses SMTPS to secure SMTP traffic between the BIG-IP system and an SMTP mail server.
Creating an SMTPS profile
This task specifies that STARTTLS authentication and encryption should be required
for all client-side Simple Mail Transport Protocol (SMTP) traffic. When you require
STARTTLS for SMTP traffic, the BIG-IP system effectively upgrades
SMTP connections to include SSL, on the same SMTP port.
- On the Main tab, click.The SMTPS profile list screen opens.
- ClickCreate.The New SMTPS Profile screen opens.
- In theNamefield, type a unique name for the profile.
- Select theCustomcheck box.
- From theSTARTTLS Activation Modelist, selectRequire.
- ClickFinished.
The BIG-IP system is now required to activate STARTTLS for all client-side SMTP traffic.
Create a Client SSL profile
You create a Client SSL profile when you want the BIG-IP system to
authenticate and decrypt/encrypt client-side application traffic.
- On the Main tab, click.The Client SSL profile list screen opens.
- ClickCreate.The New Client SSL Profile screen opens.
- Configure all profile settings as needed.
- ClickFinished.
After creating the Client SSL profile and assigning the profile to a virtual server,
the BIG-IP system can apply SSL security to the type of application traffic for which
the virtual server is configured to listen.
Creating a virtual server and load-balancing pool
You use this task to create a virtual server, as
well as a default pool of LDAP servers. The virtual server then listens for and applies
the configured STARTTLS activation to client-side or server-side LDAP traffic, or both.
Part of creating this virtual server is specifying the names of any client-side and
server-side LDAP and SSL profiles that you previously created.
- You use this task to create a virtual server, as well as a default pool of LDAP servers. The virtual server then listens for and applies the configured STARTTLS activation to client-side or server-side LDAP traffic, or both. Part of creating this virtual server is specifying the names of any client-side and server-side LDAP and SSL profiles that you previously created.The Virtual Server List screen opens.
- Click theCreatebutton.The New Virtual Server screen opens.
- In theNamefield, type a unique name for the virtual server.
- In theDestination Address/Maskfield, type an address, as appropriate for your network.The supported format is address/prefix, where the prefix length is in bits. For example, an IPv4 address/prefix is10.0.0.1or10.0.0.0/24, and an IPv6 address/prefix isffe1::0020/64or2001:ed8:77b5:2:10:10:100:42/64. When you use an IPv4 address without specifying a prefix, the BIG-IP system automatically uses a/32prefix.
- In theService Portfield, type389or selectLDAPfrom the list.
- From theConfigurationlist, selectBasic.
- For theSSL Profile (Client)setting, in theAvailablebox, select a profile name, and using the Move button, move the name to theSelectedbox.
- From theClient LDAP Profilelist, select the Client LDAP profile that you previously created.
- From theServer LDAP Profilelist, select the Server LDAP profile that you previously created.
- In the Resources area of the screen, for theDefault Poolsetting, click theCreate (+)button.The New Pool screen opens.
- In theNamefield, type a unique name for the pool.
- In the Resources area, for theNew Memberssetting, select the type of new member you are adding, then type the information in the appropriate fields, and clickAddto add as many pool members as you need.
- ClickFinishedto create the pool.The screen refreshes, and reopens the New Virtual Server screen. The new pool name appears in theDefault Poollist.
- ClickFinished.
After you have created the required LDAP and SSL profiles and assigned them to a
virtual server, the BIG-IP system listens for client- and server-side LDAP traffic on
port 389. The BIG-IP system then activates the STARTTLS method for that traffic to
provide SSL security on that same port, before forwarding the traffic on to the
specified LDAP server pool.
Implementation result
After you have created an SMTPS profile and a Client SSL profile and assigned them to a virtual server, the BIG-IP system listens for client-side SMTP traffic on port 25. The BIG-IP system then activates the STARTTLS method for that traffic, to provide SSL security on that same port, before forwarding the traffic on to the specified server pool.