Download Certificates for LDAPS the Easy Way

I’m working on a project where I had to create several LDAPS connection to different domains. To configure these I needed the certificate trust chain on the appliances. And of course I wanted the certificates now and not next week, while waiting for somebody to deliver them to me. So I started to search for an easy way. With the help of OpenSSL it’s possible to connect and download the certificates. Use the following command: cmd:> openssl s_client -connect ldapserver.domainexample.name:636 The server certificate code can be copied to a .cer file to be user where ever you need it. Tweet

Checking SSL/TLS encrypted IMAP connections

I needed to check an SSL encrypted IMAP connection because a customer wasn’t convinced it was working. I already used Outlook to test the connection, but I needed a telnet like test to show the problem was with the application. Telnet works with SMTP, but for an SSL encrypted IMAP connection I needed the OpenSSL client. These are the steps: Download and install the latest version of openssl: http://slproweb.com/products/Win32OpenSSL.html Start CMD and change the directory to: cd OpenSSL-Win32\bin #Start the client IMAP Session openssl s_client -connect hostname:993 #Login in account mailbox ? LOGIN ACCOUNT PASSWORD #or with a Mailbox Alias ? LOGIN DOMAIN/ACCOUNT/ALIAS PASSWORD #Get folder list "FOLDER" "FILTER" ? LIST "" "*" #Examine Inbox (or ...

Windows 10 Upgrade Tool and Installed Language Pack problem.

I have upgraded 4 computers by now to Windows 10 (clean and full) and noticed an annoying bug (or feature if you like) when additional language packs are installed on your Windows 8.1 Pro OS. In my case I have 3 languages installed, English (base OS language), Dutch and Italian. When I tried to do a full upgrade on my wife’s laptop I ran into the situation that the Windows 10 upgrade tool wanted to install a Dutch version of Windows 10 and doing so actually disabled the full upgrade possibility. I had a similar problem on my Surface Pro 3. Although I wanted to do a clean upgrade, the tool switched to a ...

Create a Vyos Router VM in Hyper-V for Labs 13

UPDATE 2016-12-28: Updated for latest Vyos 1.1.7 and again a view little script tweaks. I play a lot with VMs and I wanted a small virtual router to allow internet access for my Labs. After some searching I found Vyos and created  a few scripts to automate the router installation. The result will be a router only consuming 256MB and offering DNS, DHCP and NAT to 5 different subnets. If you want you can extend or change the subnets as much as you want. These are the steps I followed: Download Vyos: http://packages.vyos.net/iso/release/1.1.7/vyos-1.1.7-amd64.iso and put it in D:\ISO. If you put ISO somewhere else, change the location in the script. Open Powershell ISE as Administrator and ...

Check your SSL strength and do a Heartbleed check.

Some of my clients became very nervous when they read the news about the OpenSSL Heartbleed bug. As a Microsofty I had to explain this is a typical Linux disease, but a quick extra check never hurts. So I went looking for a serious SSL checker and found Qualys SSL Server Test, an impressive thorough test site. And as expected, my client’s systems are not vulnerable for this new terrifying threat. Tweet

Solution – Windows 8.1 Hyper-V Did Not Find Virtual Machines to Import 1

I wanted to import some exported Virtual Machines I used for a lab environment but after upgrading to Windows 8.1, importing was not possible anymore. Hyper-V gave the error message “Hyper-V Did Not Find Virtual Machines to Import from location”. I will not explain the why of this error, but only give a solution to convert these files, so Windows 8.1 Hyper-V is able to import the Virtual Machines again. Follow the next steps: Create a Virtual Machine (VM) based on Windows 2012 (Not Windows 2012 R2!). You can download the evaluation here. Make sure you give this VM at least as much CPU’s and Memory as the VM you want to fix for ...