Solved

2012 RAS Failed to apply IP Security on port.

Posted on 2013-12-24
5
2,879 Views
Last Modified: 2013-12-24
I am getting many errors in the event log similar to:

Failed to apply IP Security on port VPN0-34 because of error: 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..  No calls will be accepted to this port.

I look at the Certificate Store for the local machine and there are no certificates. Could this be the problem and how to fix it.

I have a SBS 2003 domain that I am adding 2 Win2012 DCs that will someday replace the 2003. One 2012 server has a couple of certificates in its local store. The other one doesn't and is getting the above messages. Both 2012 servers are fresh; I can remove and start over if this is a serious problem.

Thanks
0
Comment
Question by:MikeBroderick
  • 3
  • 2
5 Comments
 
LVL 36

Expert Comment

by:Mahesh
ID: 39738423
In order to run L2TP VPN connection, server and connecting client computer both should have computer certificate for mutual authentication

http://technet.microsoft.com/en-us/library/cc757207(v=ws.10).aspx

Its not serious problem. If you are using servers as windows L2TP VPN servers, then you must install Computer (Server) certificate on both servers and computer certificate on client computers, otherwise these steps are not necessary

You have to have internal CA server at least to provide certificates.

Mahesh
0
 

Author Comment

by:MikeBroderick
ID: 39738588
Thank you for your reply. I think the problem is there are no certificates in the Computer Store on the server that I am having problems with (SVR04). There are 3 certificates on the machine that works (SVR03). I followed the instructions given, adding an entry to group policy then running the command gpupdate. I still do not have certificates in the SVR04 local machine store. Do I need to specify the CA server somewhere? The TechNet article said on step 6 (adding the entry) that the CA server name should appear. It didn't.

FYI, my SBS 2003 server (SVR02) is the CA for the domain. I plan on changing that in the future.
0
 
LVL 36

Accepted Solution

by:
Mahesh earned 500 total points
ID: 39738603
Check if CA server root certificate in installed on SRV04 ?
If not export from CA server and import it on SRV04 in trusted root certificate authorities

Once you do that you should be able to request computer (server) certificate from MMC console\computer certs on SRV04

You can change CA server later on, remember don't change CA server hostname, otherwise you need to re enrol all certificates as certs will not be able to check CRL

Check below links for more info
http://blogs.technet.com/b/rrasblog/archive/2009/06/10/what-type-of-certificate-to-install-on-the-vpn-server.aspx
http://www.windowsecurity.com/articles-tutorials/authentication_and_encryption/Configuring-Windows-Server-2008-Remote-Access-SSL-VPN-Server-Part2.html

Mahesh
0
 

Author Comment

by:MikeBroderick
ID: 39738696
Yes, The CA's (SVR02) root certificate is installed. When I request a certificate I get the error "The RPC Server is unavailable"
0
 

Author Comment

by:MikeBroderick
ID: 39738702
I've decided to delete the server (its a VM) and start over. Thanks for your help
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Understanding the various editions available is vital when you decide to purchase Windows Server 2012. You need to have a basic understanding of the features and limitations in each edition in order to make a well-informed decision that best suits y…
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

773 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