HTTP Gateway with Client Certificates

Some phone operators (e. g. O2 – Europe) can provide SMS gateways that require client certificates. As IceWarp Server supports them, it is easy to set such a gateway.

The whole settings are XML-based. There is a new gateway tag – <CLIENTCERT/> – in the <install_dir>\config\smsgateway.dat file. Simply specify the full path to the client certificate in PEM format which is used by OpenSSL.

Example:

<CLIENTCERT>C:\certificates\cert_o2.pem</CLIENTCERT>

As long as this condition is met and you specify the full HTTPS URL the rest is up to the SMS service. From now on, you can send SMS from within IceWarp Servers and use the built-in SMS server and integrate it with O2 SMS HTTP gateway.

The URL for such a gateway would be e. g.:

https://smsconnector.cz.o2.com/smsconnector/getpost/GP?action=send&baID=1234567&toNumber=%number%&text=%data%

sms_gateway_certificate_dialog

Figure. SMS gateway.