简体   繁体   English

通过SSL(HTTPS)的Samsung Smart TV请求。 无法从服务器获得答案

[英]Samsung Smart TV request over SSL (HTTPS). Can't get an answer from server

Sometimes I make Smart TV applications. 有时我会制作智能电视应用程序。 I've already done 2 of them. 我已经完成了其中两个。 One uses HTTPS address another just HTTP. 一个使用HTTPS地址,另一个使用HTTP。 Both of them work correctly on TV, but... 它们都可以在电视上正常工作,但是...

I faced a problem of making request to HTTPS address. 我遇到了向HTTPS地址发出请求的问题。 The technical supports says that some TVs may not recognize some SSL-certificates. 技术支持人员说,某些电视可能无法识别某些SSL证书。

I've recently started to choose some of SSL-certificates and installed on my apache-server. 我最近开始选择一些SSL证书并安装在我的apache服务器上。 The problem is — in one domain address request works fine, on another it does not. 问题是-在一个域地址请求中工作正常,而在另一个域中则不能。

Does anyone know what kind of problem it can be? 有谁知道这可能是什么问题?

My request code is: 我的请求代码是:

    var url = 'https://smarttv.ibecsystems.kz';

$.ajax({
    'url' : url,
    'dataType' : 'html',
    'async' : false,
    'crossDomain' : true,
    'contentType' : 'application/json; charset=utf-8',      
    'success' : function(json) {
        $('#divcontent1').html('Ok!');
    },
    'error' : function() {   
        $('#divcontent1').html('error');    
    }
}); 

https://smarttv.ibecsystems.kz - works fine, and https://api.krisha.kz - does not. https ://smarttv.ibecsystems.kz-正常,而https ://api.krisha.kz-无效。 Although they have the same SSL-certificate. 尽管它们具有相同的SSL证书。

Thanks! 谢谢!

I've tried to visit your pages with chrome browser and found that api.krisha.kz certificate is invalid. 我尝试使用Chrome浏览器访问您的页面,发现api.krisha.kz证书无效。 Look at the message below when i'm visiting the site 当我访问该网站时,请查看以下消息

This is probably not the site you are looking for! 这可能不是您要查找的网站! You attempted to reach api.krisha.kz, but instead you actually reached a server identifying itself as api.kolesa.kz. 您试图访问api.krisha.kz,但实际上是到达了一个将自身标识为api.kolesa.kz的服务器。 This may be caused by a misconfiguration on the server or by something more serious. 这可能是由于服务器上的配置错误或更严重的情况引起的。 An attacker on your network could be trying to get you to visit a fake (and potentially harmful) version of api.krisha.kz. 您网络上的攻击者可能试图让您访问api.krisha.kz的虚假(可能有害)版本。

When the other site there is no certificate problem. 当另一个站点没有证书问题时。 I think this is the problem please fix the certificate with just create self-signed certificate for the api.krisha.kz domain 我认为这是问题所在,请仅通过为api.krisha.kz域创建自签名证书来修复证书

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM