Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
adrianc1982
Level 7

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
destruk
Level 10

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
Level 7

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
Level 8

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
0 Kudos
adrianc1982
Level 7

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