Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've had an SSL certificate installed for my Tomcat web application for the past year, running just fine. As the certificate is expiring, I needed to replace it. I went through the usual channels, generated a new CRT, and got a replacement certificate from GoDaddy (the certificate provider).

I then created a new keystore using my certificate and the root, cross, and intermediate certs provided by GoDaddy. I noted that when the keystore was complete, 3 of the 4 entries were identical to the existing, working keystore on the live site (although the listing order of the cross and intermed certs were reversed; does that matter?). The one entry that was different was my own, new certificate--which makes sense. This was all very encouraging.

Nonetheless, when I installed the new keystore on my webapp's site, I got an Untrusted Certificate Warning from the browser when I tried to access my site. When I called GoDaddy tech support about this, the rep said that it's because I have two outstanding certificates on the same site and that the warning will go away when the old one expires next week. I am highly dubious of this theory, and if it's incorrect, then I will be left the morning of without a properly functioning cert and no ideas on how to fix it.

What could be the real reason behind the Untrusted Cert warning?

share|improve this question

migrated from Jul 18 '10 at 1:51

This question came from our site for professional and enthusiast programmers.

up vote 0 down vote accepted

The problem ended up being that I when I entered the domain name for the Distinguished Name information while generating the key, I used an asterisk, e.g.: *, thinking this would cover me for,, etc. However, the asterisk is only appropriate for "wildcard" certificates, which I apparently don't have.

So I regenerated the key using just "", and it worked just fine. And for some reason it still works for both "" and "".

Incidentally, this site was very helpful to me in diagnosing this problem:

share|improve this answer
The reason it works is that most likely you have Subject Alternate Name extension on the certificate that lists both and A lot of CAs do this when issuing certificates. – Nasko Jul 23 '10 at 16:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.