Should take four changes in tport/ to add this capability. 1) Add new string tags for the certificate passphrase. (tport_tag.c and sofia-sip/tport_tag.h ) 2) Extend the tls_issues_t structure with a field for the passphrase. (tport_tls.h) 3) Parse for the new tag in tport_tls_init_master() and store it in tls_issues_t. (tport_tls.c) 4) Set the OpenSSL context in tport_tls_init_master(). (tport_type_tls.c)
-Jarod ________________________________ From: Inca Rose [mailto:incar...@gmail.com] Sent: Tuesday, January 04, 2011 6:40 AM To: sofia-sip-devel@lists.sourceforge.net Subject: [Sofia-sip-devel] setting the password for a password protected TLS private key in a pem file Hi; I'm using sofia-sip with TLS. It works OK while using non password protected agent.pem and cafile.pem files. I cannot find a way to pass the password to tport when the private key in the pem files are protected. On openSSL I found the password callback function: SSL_CTX_set_default_passwd_cb. The Callback function gets called whenever openssl needs the password for the private key. Is this function implemented in sofi-sip ?? I'm using the latest git master branch from. If someone send me some hints I can implement this my self and send the patch Thanks Inca ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel