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: 

Https Failure

Hi,

When i use roku request.SetCertificatesFile("common:/certs/ca-bundle.crt") some of https calls work, But for one service i had to use a custom certificate when i tried using that i get error code is -60 and error message: "SSL certificate problem: unable to get local issuer certificate". I tried openssl s_client -showcerts -connect 'xxx.com:443' i do see the response, i mean all certificates listed.

Any help i would really appreciate, really stuck in a critical situation.

Thanks in advance for the help.

Prajwal
0 Kudos
5 Replies

Re: Https Failure

Any help on this is appreciated
0 Kudos

Re: Https Failure

Hi,

Sorry i thought i figured it out but i have a strange situation when i use root certificate https works but when i used certificate in the last chain it does not when i run openssl s_client -showcerts -connect '<domain>.com:443' i get below error
verify error:num=20:unable to get local issuer certificate
verify return:0

Even though i see this error i see all the certificates been listed all 3 including last child,intermediate one and the root certificate. Any help would be really appreciated. I am stuck with this issue and in a serious time crunch any help will be appreciated.

Regards,
Prajwal
0 Kudos
Roku Employee
Roku Employee

Re: Https Failure

Sometimes disabling host and/or peer verification can help with with these kinds of issues.

http://sdkdocs.roku.com/display/sdkdoc/ ... easBoolean)asBoolean
0 Kudos

Re: Https Failure

Hi,

Thanks for the update sorry again had one more question, EnablePeerVerification i thought this should not disabled right?

Prajwal
0 Kudos

Re: Https Failure

Hi All,

Any help on this will be much appreciated.

Regards,
Prajwal
0 Kudos