Solved

SSO with Pre-Shared Key on Windows 7

Posted on 2014-01-16
12
644 Views
Last Modified: 2014-02-18
Hello, Experts!

I'm trying to configure a Single-Sign On for our users who are outside the office and need to connect to our VPN before signing into Windows.

I've been able to configure it with this guide:

http://www.windowsnetworking.com/articles-tutorials/windows-7/VPN-Single-Sign-On-Windows-7.html

However, when it tries to connect to our VPN, we get this error:
Error Description:  766: A certificate could not be found. Connections that use the L2TP protocol over IPSec require the installation of a machine certificate, also known as a computer certificate.

Because our Meraki Security Appliance ONLY uses a pre-shared key and there's no remote access server in the picture, I believe that this is a Windows limitation (Windows is trying to protect me from using pre-shared keys). I thought this Microsoft article would help:
https://support.microsoft.com/kb/240262

but it seems to discuss a remote access server which is not part of the picture.

I'm sure there are some registry tweaks needed to suppress Microsoft looking for a certificate - the question is where. Any ideas?

Thanks!
0
Comment
Question by:workforceinsight
12 Comments
 
LVL 11

Expert Comment

by:diprajbasu
ID: 39793436
here, the certificate you are asking for must be requested from Certificate authority(CA).

you need to install this certificate inside machine store of the VPN server.


the certificate should include the following details:

   1.  Common name (CN): Same as the hostname OR IP  address that is configured as VPN destination on the VPN client of your network.

   2.  Extended Key Usage (EKU):   “Server Authentication” and “IP Security IKE intermediate”.

   3.  Key Usage: Select Digital signature and Key encipherment( algorithm for performing encryption and decryption)
0
 

Author Comment

by:workforceinsight
ID: 39794058
Hello,

Thanks for commenting. Unfortunately, the VPN server is a firewall appliance that ONLY allows for a pre-shared key - no certificate.

I'm hoping to turn off Windows' need to seek out a certificate because it cannot apply to this situation.

Thanks,
0
 
LVL 45

Expert Comment

by:Craig Beck
ID: 39804596
What type of VPN is the firewall appliance configured to allow?  In your error message it looks like you're using a L2TP VPN.  That's quite uncommon.  I'd imagine you're using an IPSec VPN instead.
0
 

Author Comment

by:workforceinsight
ID: 39812570
Hello, craigbeck,

Thanks - you are correct, we're using an IPSec VPN.
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 59

Expert Comment

by:LeeTutor
ID: 39868343
I've requested that this question be deleted for the following reason:

The question has either no comments or not enough useful information to be called an "answer".
0
 

Author Comment

by:workforceinsight
ID: 39868282
Figured it out:

1. Run "regedit", allocate HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasMan\Parameters, and delete ProhibitIpSec key.
2. Restart Windows, and try to connect VPN again.
0
 

Accepted Solution

by:
workforceinsight earned 0 total points
ID: 39868283
1. Run "regedit", allocate HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasMan\Parameters, and delete ProhibitIpSec key.
2. Restart Windows, and try to connect VPN again.
0
 

Author Comment

by:workforceinsight
ID: 39868640
I've requested that this question be closed as follows:

Accepted answer: 0 points for workforceinsight's comment #a39868283

for the following reason:

Registry fix is the solution
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

910 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now