Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Ssl Certificate Error Alert

T_R_
Beginner
589 Views

Problem mit SSL Zertifikat:

Die Fehlermeldungen:

(- Webseite: keine - ALLES FUNKTIONIERT WIE ES SOLL)

- XDK Emulator: keine - ALLES FUNKTIONIERT WIE ES SOLL

- XDK Debug: Fehler-Fenster mit "Ssl Certificate Error Alert" (nach OK funktioniert alles, nach Abbrechen nicht)

- Installiert auf Android (Galaxy S4): NICHTS funktioniert (kein Popup, und ich lande in der error-Funktion, ohne vernünftige Fehlermeldung)

Mein Code:

var opts = {
            type: "POST",
            success: function (data) {
                getSearchCallback(data);
            },
            error: function(XHR, textStatus, errorThrown) {
                 ;
            },
            url: 'http://........',
            data: {
                'msg': msg
            }
        };

$.ajax(opts);

Das Zertifikat: von Comodo (das power ssl von alfahosting).

Ich habe dort extra ein (billiges) Zertifikat gekauft, weil ein selbst erstelltes mit ajax calls aufgrund der nicht möglichen Vertrauens-Bestätigung nicht funktioniert.

 

 

0 Kudos
1 Reply
Elroy_A_Intel
Employee
589 Views

Did you set the Cordova whitelist section on the projects tab for your specific project via the Build Settings. I recommend selecting the Cordova Whitelist and adding a * (asterisk) to the Navigation as well as Network Requests (Internal Whitelist). Rebuild and install your application on your android device to test. Also, when using the Debug tab, remember that you can open the builtin Chrome Developer Tools to view the network traffic, errors and other valuable information.

0 Kudos
Reply