Changes between Version 3 and Version 4 of TLS
- Timestamp:
- Jan 22, 2008 4:29:32 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TLS
v3 v4 14 14 [ req ] 15 15 prompt = no 16 distinguished_name = sip_pjsip_org16 distinguished_name = your_distinguished_name 17 17 18 [ sip_pjsip_org]18 [ your_distinguished_name ] 19 19 commonName = sip.pjsip.org 20 subjectAltName = sip01.pjsip.org 21 subjectAltName = sip02.pjsip.org 20 subjectAltName = sip.pjsip.org 22 21 stateOrProvinceName = London 23 22 countryName = GB … … 45 44 }}} 46 45 47 == Configuring pjsua as TLS Server ==46 == Running pjsua as TLS Server == 48 47 49 48 1. Download CACert root certificate from https://www.cacert.org/index.php?id=3, save to local file (say '''root.pem'''). 50 49 1. Run pjsua: 51 50 {{{ 52 $ ./pjsua --use-tls --tls-ca-file root.pem --tls-cert-file server-cert.pem 51 $ ./pjsua --use-tls --tls-ca-file root.pem --tls-cert-file server-cert.pem --tls-privkey-file user-privkey.pem 53 52 54 53 }}} 54 55 == Running pjsua as TLS Client == 56 57 To make call to SERVER using TLS: 58 59 {{{ 60 $ ./pjsua --use-tls sip:SERVER;transport=tls 61 }}} 55 62 56 63