Koozali.org: home of the SME Server

Certificate error from local LAN on server-manager [SOLVED]

Offline etmrugl

  • *
  • 12
  • +0/-0
Certificate error from local LAN on server-manager [SOLVED]
« on: February 07, 2009, 10:10:13 PM »
when I try to access the server-manager through:
https://localserver/server-manager
Internet Explorer 7 complains about a Certificate error, to be more specific "Mismatched Address" , The security certificate presented by this website was issued for a different website's address.

When I view the certificate it is issued for localserver.mydomain.net. If I go to the server-manager by typing https://localserver.mydomain.net/server-manager IE says: cannot display the webpage.

I have the same issue with https://www.mydomain.net/webmail if I access it from my local LAN.

Does anyone has a clue how to solve this? I searched all day, but with no luck. Running SME Server 7.4

BR, Ruud

« Last Edit: February 08, 2009, 11:35:23 AM by etmrugl »
...

Offline Craig Cabrey

  • ****
  • 79
  • +0/-0
Re: Certificate error from local LAN on server-manager
« Reply #1 on: February 07, 2009, 11:05:04 PM »
Does the DNS server properly resolve 'localserver.mydomain.net'? In other words, does that address resolve to the correct IP or not at all?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Certificate error from local LAN on server-manager
« Reply #2 on: February 07, 2009, 11:14:52 PM »
Does anyone has a clue how to solve this? I searched all day, but with no luck. Running SME Server 7.4
Most likley because SME Server uses a so-called self-signed certificate, which is not signed by any major trusted party build in in your OS. Is there no option to accept the certificate or pass this, I am unfamiliar with latest IE's, but I believe older ones, as well as all Firefox browsers have a option to still accept the certificate. Most of the times the clue/link for accepting the certificate is somewhere in small print on the error page.

If you accepted this in the past it might be that the certificate changed and you will need to delete the trust with the old one and accept the new one.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline etmrugl

  • *
  • 12
  • +0/-0
Re: Certificate error from local LAN on server-manager
« Reply #3 on: February 07, 2009, 11:28:53 PM »
DNS:

nslookup localserver will resolve to the correct internal IP address
nslookup localserver.mydomain.net : can't find / Non-existant domain.
« Last Edit: February 08, 2009, 11:09:50 AM by etmrugl »
...

Offline etmrugl

  • *
  • 12
  • +0/-0
Re: Certificate error from local LAN on server-manager
« Reply #4 on: February 07, 2009, 11:33:33 PM »
Hi Cactus,

the issue is not about accepting certificates, but about mismatched addresses. In my webbrowser I point to https://localserver/server-manager and the certificate says localserver.mydomain.net. IE does not accept that.
...

Offline etmrugl

  • *
  • 12
  • +0/-0
Re: Certificate error from local LAN on server-manager
« Reply #5 on: February 08, 2009, 12:35:31 AM »
If I set the CommonName to 'localserver' the server-manager from within the local LAN will work without certificate error, but then the webmail from the outsite will NOT work without ceritificate error.
So it seems that there should be 2 directions for a solution:

1. use internally 'localhost.mydomain.net/server-manager'
(which currently doesn't work on my server)

2. use a certificate that both serves 'localhost' and 'www.mydomain.net'
(and I don't how to get that working)
does anyone has an idea?
...

Offline p-jones

  • *
  • 594
  • +0/-0
Re: Certificate error from local LAN on server-manager
« Reply #6 on: February 08, 2009, 10:55:02 AM »
Etmrugl

I am not sure if I am understanding your problem.

Have you tried to flush your DNS cache on your workstation ? (ipconfig /flushdns) or by doing a repair on the network connection then repeating your eforts ?
...

Offline etmrugl

  • *
  • 12
  • +0/-0
Re: Certificate error from local LAN on server-manager [SOLVED]
« Reply #7 on: February 08, 2009, 11:33:12 AM »
I found the problem:
On my workstation I used the ADSL-modem/router as DNS server. As soon as I started to use the sme server as preferred DNS server, everything worked fine.
...