beautypg.com

Using ssl server support for ppg https interface – Nokia WAP and SMS gateway User Manual

Page 98

background image

Chapter 8. Using SSL for HTTP

Using SSL server support for the sendsms HTTP
interface

To use the SSL-enabled HTTP server please use the following configuration directive within the core and
smsbox groups

group = core

...

ssl-server-cert-file = "filename"

ssl-server-key-file = "filenane"

group = smsbox

...

sendsms-port-ssl = true

Using SSL server support for PPG HTTPS interface

If you want use PAP over HTTPS, (it is, a https scheme) add following directives to the ppg core group:

group = ppg

...

ppg-ssl-port = 8090

ssl-server-cert-file = "/home/aarno/kannelcvs/gateway/gw/cert1.pem"

ssl-server-key-file = "/home/aarno/kannelcvs/gateway/gw/key1.pem"

PPG uses a separate port for HTTPS traffic, so so you must define it. This means that you can use both
HTTP and HTTPS, when needed.

91