Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8011677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:05:25+00:00 2026-06-04T19:05:25+00:00

I am trying to access my web application protected by SSL from an Android

  • 0

I am trying to access my web application protected by SSL from an Android 2.3.4 using the built-in browser.

The server certificate is a self-signed certificate I created using MAKECERT and installed on the server.
When I try to access the page, I get an error message from the browser stating The name of the site does not match name on the certificate.

I have verified and the server address is exactly maching the Common Name of my certificate (it is actually just an IP address).

The message does not pop up when I try to access, on the Android device, other websites secured with not self signed certificates.

If I access the same page using IE or Chrome on a desktop – apart for the signing authority message – I get no warnings and, once I have installed the certificate in the Trusted Root CA, the certificate is smoothly accepted by the browser.

Should I take it that the message is actually a rejection of self signed certificate by Android?

I am a bit puzzled at this.

I tried to install the certificate in the Credential Storage but that does not improve the situation. and now I have no clue what I might try next.

Questions are: Is there any particular thing I should follow creating a self-signed certificate acceptable for Android? has anyone managed to get the self-signed certs accepted by Android without this warning?

What else could I try?

-UPDATE-
Bruno’s reply steered me in the right direction, so I managed to do one step forward: I remade the certificate adding SAN (had to abandon MAKECERT for OpenSSL, following there instructions from Andy Arismendi).

Now the message has gone but I am blocked in the ‘certification autority not trusted’ issue already discussed in this SO post, so I am still working to find a final solution to my issue – not having any warning popping up on the Android browser.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T19:05:27+00:00Added an answer on June 4, 2026 at 7:05 pm

    I have verified and the server address is exactly maching the Common
    Name of my certificate (it is actually just an IP address).

    Android’s host name verifier is more strictly compliant with RFC 2818 than some browsers. According to the specification, if an IP address is used, it must be in a Subject Alternative Name entry of IP address type: not on a SAN entry of DNS type or in the CN:

    If a subjectAltName extension of type dNSName is present, that MUST be used as the identity. Otherwise, the (most specific) Common
    Name field in the Subject field of the certificate MUST be used.
    Although the use of the Common Name is existing practice, it is
    deprecated and Certification Authorities are encouraged to use the
    dNSName instead.

    […]

    In some cases, the URI is specified as an IP address rather than a hostname. In this case, the iPAddress subjectAltName must be present
    in the certificate and must exactly match the IP in the URI.

    The easiest would be to use a host name. (Using IP addresses in certificates is never really practical.) Alternatively, generate a certificate with a SAN IP address entry. (You may be interested in this.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to access an HTTPS based web service URL from a web/ear application
I am trying to access Folder from Document Library using web services in C#.
How protect resouces from outside access in the Web application using jsp - spring
I have a web application that is trying to access images from a shared
I am basically trying to access the network share resources from my Web Application
I am trying to access stored procedures from my ASP.NET / C# web-application. Is
I'm trying to access the Application State from a utility class in the web
I am trying to write server side for my web application using Node.js. The
Trying to figure out how to programmatically access the web pages in the application.
I am trying to access a restful web service using jQuery Ajax but getting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.