Home » Sonus » Skype for Business and Sonus – Part 5 – Adding Encryption

Skype for Business and Sonus – Part 5 – Adding Encryption

In Part 4, we discussed and walked through how to connect the SBC up between the PSTN and Skype for Business using simple unencrypted signalling and media. In this article we will discuss how to create a secure connection to Skype for Business and encrypt the media traffic between them.

The first thing we must do is request and install an SSL certificate on the SBC. This can be from either a trusted SSL provider (if you are connecting to external services over TLS too) or from your internal PKI system, if you are encrypting internal traffic only.

  1. In the settings tab > security > SBC certificate > generate Sonus CSR fill out the request form providing the correct information
  2. Copy the CSR output to notepad and save as the file as SBC.req
  3. Process the CSR against your internal / external CA and obtain a valid certificate. The certificate must be in either X.509 or PCKS file format
  4. To install the certificate, you must first import the root certificate of the CA that issued you the cert. Click on trusted CA certificates and upload the root certificate to the SBC
  5. Next install the certificate supplied to the SBC from the CA, by clicking on the Sonus Certificates menu item and uploading your certificate
  6. Now reboot the Sonus SBC for the certificate to come into effect.
  7. After the reboot the first configuration item we need to create is a Media Crypto Profile. This profile dictates what algorithms are supported for encrypting the media. From the media > media crypto profiles menu create a new profile called Skype Crypto Profile. Change the operation from supported to required and change the Key identifier length from 1 to 0
  8. Edit your Skype Media list and change the Crypto Profile ID to Skype Crypto Profile and apply the change
  9. Next we need to create a TLS profile. From the security > tls profiles menu create a new TLS profile called Skype TLS Profile. Change the TLS protocol to TLS 1.0 only and disable client validation
  10. Now you will have to mark the Skype Signalling group as inactive and remove the federated IP/FQDN of the Skype Mediation Server from the Signalling group.
  11. Once you have done this, go to SIP > SIP Server Tables > Skype Mediation Servers
  12. Change the listening port of the Mediation servers to 5067 and the protocol to TLS and choose the Skype TLS Profile
  13. Now go back to the Signalling group for Skype and change the listen port from TCP 5068 to TLS 5067 and choose the Skype TLS Profile
  14. Bring your signalling group back online and you now have a secure connection to Skype for Business using TLS.
  15. Edit the Skype for Business trunk configuration to require encryption and restart the mediation service
  16. To test if media is being encrypted between endpoints, you can run wireshark or view the logs from the SBC / Skype for Business to prove TLS (I just haven’t had the time yet to put it here).

Part 6 >> Getting Around NAT

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: