<Poster id="cover" loadDisplayMode="scaleToZoom"/>
function Init()
m.cover = m.top.findNode("cover")
m.cover.SetCertificatesFile("common:/certs/ca-bundle.crt")
m.cover.AddHeader("developer ID", "")
m.cover.InitClientCertificates()
m.isLandScapeMode = true
m.itemInfo = m.top.findNode("itemInfo")
m.title = m.top.findNode("title")
m.description = m.top.findNode("description")
m.itemDetails = m.top.findNode("itemDetails")
m.backgroundPoster = m.top.findNode("backgroundPoster")
m.cover.observeField("loadStatus", "OnCoverLoadStatusChanged")
end function
m.top.SetCertificatesFile("common:/certs/ca-bundle.crt")in the main scene init and in result all your other nodes should start automaGically working with https too!
m.top.InitClientCertificates()
sub init()
m.top.SetCertificatesFile("common:/certs/ca-bundle.crt")
m.top.InitClientCertificates()
Hello, I tried the same thing to load https image in Roku. Currently, I used the latest 9.3.0 software version.
sub init() m.poster = m.top.findNode("testPoster") m.poster.SetCertificatesFile("pkg:/certificates/cacert.crt") m.poster.InitClientCertificates()
'm.top.SetCertificatesFile("common:/certs/ca-bundle.crt")
'm.top.InitClientCertificates()
'm.poster.SetCertificatesFile("common:/certs/ca-bundle.crt")
'm.poster.AddHeader("developer ID", "")
'm.poster.InitClientCertificates()
m.poster.uri="https://simultv.com:1400//nodeapi/Channels/file-1591699694712.jpg"
m.poster.failedBitmapUri="pkg:/images/splash_hd.jpg"
m.poster.observeField("loadStatus","OnLoadStatusChanged")
m.top.SetFocus(true)
End sub
function OnLoadStatusChanged()
?"m.poster.loadStatus : "m.poster.loadStatus
end function
Here, I checked with the other https Url. It's Working Fine. But I don't know why it's a problem with my https URL. My https Url Without adding any certificate, working fine for all other platforms like Android, IOS, Amazone Fire Stick, and also Google Chrome. Does anyone know what is the reason for not loading the https URL?
Have you checked the SSL certificate for that particular resource? This could be the culprit:
@cranklin wrote:Have you checked the SSL certificate for that particular resource? This could be the culprit:
I saw this before. I think this issue is another issue. Because the normal https with the same Domain(https://simultv.com/ace.png) It's working fine. If the SSL issue then also will not load with normal HTTPS stream. I deep analyze with my issue. I found, Domain running with Port, It's not loaded in Roku. Without Port the same domain. it's working fine. But, I don't know clearly if this is an SSL problem or something else. I never used an SSL certificate before on my channels.