Sync with latest version of FS; I added https support.  There is a cacert.pem file in mod_http_cache/conf directory that you'll want to put in freeswitch/conf directory.

The following new params are available in http_cache.conf

ssl-cacert : this is the absolute path to the cacert.pem file.  default is /usr/local/freeswitch/conf/cacert.pem
ssl-verifypeer : if false the cert is not verified
ssl-verifyhost : if false the host name does not have to match the cert

Let me know if there are any problems.

Chris


On Tue, Apr 24, 2012 at 6:39 PM, RaviRaj Mulasa <rml@tollfreeforwarding.com> wrote:

Hi

 

I am trying to prefetch a file to play using mod_http_cache.

The URL @ which the file is located uses HTTPS instead of HTTP

 

HTTPS

freeswitch@myplayground> http_prefetch https://myfiles/file_1.wav

USAGE: <url>

 

 

HTTP

freeswitch@myplayground> http_prefetch http://myfiles/file_1.wav

+OK

 

2012-04-24 08:25:48.108625 [DEBUG] mod_http_cache.c:396 Locked cache

2012-04-24 08:25:48.108625 [INFO] mod_http_cache.c:476 Cache MISS: size = 0 (0 MB), hit ratio = 0/1

2012-04-24 08:25:48.108625 [DEBUG] mod_http_cache.c:541 Adding http://myfiles/file_1.wav(/tmp/http_cache/c4/9828e2-8e21-11e1-9e33-017c98d37fa6.wav) to cache index 0

2012-04-24 08:25:48.108625 [DEBUG] mod_http_cache.c:407 Unlocked cache

2012-04-24 08:25:48.108625 [DEBUG] mod_http_cache.c:728 opening /tmp/http_cache/

 

 

 

Please let me know how can I

HTTP_PREFETCH

HTTP_GET                           using a URL that uses HTTPS.

 

Thanks

RaviRaj.

 

 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org