Jump to content


Photo

Certificate Error


  • Please log in to reply
18 replies to this topic

#1 whsvet

whsvet

    HSS Member

  • Members
  • 30 posts
  • LocationNC

Posted 15 September 2010 - 04:49 PM

Guys,
I had this (somewhat minor) issue with WHS v1 and now with Vail. When I try to connect to the Console (v1) or Dashboard (v2) through my Remote Web Access webpages, I receive the certificate warning, stating "This certificate is not from a trusted certifying authority." I have tried the "Install Certificate" options, but continue to receive the error. It is no problem to click through, and I know I can allow it to be ignored, but I just dislike error messages! It seems rather inelegant. Is there a way to fix this? I hope this topic has not been discussed previously; I searched the forums and did not find it. Thanks in advance for any advice.
Current homebuild: Dell PowerEdge 1600SC from dumpster at work,
2.8GHz Xeon processor, 2.5 GB ECC Ram, 660Gb storage.
Looking at Core i3-based new build for Vail!

#2 kermi

kermi

    HSS Pro

  • Members
  • 196 posts
  • LocationTampere, Finland

Posted 16 September 2010 - 10:49 AM

Guys,
I had this (somewhat minor) issue with WHS v1 and now with Vail. When I try to connect to the Console (v1) or Dashboard (v2) through my Remote Web Access webpages, I receive the certificate warning, stating "This certificate is not from a trusted certifying authority." I have tried the "Install Certificate" options, but continue to receive the error. It is no problem to click through, and I know I can allow it to be ignored, but I just dislike error messages! It seems rather inelegant. Is there a way to fix this? I hope this topic has not been discussed previously; I searched the forums and did not find it. Thanks in advance for any advice.


Is this homebuilt server, or one of the OEM ones? It seems you are missing the root-certificate of the entity that has created the certificates of your server.

#3 jmwills

jmwills

    HSS Genius

  • Donating Member
  • 5,093 posts
  • LocationHuntsville, AL

Posted 16 September 2010 - 11:29 AM

In which store did you install the certificate? It should be in the "Trusted Roost Certificate Authorities" store.
Windows 7 Desktop - Antec 100 Case, Intel D8H67BL, OCZ 550W PSU, Intel i3-530 CPU w/16GB G-Skill DDR3 1333 RAM
Server 2012 - Fractal Arc Midi, CoolerMaster M600 PSU, ASUS P8H67V, Intel i5-2500 CPU w/32GBG-Skill DDR3 1333 RAM, 90 GIG OCZ SSD OS Drive – Roles: Hyper-V (WHS-SharePoint-DC-SQL-Exchange-WSE 2012), Print Server - Rocket RAID 2720 5x2TB
HTPC Build - Silverstone GD05 Case, ASUS P7H55-M PRO, CoolerMaster M600W PSU, Intel i3-530 CPU w/4GB G-Skill DDR3 1333 RAM. OCZ 60GB SSD Drive for the OS with a 120GB WD 2.5" Blue drive for data storage.
Travel Laptop: Dell XPSL502X 15.6"

#4 whsvet

whsvet

    HSS Member

  • Members
  • 30 posts
  • LocationNC

Posted 17 September 2010 - 11:10 AM

Both my WHS v1 and Vail boxes are home builds.

I can find a certificate that contains the name of my server located in the both "Trusted Root Certification Authorities" and "Intermediate Certification Authorities" stores.
Current homebuild: Dell PowerEdge 1600SC from dumpster at work,
2.8GHz Xeon processor, 2.5 GB ECC Ram, 660Gb storage.
Looking at Core i3-based new build for Vail!

#5 ikon

ikon

    HSS Genius

  • Donating Member
  • 8,530 posts

Posted 20 September 2010 - 07:36 AM

I have this problem too. I have 'installed' the certificate into my Trusted Root Authorities store more times than I can count, to no avail. Since these are my own boxes, I naturally just click past the warning message but 1) it's annoying and 2) with Strict Transport Security coming on, clicking past a warning won't be possible, so I would like to find a resolution.

If at first you don't succeed, do it like your mother told you.


#6 jmwills

jmwills

    HSS Genius

  • Donating Member
  • 5,093 posts
  • LocationHuntsville, AL

Posted 20 September 2010 - 06:27 PM

