Quick Tips

Minnesota Web Developer

A little something about everything...

Using a SSL Certificate for RDP

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 value
  • remove the spaces from the hash value
  • 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.

Extract Internet Headers from Outlook 2010+

Simple instructions for obtaining the internet headers using outlook 2010 and above.

  1. Double click the email in question, it should open in a new outlook window.
  2. Choose "File" 
  3. Choose "Properties"
  4. Select all of the content in the section at the bottom of the popup window labeled "Internet Headers".
  5. Copy and paste that into a text window to see the full header.

Can't Access Self-Signed SSL Certificate in Internet Explorer 7 8 9, Clicking "Continue to this website" redirects to "res://ieframe.dll/"

To fix this problem simply add "about:internet" to your trusted sites using the following steps

  1. Click "tools" > "Internet Options" > "Security" tab
  2. Select "Trusted Sites" then "Sites"
  3. Now enter "about:internet" then click "add"
  4. 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.

Connecting to a Windows 2012 Server VPN

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.