Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bbrouse
Visitor

Certificate Handling

I'm trying to access an https url to stream content from ne.edgecast.cdn.net and the certificate has 'cn=edgecastcdn.net' and a subject alternate names of edgecastcdn.net, edgecastcdn.ne.net. When attempting to open the stream in a video screen I get this error:

play failed: An unexpected problem (but not server timeout or HTTP error) has been detected.

Does anyone know if Roku can handle subject alternate names? This same url works fine without SSL.
0 Kudos
6 REPLIES 6

Re: Certificate Handling

This may be related to these posts:
viewtopic.php?f=34&t=39703
viewtopic.php?f=34&t=39683

I don't have any answers yet, but I'll be investigating as I have time.
0 Kudos
RokuKevin
Visitor

Re: Certificate Handling

Looks like host ne.edgecast.cdn.net is not available....

--Kevin
0 Kudos
bbrouse
Visitor

Re: Certificate Handling

The hostname is ne.edgecastcdn.net, the cn is to edgecastcdn.net and the subject alternate names are edgecastcdn.net, ne.edgecastcdn.net

The server is up and running right now
0 Kudos
RokuKevin
Visitor

Re: Certificate Handling

Please PM me an url you are trying to access and I'll take a look.

--Kevin
0 Kudos

Re: Certificate Handling

bbrouse,

Try something like the following:

    obj = CreateObject("roUrlTransfer")
obj.SetPort(CreateObject("roMessagePort"))
obj.SetUrl(url)
obj.AddHeader("Content-Type", "application/x-www-form-urlencoded")
obj.SetCertificatesFile("common:/certs/ca-bundle.crt")
obj.InitClientCertificates()
obj.EnableEncodings(true)


This was what worked for me.

Ryan
0 Kudos
joy
Visitor

Re: Certificate Handling

That was also worked for me.
'[url=http://badabingbaby.com]USB flash drives[/url]'
0 Kudos