PDA

View Full Version : HTTPS Connection issue



DiegoPaleo
25 Sep 2012, 6:59 AM
Hello community,
I'm trying to get JSON data from an HTTPS url, but I've this error on console: "Failed to load resource" :-/. I have the certificate but I don't know how validate with the HTTPS url. Does anyone knows how to configure the application to made this work?

mitchellsimoens
27 Sep 2012, 6:42 AM
Are you doing this from non secure page?

DiegoPaleo
1 Oct 2012, 6:42 AM
It's a simple store on my mobile application...



var HTTPS_STORE = new Ext.data.Store({
model: 'HTTPS_MODEL',
proxy: {
type: 'scripttag',
url: 'https://mysite.com........',
reader: {
type: 'json',
root: 'root'
}
},
autoLoad: true
});


But, I was searching a little bit and (if I understood well!) I realize that I haven't to configurate any certificate. If the secure server is approved by CA (certification authority) and the browser has updated the certificate list, I should not have any problem.