Forum Discussion

bbrouse's avatar
bbrouse
Visitor
15 years ago

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.

6 Replies

  • 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
  • Please PM me an url you are trying to access and I'll take a look.

    --Kevin
  • 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