Create and install a certificate using IIS or import a pfx file, the cert can be SHA256 or whatever you want.
Open your Cert Manager,
- Run/open "MMC"
- File, Add/Remove Snap-in, Certificates, OK
- Expand the folder with your cert (generally Personal, Certificates)
- Right Click the Certificate, Open
- Details tab, near the bottom choose thumbprint and select the HASH VALUE
- remove the spaces from the HASHVALUE
- open a Command Prompt with elevated privileges
- run the following command using your SSL cert's thumbprint hash value in place of "HASHVALUE" remove the quotes.
- wmic /namespace:\\root\cimv2\TerminalServices PATH Win32_TSGeneralSetting Set SSLCertificateSHA1Hash="HASHVALUE"
- It should say "Updating property(s) of ...
- then it should say .. update successful
That's it, you're done.
Simple instructions for obtaining the internet headers using outlook 2010 and above.
Double click the email in question, it should open in a new outlook window.
- Choose "File"
- Choose "Properties"
- Select all of the content in the section at the bottom of the popup window labeled "Internet Headers".
- Copy and paste that into a text window to see the full header.
To fix this problem simply add "about:internet" to your trusted sites using the following steps
- Click "tools" > "Internet Options" > "Security" tab
- Select "Trusted Sites" then "Sites"
- Now enter "about:internet" then click "add"
- click "close" then "OK"
Finished, you should now be able to access that peskly self signed SSL certificate.
Be careful, this can open you to potential fake site exploits.
How to connect to a windows server 2012 VPN server instance, step by step:
- Open Network and sharing center
- Select "Set up a new connection or network" > "Connect to a workplace" > Next > "Use my internet connection"
- Enter the IP address or FQDN of the server you will be connecting to as well as any description you would like to give it then select don't connect now just set it up so I can connect later.
- After you've setup the connection select change adapter settings from the network and sharing center.
- Right click your new connection >Properties
- Under PPP settings you may want to enable software compression for better performance (may cause issues in certain configurations)
- Under Security
- Select the type of VPN, generally PPTP or L2TP if you have a certificate setup.
- Data encryption can be changed to maximum in most cases
- Verify that only MS-Chap v2 is checked.
- (Optional) If you would like to continue to use your internet access but have remote access to the VPN server for files, RDP, Programs, etc... you can uncheck under networking > IPv4(or IPV6 in some cases) > properties > Advanced > "use default gateway on remote network". Unchecking this will force your local PC to use your local internet access as a gateway.
Using powershell you can do the following commands:
Add-VMNetworkAdapterAcl -VMName $vmName -LocalIPAddress $vmIP -Direction Both -Action Allow
Add-VMNetworkAdapterAcl -VMName $vmName -LocalIPAddress Any -Direction Both -Action Deny
Read the full TechNet guide here: