Browsed by
Category: Network

.NET CryptographicException “Keyset does not exist”

.NET CryptographicException “Keyset does not exist”

Came across this error today when updating a new certificate used in a WCF service for digital signatures. Turns out the solution, as always, was pretty simple: give correct permissions to the private key file. Open the certificate manager and locate the correct certificate. Right click and navigate to: All Tasks -> Manage Private Keys. Change the file permissions so the IIS user can read. Read more on stackoverflow.com.

Migrate from Outlook to Thunderbird

Migrate from Outlook to Thunderbird

How to use Thunderbird instead of Microsoft Outlook with all of the important features that Outlook offers (calendar, address book, …) still available to you. Prerequisites Download thunderbird 45.8.0 @ https://archive.mozilla.org/pub/thunderbird/releases/45.8.0/win32/. Select your preferred language and download the installer. Account settings Add your e-mail account to Thunderbird, this should be pretty straightforward. You can edit the details manually if you have troubles. For the University you can add: imap: mail.uantwerpen.be 993 SSL/TLS with normal password smtp: smtp.uantwerpen.be 25 no encryption…

Read More Read More

Boinc on Arch Linux

Boinc on Arch Linux

I’ve already talked about how to install Boinc on Linux Mint, today I wanted to try and get it running on an Arch installation. I’m opting for a headless install and using boinc view to configure the server remotely. A good place to start is the Arch Linux wiki article and my previous post. pacman -S boinc-nox usermod -a -G boinc $(whoami) systemctl start boinc.service Open the “/var/lib/boinc/gui_rpc_auth.cfg” file and make note of the generated password. vim /var/lib/boinc/gui_rpc_auth.cfg Now we need…

Read More Read More

PuTTY known_hosts

PuTTY known_hosts

Where does putty store it’s known_hosts? I asked myself this question today after battling a git extensions bug where you can’t type in the console window and as a result can’t add the host to the known hosts. The answer: HKEY_CURRENT_USER\SoftWare\SimonTatham\PuTTY\SshHostKeys To manually add hosts, use plink. plink.exe yourservername Hope it helps you.

Allow linux users to login using ldap

Allow linux users to login using ldap

To enable LDAP authentication, we need to install the nslcd package. When configured properly this will allow us to add users and have them authenticate via LDAP. Local users will still be able to login using a local password, think of it as a fall through mechanism. apt-get install nslcd The installer will ask you some questions. LDAP URL: usually something like ldap://mycompany.com LDAP root to search in: usually something like: DC=mycompany,DC=com, but you could put a specific container/group if…

Read More Read More

Dell DRAC SSL Error when using console

Dell DRAC SSL Error when using console

When using DRAC to connect to the console you get the following error. Error when reading from SSL socket connection This error also appears after every java update. How to fix this? Navigate to the following directories (your JRE version can be different): C:\Program Files\Java\jre1.8.0_111\lib\security\java.security C:\Program Files (x86)\Java\jre1.8.0_111\lib\security\java.security Open the 2 files and comment out these lines (use # in front of the line): jdk.certpath.disabledAlgorithms=MD2, MD5, RSA keySize < 1024 jdk.tls.disabledAlgorithms=SSLv3, RC4, MD5withRSA, DH keySize < 768 Also make sure the…

Read More Read More

OpenSSL create certificate request

OpenSSL create certificate request

Execute this command from a terminal/command window to generate a new private key and a new certificate signing request (csr). openssl req -new -newkey rsa:4096 -nodes -keyout yourdomain.key -out yourdomain.csr -sha256 It will ask you some questions Country Name (2 letter code) [AU]:BE State or Province Name (full name) [Some-State]: Antwerpen Locality Name (eg, city) []: Antwerpen Organization Name (eg, company) [Internet Widgits Pty Ltd]: My Company Name Organizational Unit Name (eg, section) []: Department X Common Name (e.g. server…

Read More Read More

Access older SMB shares on windows 10 and windows 8

Access older SMB shares on windows 10 and windows 8

Open a new powershell window as administrator and execute the following commands: Set-SmbClientConfiguration -RequireSecuritySignature 1 Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" RequireSecureNegotiate -Value 0 -Force You’ll now be able to connect to older SMB shares.

Use reflector to update and order your mirrorlist

Use reflector to update and order your mirrorlist

I came across a neat little program that ranks your pacman mirrorlist by speed and also updates it with the most recent version. Install: sudo pacman -S reflector Usage example: sudo reflector –sort rate –save /etc/pacman.d/mirrorlist -c “Belgium” -c “Netherlands” -c “France” -c “Germany” -f 5 -l 5 -p https This will update my mirrorlist and rank by speed/rate for the countries Belgium, The Netherlands, France and Germany.