Solved

Detect ssl warning message

Posted on 2012-12-20
3
265 Views
Last Modified: 2012-12-31
I work for a company that ships data storage appliances with a GUI web application and several rest API services that the GUI web app talks to through SSL. Because each customer has a different domain, the SSL warning comes up in the browser. So the customer has to hit each rest API service first, click OK for the SSL warning, and only then will the entire application work. My question is if there is some way to facilitate this process where if the customer hits the front end web app first, we can detect that the warning is occurring with the rest API services and maybe bring up a separate window to allow the user to click OK for the warning.
0
Comment
Question by:opike
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 53

Expert Comment

by:Scott Fell, EE MVE
ID: 38710052
What about installing a self signed certificate.   I think the warning will only come up once.
0
 

Author Comment

by:opike
ID: 38710165
We are already using a self-signed certificate and you're correct about the warning only coming up once (unless the browser data is cleared), but that is the situation I'm trying to more elegantly handle.
0
 
LVL 33

Accepted Solution

by:
Dave Howe earned 500 total points
ID: 38710182
This is by design - its what the certs are *supposed* to do.

In order for no alert to come up, the cert must meet the following:

a) the name must be correct (i.e. what the user typed into the browser must be what the certificate contains)
b) the date range must be correct (i.e. the certificate must have a start time in the past and an end time in the future)
c) the certificate must be signed by a CA the browser trusts.

of the three, the latter is usually the hardest. Its easy for a server to self-generate and self-sign the certificate to meet a), and specifying "now until ten years from now" usually takes care of b), leaving only c) to deal with.  In a modern MS environment though, you can usually expect that there is a corporate CA available, so that means arranging for your appliance to request a certificate from such a CA rather than generating internally.  This should be part of setup - so after getting a dns name and ip, display a CSR and request it be signed, offering  - as the alternative - to import a pfx file and/or self-generate a cert.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Code Coverage and Coding Standards 2 76
Saving Web Page as PDF 9 77
Need to update SSL certificate on SBS 2011 7 72
Cannot access website or email server 4 81
Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question