The only other thing that comes to mind would be an expired cert for that site. If the dates are valid then I would remove all associated with the servers and reinstall them which is done during the client connection process if I am not mistaken,
Windows 7 Desktop - Antec 100 Case, Intel D8H67BL, OCZ 550W PSU, Intel i3-530 CPU w/16GB G-Skill DDR3 1333 RAM
Server 2012 - Fractal Arc Midi, CoolerMaster M600 PSU, ASUS P8H67V, Intel i5-2500 CPU w/32GBG-Skill DDR3 1333 RAM, 90 GIG OCZ SSD OS Drive – Roles: Hyper-V (WHS-SharePoint-DC-SQL-Exchange-WSE 2012), Print Server - Rocket RAID 2720 5x2TB
HTPC Build - Silverstone GD05 Case, ASUS P7H55-M PRO, CoolerMaster M600W PSU, Intel i3-530 CPU w/4GB G-Skill DDR3 1333 RAM. OCZ 60GB SSD Drive for the OS with a 120GB WD 2.5" Blue drive for data storage.
Travel Laptop: Dell XPSL502X 15.6"

#7 whsvet

whsvet

    HSS Member

  • Members
  • 30 posts
  • LocationNC

Posted 20 September 2010 - 08:52 PM

ikon: Thanks! I was beginning to think I was the only one having this issue! I may have found a fix for this, after much trial and error, and a good amount of searching. I now have 2 of my client computers connecting without the certificate error message, but I have run into some other snags. When I get it worked out (may be a few days), I'll post the steps here for all to critique. This fix seems to have worked on a homebuilt Vail server and two Win 7 clients.
Current homebuild: Dell PowerEdge 1600SC from dumpster at work,
2.8GHz Xeon processor, 2.5 GB ECC Ram, 660Gb storage.
Looking at Core i3-based new build for Vail!

#8 ikon

ikon

    HSS Genius

  • Donating Member
  • 8,530 posts

Posted 21 September 2010 - 06:15 AM

ikon: Thanks! I was beginning to think I was the only one having this issue! I may have found a fix for this, after much trial and error, and a good amount of searching. I now have 2 of my client computers connecting without the certificate error message, but I have run into some other snags. When I get it worked out (may be a few days), I'll post the steps here for all to critique. This fix seems to have worked on a homebuilt Vail server and two Win 7 clients.


I too made some progress, even if only a little. You inspired me to get off my lard-loaded-lounger. Anyway, all I did was fix webmail access to my email server. The server uses a self-signed cert. I simply copied the cert file to my PC & double clicked on it to install it. I added it to the Root Authority. One down, around 3 more to go. :)

If at first you don't succeed, do it like your mother told you.


#9 whsvet

whsvet

    HSS Member

  • Members
  • 30 posts
  • LocationNC

Posted 21 September 2010 - 10:08 PM

Ok, guys, here is the protocol I used to install into a Win 7 client the correct certificates for logging into WHS Vail. Installing certificates using the "Install Certificate" buttons just would not work for me. It seems that such a button would do what it says it does, but, ... oh, well. Be sure to do this on a secure local network, as you will be transferring your private certificate authority certs around in the clear! I have not tried this with WHS v1 or Win XP or Vista, but I would think the protocol would be very similar.

First, log into Vail using RDP (yes, click through the certificate error message by selecting the connect anyway option). Optionally, you can use an attached keyboard/mouse/monitor to log on.

In the Start menu search box, type "MMC".

mmc.exe will appear highlighted at the top of the popup list. Tap the "enter" key. A new console will open.

Left click "File" then select "Add/Remove Snap-in...".

In the left column, select "Certificates", then click "ADD>", then select "Computer account", then "Next", make sure "Local computer: (the computer this console is running on)" is selected.

Click "Finish", then "OK". The certificates branch is now added to the Console root.

Expand "Certificates", then expand "Trusted Root Certification Authorities". Another "Certificates" folder appears under this branch. Left click this "Certificates" item.

Several CA certificates will appear in the right pane. The one you want contains the name you gave your server when you set it up originally. Mine is named "VAILSERVER810-CA". Right click this certificate, then select "All Tasks" > "Export..."

The Certificate Export Wizard opens. Click "Next".

Make sure "DER encoded binary x.509 (.cer)" is selected, then click "Next".

