Solved

Problem configure VPN server on Server 2012 R2

Posted on 2013-11-20
5
3,945 Views
Last Modified: 2013-12-01
I have a fresh installation with Server 2012 R2. It's configured with AD, DNS etc.
I have added the Remote Access role because I want to connect to it over PPTP VPN (didn't activate direct connect as I dont want that).

It's no problem to add the role, but when I'm doing the last step it's hanging as the picture show.

I have reinstalled the role several times and made restarts after each reinstall.

I have to force it to close. After that I actually can see the "RAS tree", but if I configure anything like what Ip addresses the clients should get, I can't click apply or OK. Nothing happens.

In log I found this info:

18: The Secure Socket Tunneling Protocol service either could not read the SHA256 certificate hash from the registry or the data is invalid. To be valid, the SHA256 certificate hash must be of type REG_BINARY and 32 bytes in length. SSTP might not be able to retrieve the value from the registry due to some other system failure. The detailed error message is provided below. SSTP connections will not be accepted on this server. Correct the problem and try again.

The system cannot find the file specified.

20063: Remote Access Connection Manager failed to start because the Protocol engine [IKEv2] failed to initialize. The call timed out while waiting to acquire the transaction lock.

20192: 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 L2TP calls will be accepted.

20171: Failed to apply IP Security on port VPN0-9 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.
screenshot.png
0
Comment
Question by:henriklundin
  • 4
5 Comments
 

Author Comment

by:henriklundin
ID: 39665580
hoho!
0
 
LVL 11

Expert Comment

by:hecgomrec
ID: 39666138
I hope this is not your only Server you have in your organization because you need to remove all services related with Remote Access Role and reboot your Server.

Check if all your updates are in place and restart the role installation again once you have a valid certificate for the server.

During the installation check your events and Services for any error or warnings there might be a service (Windows Internal Database)that needs to change credentials or you should give more rights to user MSSQL$MICROSOFT###WID as you might have a GPO preventing this user from starting services as a security measure.

I had this issue and as soon I as solved the GPO issue I was able to finish the installation of my RAS.
0
 

Author Comment

by:henriklundin
ID: 39666155
Thanksa lot for update. I removed all roles related to Remote Access Role and rebooted...done that several times without luck. Also updated Everything.

MSSQL$MICROSOFT###WID, isn't that only related to SQL databases? Does it really have something to do with this?
0
 

Accepted Solution

by:
henriklundin earned 0 total points
ID: 39678057
Solved the problem by configuring VPN directly in the hardware firewall
0
 

Author Closing Comment

by:henriklundin
ID: 39687893
Cause I din't get any solution from any member and that I found Another solution
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

The reason that corporations and businesses use Windows servers is because it supports custom modifications to adapt to the business and what it needs. Most individual users won’t need such powerful options. Here I’ll explain how you can enable Wind…
This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

746 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

12 Experts available now in Live!

Get 1:1 Help Now