Changes between Version 9 and Version 10 of TLS


Ignore:
Timestamp:
Oct 18, 2011 6:28:10 AM (12 years ago)
Author:
nanang
Comment:

TLS mutual authentication

Legend:

Unmodified
Added
Removed
Modified
  • TLS

    v9 v10  
    2828 
    2929 
    30 == Running pjsua as TLS Server == 
     30== Running pjsua as TLS Server == #pjsua-tls-server 
    3131 
    32  1. You will need to have all three PEM files: 
     32 1. You will need specify a TLS certificate, represented by three PEM files: 
    3333     a. The root certificate 
    3434     a. The server certificate 
     
    5252 
    5353 
     54== Enable TLS mutual authentication == 
     55 
     56Basically, it is done by two ways certificate verification, so both sides must provide TLS certificate (as described in [#pjsua-tls-server Running pjsua as TLS Server] above) and enable verification: 
     57 - as TLS server: append pjsua option {{{--tls-verify-client}}}, 
     58 - as TLS client: append pjsua option {{{--tls-verify-server}}}. 
     59 
     60To see about TLS in library level, check the TLS docs in the links section below. 
     61 
     62 
    5463== Links == 
    5564 
    5665 - [wiki:TLS_on_Symbian] 
     66 - TLS in PJSUA-LIB: [http://www.pjsip.org/docs/latest/pjsip/docs/html/structpjsua__transport__config.htm#af5312dee746201415930e0c4fb445a7c pjsua_transport_config::tls_setting]. 
     67 - TLS in PJSIP: [http://www.pjsip.org/docs/latest/pjsip/docs/html/group__PJSIP__TRANSPORT__TLS.htm TLS SIP Signalling Transport]. 
     68 - TLS in PJLIB: [http://www.pjsip.org/docs/latest/pjlib/docs/html/group__PJ__SSL__SOCK.htm Secure socket I/O].