A little something about everything | internet marketing and website development made simple..

A little something about everything

internet marketing and website development made simple..

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.

Installing webmin on CentOS6.3 using the CentOS-6.3-x86_64-minimal.iso image

Run the following commands:

# cat > /etc/yum.repos.d/webmin.repo << EOF
name=Webmin Distribution Neutral

Now run

# rpm --import http://www.webmin.com/jcameron-key.asc

Check for updates prior to installing webmin

# yum update

Install webmin

# yum install webmin

Now open port 10000 to access webmin, to open for all IP's for example

# iptables -I INPUT -p tcp --dport 10000 -j ACCEPT

# service iptables save

Be sure to lock down the webmin & port 10000 to spacific IP's for best security and to configure SSL as per comments below you will need to install SSL then enable it from the webmin GUI

# yum install perl-Net-SSLeay

Step by Step static network setup for CentOS 7.x on Microsoft Hyper-V Server using Linux Integration Services Version 4.0.11

Create new VHD with a standard Network Adapter

Download CentOS-7-x86_64-Minimal-1503-01.iso (insert disk & install)

Download lis4-0-11.iso (insert disk)

mkdir -p /mnt/cdrom
mount /dev/cdrom /mnt/cdrom
cp -rp /mnt/cdrom /opt/linux_ic4011
umount /mnt/cdrom
cd /opt/linux_ic4011/RHEL71

Once the install is done, reboot the VPS

Update your network settings via vi

vi /etc/sysconfig/network-scripts/ifcfg-eth0

use "i" to insert text, (esc) to exit and ":wq" to write your changes.

It should look something like this:

HWADDR=(MAC ADDRESS, This should match what is configured in Hyper-V)

If your system is still not online for static IP do this:

 ifconfig eth0 (IP) netmask (MASK) up

 service network restart