Forum

Post a new question

Categories:

Tags:

How to configure nimble with ssl

Nimesh 2016-11-25 06:34:24 UTC in Nimble Streamer
01f67b8320a8b086ec443a53bfa1fda0

I've tried to setup nimble.config by generating certificate and key in local machine but still VOD streaming does not work for me, I've added following additional params in my nimble config file :-
added certificate and key files into config folder of nimble

ssl_port = 0
ssl_certificate = ssl-certificate.pfx
ssl_certificate_key = server.key

Thanks in advance..

Alex Pokotilo 2016-11-25 06:42:43 UTC
B0af1cee7eb1e40dd284d9982b3aef70

could you please set
ssl_port = 443
or any other reasonable value

Nimesh 2016-11-25 06:56:51 UTC
01f67b8320a8b086ec443a53bfa1fda0

replace ssl_port 0 to 8086 and restarted nimble service but still i can't stream m3u8 file, my m3u8 url is like

https://rhinodev1.edge360.dev:8086/vod/Other/TestVideo.mp4/playlist.m3u8

it's working fine with http..thanks

Nimesh 2016-11-25 07:03:45 UTC
01f67b8320a8b086ec443a53bfa1fda0

full configuration for nimble.config :-

###############################################
# port number nimble server listens on
#
# default: 8081
###############################################
port = 8085

###############################################
# logging level
#
# the possible values are:
# error, info, verbose, debug
#
# default: info
###############################################
logging = info

###############################################
# number or worker threads
#
# default: 1
###############################################
worker_threads = 2

###############################################
# maximum size of RAM data cache in megabytes
#
# default: 0
###############################################
max_cache_size = 128

###############################################
# maximum size of disk data cache in megabytes
#
# default: 0
###############################################
max_disk_cache_size = 4096

###############################################
# path to the directory to store cache
#
# default: <empty>
###############################################
# cache_path = ../cache will be used by default

###############################################
# parameters to access wmspanel
# (will be filled by registration utility)
#
# panel_domain - wmspanel server address
# panel_port - wmspanel server port
# panel_uuid - wmspanel account id
# panel_password - wmspanel account password
###############################################

ssl_port = 30443
ssl_certificate = /Nimble Streamer/conf/ssl-certificate.pfx
ssl_certificate_key = /Nimble Streamer/conf/Server.key
ssl_certificate_key_pass = ips12345

access_control_allow_origin = *
access_control_allow_headers = Range

Nimesh 2016-11-25 11:05:54 UTC
896e039a563f6ebdaca608e60c798262

Can you please reply my query ??

Yury Udovichenko 2016-11-25 11:32:29 UTC
8926135388643c4be9ec685a7033dc32

Please address this issue to our hepdesk: https://wmspanel.com/help

Nimesh 2016-11-25 12:33:51 UTC
896e039a563f6ebdaca608e60c798262

Getting following error in nimble.log :-

failed to use SSL cert file='C:\Program Files\Nimble Streamer\ssl-certificate.pem'
[2016-11-25 18:01:23 P8232-T5172] [work2] E: failed to use SSL cert file='C:\Program Files\Nimble Streamer\ssl-certificate.pem'
[2016-11-25 18:01:23 P8232-T5172] [work2] E: unknown exception while creating client s=1228
[2016-11-25 18:01:23 P8232-T5172] [work2] E: failed to close socket s=1228 (errno=10038)
[2016-11-25 18:01:23 P8232-T10064] [work1] E: unknown exception while creating client s=1152
[2016-11-25 18:01:23 P8232-T10064] [work1] E: failed to close socket s=1152 (errno=10038)
[2016-11-25 18:01:23 P8232-T5172] [work2] E: failed to use SSL cert file='C:\Program Files\Nimble Streamer\ssl-certificate.pem'
[2016-11-25 18:01:23 P8232-T5172] [work2] E: unknown exception while creating client s=1096
[2016-11-25 18:01:23 P8232-T5172] [work2] E: failed to close socket s=1096 (errno=10038)

Post a reply