Now Browse to a shared location on your client computer such as "Desktop" or "Public Documents" where you can easily find the certificate when you do the import steps that follow. You could use a cd, dvd, or usb drive for this transfer if you like. In the File name: box type the same name that is already given to the cert (in my case, "VAILSERVER810-CA") and click "Save". In the next window double check the path, then click "Next", then "Finish". The happy sign should appear: "The export was successful." Click "OK", then close the console. If you want, you can save this newly-created console on the server desktop for future use (other clients, mistypes,...), or just close without saving (you can recreate it if needed).

Log out of the Vail server. On your way to the client computer, stop by the refrigerator for your beverage of choice :rolleyes:.

Now, on the Win 7 client computer, logon with administrator privileges. In the Start menu search box, type "MMC".

mmc.exe will appear highlighted at the top of the popup list. Tap the "enter" key. Click through the UAC stuff. A new console will open.

Left click "File" then select "Add/Remove Snap-in...".

In the left column, select "Certificates", then "Add>".

Select "Computer account" in the "Certificates snap-in" window, then "Next"

Make sure "Local computer: (the computer this console is running on)" is selected in the next window, then click "Finish", then "OK".

A new branch appears under the Console root, named "Certificates (Local Computer)". Expand this branch, then expand "Trusted Root Certification Authorities" as above. A file named "Certificates" appears as above. Right click this folder, then select "All Tasks" > "Import..."

The Certificate Import Wizard opens. Click "Next".

Browse to the location of the cert you exported to this computer, and select it. Click "Next".

Select "Place all certificates in the following store" Browse to and select "Trusted Root Certification Authorities" store, click "OK", then "Next".

Review the info in the window to make sure it looks correct, then select "Finish".

You should now get the happy sign: "The import was successful". Click "OK". Close the console either saving or not depending on your preferences. I did not save mine, as they can be rebuilt as needed. You should also delete the ca cert from the export/import location, as the import process leaves a copy there.

At this point, you should be able to RDP in to the Vail server from this client computer, or connect to the Dashboard locally or through Remote Web Access from this computer without encountering the trusted certificate authority error.

I used a similar protocol to load RDP certificates from my other Win 7 clients, so that I no longer get this error when I RDP into them as well. If anyone is interested, I can post those steps as well.

As I stated at the beginning, I went through some trial and error. I exported/imported certs that appeared to do nothing, so I used the Certificate Console to delete them. I did not mess up anything that I have noticed yet. Just don't delete any certs you did not import!

Let me know how this works for you.
Current homebuild: Dell PowerEdge 1600SC from dumpster at work,
2.8GHz Xeon processor, 2.5 GB ECC Ram, 660Gb storage.
Looking at Core i3-based new build for Vail!

#10 ikon

ikon

    HSS Genius

  • Donating Member
  • 8,530 posts

Posted 22 September 2010 - 06:29 AM

nice writeup. Thanks. Correct me if I'm wrong, but you're basically describing how to export a certificate from Vail and import into Win7. Out of curiosity, did you try to double-click the .CER file after copying the file to the Win7 puter, like I did for my email server's cert?

BTW, I stopped by your refrigerator but you didn't have my beverage of choice; try to keep it better stocked in the future, OK? j/k :D :rolleyes:

If at first you don't succeed, do it like your mother told you.


#11 kermi

kermi

    HSS Pro

  • Members
  • 196 posts
  • LocationTampere, Finland

Posted 22 September 2010 - 09:55 AM

*cough* blog post *cough* :D

#12 whsvet

whsvet

    HSS Member

  • Members
  • 30 posts
  • LocationNC

Posted 22 September 2010 - 12:12 PM

No, I did not try that method because I was not familiar with it. Until now, I had no experience manipulating certificates. Most of my info was gathered from sites such as Here and Here. There are probably easier ways to do this, I just could not find them.
Current homebuild: Dell PowerEdge 1600SC from dumpster at work,
2.8GHz Xeon processor, 2.5 GB ECC Ram, 660Gb storage.
Looking at Core i3-based new build for Vail!

#13 ikon

ikon

    HSS Genius

  • Donating Member
  • 8,530 posts

Posted 22 September 2010 - 02:57 PM

No, I did not try that method because I was not familiar with it. Until now, I had no experience manipulating certificates. Most of my info was gathered from sites such as Here and Here. There are probably easier ways to do this, I just could not find them.


It would be interesting to find out if it would work for you.

If at first you don't succeed, do it like your mother told you.


#14 jmwills

jmwills

    HSS Genius

  • Donating Member
  • 5,093 posts
  • LocationHuntsville, AL

