Changes between Version 3 and Version 4 of TLS


Ignore:
Timestamp:
Jan 22, 2008 4:29:32 PM (17 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TLS

    v3 v4  
    1414[ req ] 
    1515prompt = no 
    16 distinguished_name = sip_pjsip_org 
     16distinguished_name = your_distinguished_name 
    1717 
    18 [ sip_pjsip_org ] 
     18[ your_distinguished_name ] 
    1919commonName             = sip.pjsip.org 
    20 subjectAltName         = sip01.pjsip.org 
    21 subjectAltName         = sip02.pjsip.org 
     20subjectAltName         = sip.pjsip.org 
    2221stateOrProvinceName    = London 
    2322countryName            = GB 
     
    4544}}} 
    4645 
    47 == Configuring pjsua as TLS Server == 
     46== Running pjsua as TLS Server == 
    4847 
    4948 1. Download CACert root certificate from https://www.cacert.org/index.php?id=3, save to local file (say '''root.pem'''). 
    5049 1. Run pjsua: 
    5150  {{{ 
    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 
    5352 
    5453  }}} 
     54 
     55== Running pjsua as TLS Client == 
     56 
     57To make call to SERVER using TLS: 
     58 
     59{{{ 
     60$ ./pjsua --use-tls sip:SERVER;transport=tls 
     61}}} 
    5562 
    5663