Making SSL work on a legacy devices

Question:

SSL Certificate is not recognized as valid on legacy devices (Android 4X, Old IOS). How to fix?

Answer:

That is possible for Comodo Certificates.
The main thing you should know is that you will need to make some changes to a certificates chain.
On an example of Apache 2.4.9 please follow a guide on how to set up SSL.
After everything has been done and your website resolves as HTTPS correctly, do the following:
1. Find and open your current certificate in a text editor ;
(You can check configuration to find a path to a certificate: e.g. /etc/apache2/sites-enabled/000-default.conf for Ubuntu includes path for certificate and string 'SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem' shows certificate location itself. From system to system paths may vary.)

2. Open your site certificate in a text editor.
Add there two blocks including root and specific intermediate chain below site certificate ;
For example if certificate initially included:

-----BEGIN CERTIFICATE-----
MIIFtDCCBJygAwIBAgIQE553nZKKeoPq1kf6iN7auDANBgkqhkiG9w0BAQsFADCB
jzELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G
A1UEBxMHU2FsZm9yZDEYMBYGA1UEChMPU2VjdGlnbyBMaW1pdGVkMTcwNQYDVQQD
Ey5TZWN0aWdvIFJTQSBEb21haW4gVmFsaWRhdGlvbiBTZWN1cmUgU2VydmVyIENB
MB4XDTIwMDQyMDAwMDAwMFoXDTIxMDQyMTIzNTk1OVowFTETMBEGA1UEAxMKaG9z
dGVkLmZ1bjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALIvIh7pLEwG
lC84+wuzemtOi5zWYpXg2gLIp+Hr6vWofuYzbxKhHQLlsUuHJ3mMRQhRcGWTmI1v
C2qocDRTpy804yPpz+nrVhhevZniW9MPg1maQgPOcdbUINzWdUT6WZEFg9DVrOj/
NQRFXcducjtWHwE3dMy7ws4JreoI8epNARmrWFTHshWxO3cL4b0LLRbOG16B6s09
BfDv5NF2Wm4EHv98mgWHwePQqdQ3XZ/kWLkcV3oCeK3t+J8s8PztSKdeEG/hbL5i
yeljU/sfVm+1TFYPRdcyeu30eV4otEWHOeipfPUxI4Q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website certificate, Red = root, Blue = special AAA intermediate certificate.

Check configuration:

apachectl -t

Reboot apache:

sudo service apache2 reload

Changes reflects immidiatelly, your SSL Certificate will be shown as trusted and valid in both modern and legacy browsers.

Before (Android 4.4) After (Android 4.4)
mceclip1.png mceclip3.png



Was this article helpful?
0 out of 0 found this helpful