Link to home
Start Free TrialLog in
Avatar of henriklundin
henriklundin

asked on

Problem configure VPN server on Server 2012 R2

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
Avatar of henriklundin
henriklundin

ASKER

hoho!
Avatar of hecgomrec
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.
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?
ASKER CERTIFIED SOLUTION
Avatar of henriklundin
henriklundin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Cause I din't get any solution from any member and that I found Another solution