1

I have a local server (Ubuntu, Nginx), which has a self-certified certificate installed. I have added the certificate to keychain access (on my Mac) as trusted, so when I load the page I get a valid certificate in chrome. Now I want to access the page via my phone (android), so I have installed the app virtual hosts and pointed the host to the server. When I access the page I get an SSL warning, is there any way to install the certificate on my device so that the cert is valid (needed for testing)?

Thanks

Dino
  • 1,445
  • 4
  • 24
  • 43
  • Possible duplicate of [How to trust self signed certificate on Android?](https://stackoverflow.com/questions/37281958/how-to-trust-self-signed-certificate-on-android) – Richard Smith Oct 04 '18 at 10:56

1 Answers1

1

Android has some specific requirements when it comes to certificates, it's been some time since I had to import a certificate in an Android device, however make sure that its flagged as a root CA certificate.

The information here can help you with the details of it.

This document has the steps to import a certificate in the device.

Filipe dos Santos
  • 287
  • 1
  • 5
  • 13
  • Thank you the cert wasn't flagged, so doing that and reinstalling the cert rectified the problem. – Dino Oct 05 '18 at 00:15