Posted 22 September 2010 - 03:09 PM

If you take a look at some of the Windows Small Business Server blogs, this process is a little more streamlined in that SBS creates a package for you to install these .509 certs. The only part they leave out is to install the certs in the Trusted Root Certificates store.

I am curious, that if you look under the advanced properties of the certs you imported and are still getting the warning, what properties are checked. Basically, everything except Secure E-Mail and Client Authentication should be checked.
Windows 7 Desktop - Antec 100 Case, Intel D8H67BL, OCZ 550W PSU, Intel i3-530 CPU w/16GB G-Skill DDR3 1333 RAM
Server 2012 - Fractal Arc Midi, CoolerMaster M600 PSU, ASUS P8H67V, Intel i5-2500 CPU w/32GBG-Skill DDR3 1333 RAM, 90 GIG OCZ SSD OS Drive – Roles: Hyper-V (WHS-SharePoint-DC-SQL-Exchange-WSE 2012), Print Server - Rocket RAID 2720 5x2TB
HTPC Build - Silverstone GD05 Case, ASUS P7H55-M PRO, CoolerMaster M600W PSU, Intel i3-530 CPU w/4GB G-Skill DDR3 1333 RAM. OCZ 60GB SSD Drive for the OS with a 120GB WD 2.5" Blue drive for data storage.
Travel Laptop: Dell XPSL502X 15.6"

#15 whsvet

whsvet

    HSS Member

  • Members
  • 30 posts
  • LocationNC

Posted 22 September 2010 - 07:01 PM

The problem I found was that the automated processes did not install the correct cert. The "*server-name*-CA" cert is the one that had to be installed into the Trusted Root Certificate Authorities store. Having the "*server-name*" cert there by itself had no effect. In fact, I think it works without the "*server-name*" cert installed anywhere on the client machine.

I should have stated in the "blog post" above, that prior to the import procedure, I deleted all "*server-name*" certs from the client machine's Trusted Root Cert Authorities store that had been installed previously through other means.

This has been very confusing to me. I read enough websites to piece together this protocol that seems to work. Now maybe someone who really understands this cert stuff can explain why it works :rolleyes:
Current homebuild: Dell PowerEdge 1600SC from dumpster at work,
2.8GHz Xeon processor, 2.5 GB ECC Ram, 660Gb storage.
Looking at Core i3-based new build for Vail!

#16 timekills

timekills

    HSS Advanced

  • Donating Member
  • 615 posts
  • LocationFBTX

Posted 23 September 2010 - 12:46 AM

Great writeup; very thorough. What I find interesting is why it happens on some builds and not others. Should I believe that the home-brews that seem to have no issues with the valid certificates have done something "right" or have they not installed something and the certificate validation system is non-functioning? I.E. is no news necessarily good news?

#17 ikon

ikon

    HSS Genius

  • Donating Member
  • 8,530 posts

Posted 25 September 2010 - 11:40 AM

Frustration!

On my XP computer at work double-clicking the cert file to install it worked like a charm. As I posted earlier it allowed me to get to the email server running on my WHS without a cert prompt. Beauty!

However, it didn't work on my win7 computer at home. When I followed whsvet's thorough description I found out that the cert had never been added to the Trusted Root store at all. So, I followed the instructions and added it. It installed and now I can see it. Problem solved, right? Wrong! I still get the cert prompt. Nuts!

Oh well. Maybe 1 day I'll get it fixed.

If at first you don't succeed, do it like your mother told you.


#18 ikon

ikon

    HSS Genius

  • Donating Member
  • 8,530 posts

Posted 25 September 2010 - 08:09 PM

quick update. I found out that the double-click technique of installing a cert on win7 does add it to the Trusted Root, but not of Computer; rather, of My User. I tried adding the cert to the Trusted Root of each of the 3 options, My User, Service, & Computer, alone and in combination but none of them worked.

If at first you don't succeed, do it like your mother told you.


#19 ikon

ikon

    HSS Genius

  • Donating Member
  • 8,530 posts

Posted 10 November 2010 - 11:16 PM

I know it's been a while since this thread was updated, but today at work we discovered that the issue seems to involve different versions of IE. Again, at work, when we go to 1 intranet site using IE6 (after installing the cert) it works fine. However, if we go to the same site using IE8 it still gives the security warning page. Stay tuned....

If at first you don't succeed, do it like your mother told you.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users