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: 
adrianc1982
Visitor

SSL setup (webserver)

hello guys, i want to comply with roku crt file. Im a newbie and been researching that roku will not work with my private crt file it has to be a trusted file

so my question is where do i get this trusted .crt .csu y .key. I know there are sites like ssl.com where you can get a trusted cert file, but will roku work with one of those?

Please point me in the right direction :?

Thanks.
0 Kudos
4 REPLIES 4
destruk
Binge Watcher

Re: SSL setup (webserver)

It ought to work with your private SSL file - provided you load the matching CRT file on roku instead of using the common package.
.SetCertificatesFile("pkg:/source/MyServer.crt")
0 Kudos
adrianc1982
Visitor

Re: SSL setup (webserver)

not working for me i created a folder named certs and placed the crt file there

i get this when i use .SetCertificatesFile("pkg:/certs/mycert.crt")

code:-77
fail:error setting certificate verify locations:
CAfile: /tmp/plugin/FLAAAAsHIivw/pkg:/certs/mycert.crt
CApath: none
0 Kudos
renojim
Community Streaming Expert

Re: SSL setup (webserver)

It looks to me like it's not finding the file in your package. Are you sure it's in the zip and it's in the "certs" subdir?

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
adrianc1982
Visitor

Re: SSL setup (webserver)

thank you renojim, actually im using the eclipse plugin and just didnt tick the certs folder when building the app.

Didnt notice until you said so.
0 Kudos