Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
eblade
Posts: 161
Registered: ‎02-08-2012
My Device: PlayBook
My Carrier: None yet

customers want to be able to use https from their app...

... but i'm getting "Peer certificate cannot be authenticated with known CA certificates".  

 

So .. is there some way to be able to accept the certificate?  Browsing to the place in question and accepting it from the browser does not help the app (not that i expected it :smileyhappy: )

 


Please use plain text.
Administrator
astanley
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: customers want to be able to use https from their app...

Https is definitely supported, however it sounds like there is an invalid certificate issue (or the certificate being used is not supported).

 

You are correct the browser application and WebWorks applications are sandboxed from each other and do not share settings / history / cache / etc.

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Please use plain text.
Developer
eblade
Posts: 161
Registered: ‎02-08-2012
My Device: PlayBook
My Carrier: None yet

Re: customers want to be able to use https from their app...

exactly. So, is there some way to accept the invalid certificate as valid, like the browser normally can? I've got it working in Android, webOS, iOS, just missing the PlayBook ..

Situation is the app is designed to talk to a media server. When you're remote from the media server, you can access it via it's domain name, and it works. When you're on the same LAN, though, it redirects you to the LAN address to avoid sending data through the internet just to reach you in your house, which triggers the unknown certificate, since it no longer matches the DNS name.

Please use plain text.